[Trac] [trac] empty Browse Source
Hi, I'm sorry but I do not speak English very well! I have successfully installed Trac and can manage multiple projects without problems. I create a project with: trac-admin /path/projectname initenv and svn repository with: svnadmin create /path/projectname/svn The new project does not present problems for the management of milestones or tickets but browse source is empty. What's wrong? " What should I do browse source to operate? All the examples in the guide shows a list of files and folders, but I have only an empty table and "root" as main directory. Why? Thanks in advance for the help! Tommaso -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-us...@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] [trac] empty Browse Source
If you have a clean svn repository you have no files, so there are no files to browse? Cheers / Erik On Fri, May 28, 2010 at 10:53 AM, Tommaso wrote: > Hi, > > I'm sorry but I do not speak English very well! > I have successfully installed Trac and can manage multiple projects without > problems. > I create a project with: > trac-admin /path/projectname initenv > and svn repository with: > svnadmin create /path/projectname/svn > > The new project does not present problems for the management of milestones > or > tickets but browse source is empty. > > What's wrong? " What should I do browse source to operate? > > All the examples in the guide shows a list of files and folders, but I have > only > an empty table and "root" as main directory. Why? > > Thanks in advance for the help! > > Tommaso > > -- > You received this message because you are subscribed to the Google Groups > "Trac Users" group. > To post to this group, send email to trac-us...@googlegroups.com. > To unsubscribe from this group, send email to > trac-users+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/trac-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-us...@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
RE: [Trac] [trac] empty Browse Source
> I'm sorry but I do not speak English very well! > Seems good to me! > I have successfully installed Trac and can manage multiple > projects without problems. > I create a project with: > trac-admin /path/projectname initenv > and svn repository with: > svnadmin create /path/projectname/svn > ...I would recommend that you keep the svn and trac trees separate. At the moment you are embedding the svn files in the same directory, that makes me feel uncomfortable. > trac-admin /path/projectname/trac initenv > svnadmin create /path/projectname/svn ...would be better. However, I don't know that that is your problem. > The new project does not present problems for the management > of milestones or tickets but browse source is empty. > > What's wrong? " What should I do browse source to operate? > You do not say how you access your setup but if you are using apache I would guess that you are having issues with apache passing paths to the wrong provider? Although from within Trac that shouldn't be a problem? Perhaps you can provide more information about your configuration... > All the examples in the guide shows a list of files and > folders, but I have only an empty table and "root" as main > directory. Why? > > Thanks in advance for the help! > > Tommaso ~ mark c -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-us...@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
[Trac] Re: [trac] empty Browse Source
>If you have a clean svn repository you have no files, so there are no files to >browse? In my svn repository there are only directories and files created by svnadmin I have not imported any files in the repository; what is needed to insert source files in browse source? -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-us...@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
[Trac] Re: [trac] empty Browse Source
>...I would recommend that you keep the svn and trac trees separate. At >the moment you are embedding the svn files in the same directory, that >makes me feel uncomfortable. in some projects directories are separate, but the table still remains empty. >You do not say how you access your setup but if you are using apache I >would guess that you are having issues with apache passing paths to the >wrong provider? Although from within Trac that shouldn't be a problem? > >Perhaps you can provide more information about your configuration... In the creation of projects I use sqlite (default option), but I also tried to install and configure libapache2-svn without results -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-us...@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
[Trac] IntegrityError: columns ticket, name are not unique
When creating a ticket I get this: "Trac detected an internal error: IntegrityError: columns ticket, name are not unique" Any ideas on how to get started on fixing things? Here is the info on the error page: This is probably a local installation issue. Found a bug in Trac? If you think this should work and you can reproduce the problem, you should consider reporting this to the Trac team. Before you do that, though, please first try searching for similar issues, as it is quite likely that this problem has been reported before. For questions about installation and configuration of Trac, please try the mailing list instead of filing a ticket. Otherwise, please How to Reproduce While doing a POST operation on `/newticket`, Trac issued an internal error. ''(please provide additional details here)'' Request parameters: {{{ {'__FORM_TOKEN': u'30efe215075a40c4d9706f2e', 'field_blockedby': u'', 'field_blocking': u'', 'field_cc': u'', 'field_component': u'All', 'field_description': u'', 'field_estimatedhours': u'0', 'field_keywords': u'', 'field_milestone': u'Sprint 1: Studybeat 2010 Summer', 'field_owner': u'chris', 'field_priority': u'major', 'field_reporter': u'steve', 'field_summary': u'Track Embed / GA Funnel', 'field_totalhours': u'0', 'field_type': u'defect', 'submit': u'Create ticket'} }}} User Agent was: `Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3` System Information || '''Trac''' || `0.11.7` || || '''Python''' || `2.5.2 (r252:60911, Jan 20 2010, 23:34:32) ` [[br]] `[GCC 4.3.2]` || || '''setuptools''' || `0.6c9` || || '''SQLite''' || `3.5.9` || || '''pysqlite''' || `2.3.2` || || '''Genshi''' || `0.6dev-r1064` || || '''mod_python''' || `3.3.1` || || '''Bitten''' || `0.7dev-r776` || || '''Subversion''' || `1.5.1 (r32289)` || || '''RPC''' || `1.0.6` || || '''jQuery:''' || `1.2.6` || Python Traceback {{{ Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/ Trac-0.11.7-py2.5.egg/trac/web/main.py", line 450, in _dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.5/ site-packages/Trac-0.11.7-py2.5.egg/trac/web/main.py", line 206, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/ python2.5/site-packages/Trac-0.11.7-py2.5.egg/trac/ticket/web_ui.py", line 183, in process_request return self._process_newticket_request(req) File "/usr/lib/python2.5/site- packages/Trac-0.11.7-py2.5.egg/trac/ticket/web_ui.py", line 399, in _process_newticket_request self._do_create(req, ticket) # (redirected if successful) File "/usr/lib/python2.5/site-packages/Trac-0.11.7- py2.5.egg/trac/ticket/web_ui.py", line 1000, in _do_create ticket.insert() File "/usr/lib/python2.5/site-packages/Trac-0.11.7- py2.5.egg/trac/ticket/model.py", line 205, in insert for name in custom_fields]) File "/usr/lib/python2.5/site-packages/Trac-0.11.7- py2.5.egg/trac/db/util.py", line 80, in executemany return self.cursor.executemany(sql_escape_percent(sql), args) File "/usr/lib/ python2.5/site-packages/Trac-0.11.7-py2.5.egg/trac/db/ sqlite_backend.py", line 64, in executemany args or []) File "/usr/lib/ python2.5/site-packages/Trac-0.11.7-py2.5.egg/trac/db/ sqlite_backend.py", line 51, in _rollback_on_error return function(self, *args, **kwargs) IntegrityError: columns ticket, name are not unique }}} a new ticket at the Trac project site, where you can describe the problem and explain how to reproduce it. Python Traceback Most recent call last: * File "/usr/lib/python2.5/site-packages/Trac-0.11.7-py2.5.egg/ trac/web/main.py", line 450, in _dispatch_request Code fragment: 445. try: 446. if not env and env_error: 447. raise HTTPInternalError(env_error) 448. try: 449. dispatcher = RequestDispatcher(env) 450. dispatcher.dispatch(req) 451. except RequestDone: 452. pass 453. resp = req._response or [] 454. 455. except HTTPException, e: Local variables: Name Value after [u' except RequestDone:', u' pass', u' resp = ... before[u' try:', u' if not env and env_error:', u' raise ... dispatcher e IntegrityError('columns ticket, name are not unique',) env env_error None exc_info (, IntegrityError('columns ticket, name ... filename '/usr/lib/python2.5/site-packages/Trac-0.11.7- py2.5.egg/trac/web/main.py' frames[{'function': '_dispatch_request', 'lines_before': [u' try:', u' ... has_admin True line u' dispatcher.dispatch(req)' lineno449 message u'IntegrityError: columns ticket, name are not unique' req resp [] tb tb_hide None traceback u'Traceback (most recent call last):\n File ... * File "/usr/lib/python2.5/site-packages/Trac-0.11.7-py2.5.egg/ trac/web/main.py", line 206, in dispatch Code fragment: 201. req.args.g
Re: [Trac] Re: [trac] empty Browse Source
On Fri, May 28, 2010 at 6:03 AM, Tommaso wrote: >>If you have a clean svn repository you have no files, so there are no files >>to browse? > > In my svn repository there are only directories and files created by > svnadmin How could you pull something out of the bag if it's empty ? ;o) > I have not imported any files in the repository; what is needed to > insert source files in browse source? > http://svnbook.red-bean.com/en/1.5/index.html http://svnbook.red-bean.com/en/1.5/svn.tour.importing.html http://svnbook.red-bean.com/en/1.5/svn.tour.initial.html http://svnbook.red-bean.com/en/1.5/svn.tour.cycle.html -- Regards, Olemis. Blog ES: http://simelo-es.blogspot.com/ Blog EN: http://simelo-en.blogspot.com/ Featured article: -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-us...@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] [trac] empty Browse Source
Cooke, Mark skrev 28. mai 2010 11:18: I'm sorry but I do not speak English very well! Seems good to me! I have successfully installed Trac and can manage multiple projects without problems. I create a project with: trac-admin /path/projectname initenv and svn repository with: svnadmin create /path/projectname/svn ...I would recommend that you keep the svn and trac trees separate. At the moment you are embedding the svn files in the same directory, that makes me feel uncomfortable. trac-admin /path/projectname/trac initenv svnadmin create /path/projectname/svn ...would be better. However, I don't know that that is your problem. Agreed -- and it would make more sense to set up svn first, then trac?: svnadmin create /path/projectname/svn trac-admin /path/projectname/trac initenv (...) Perhaps you can provide more information about your configuration... All the examples in the guide shows a list of files and folders, but I have only an empty table and "root" as main directory. Why? Perhaps your webserver serves files from the /svn/-directories, not trac ? I can't spot any obvious errors based on the information you've posted so far. Best regards, -- .---. Eirik Schwenke ( NSD ) Harald Hårfagresgate 29Rom 150 '---' N-5007 Bergentlf: (555) 889 13 GPG-key at pgp.mit.edu Id 0x8AA3392C -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-us...@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Re: [trac] empty Browse Source
On Fri, May 28, 2010 at 7:16 AM, Olemis Lang wrote: > On Fri, May 28, 2010 at 6:03 AM, Tommaso wrote: >>>If you have a clean svn repository you have no files, so there are no files >>>to browse? >> >> In my svn repository there are only directories and files created by >> svnadmin > > How could you pull something out of the bag if it's empty ? > ;o) > >> I have not imported any files in the repository; what is needed to >> insert source files in browse source? >> > > http://svnbook.red-bean.com/en/1.5/index.html > http://svnbook.red-bean.com/en/1.5/svn.tour.importing.html > http://svnbook.red-bean.com/en/1.5/svn.tour.initial.html > http://svnbook.red-bean.com/en/1.5/svn.tour.cycle.html > Then check that the repos is configured correctly in trac.ini ;o) -- Regards, Olemis. Blog ES: http://simelo-es.blogspot.com/ Blog EN: http://simelo-en.blogspot.com/ Featured article: Control de usuarios personalizado con Apache y mod_authnz_external - http://feedproxy.google.com/~r/simelo-es/~3/cBNqfg_xMaw/control-de-usuarios-personalizado-con.html -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-us...@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] TracGViz 1.3.4 and Trac 0.12b1
On Fri, 2010-05-21 at 08:21 -0500, Olemis Lang wrote: > On Fri, May 21, 2010 at 7:37 AM, Roger Oberholtzer > wrote: > > I have been using version TracGViz 1.3.4. After I updated to Trac > > 0.12b1, when I go to admin/general/plugin, Trac prints this error > > message. > > > > Invalid syntax or missing fields in .Syntax -> > > gviz:google:apps:@:[?tq=] > > > > The plugin works. It is only that when it is enabled, I cannot use the > > plugin admin interface at all, as this error blocks access altogether. > > > > Anyone else seen this? > > > > FWIW ... TracGViz doesn't explicitly support 0.12 yet and has net been > tested using this version . I suppose that support for that should be > added but , since TracGViz (as we know it today ;o) is meant to be > used mainly in public Internet sites (especially if gadgets retrieve > data hosted by the environment ...), and due to the fact that all > those sites should be running 0.10 or 0.11 ... well ... > > Anyway , it seems that something in TracLinks syntax has changed (BTW > , what changed ? :-/ ) but I'm not sure. Since you're browsing admin > pages, I suppose this is related to component's docs rendered in > plugins list . After a short research > > {{{ > #!sh > > $ hg clone path/to/trac-dev/gviz > destination directory: gviz > updating working directory > 48 files updated, 0 files merged, 0 files removed, 0 files unresolved > $ cd gviz/ > $ hg tags > tip 121:f22ee0feeff4 > deps_pygments 57:8abb0214b087 > r1.3.450:de94a1e06fb5 > deps_dutest 40:5bfba473ac6f > r1.3.323:6776640ceee9 > split 18:a9cb46efc1c8 > r1.3.211:453fb3c3ef6e > r1.3.1 8:03b832722e47 > r1.2.3 5:4746ee564013 > r1.2.2 1:07eb9d4fba8d > $ hg update r1.3.4 > 31 files updated, 0 files merged, 37 files removed, 0 files unresolved > $ grep -r "gviz:google:apps" trac-dev/ > trac-dev/gviz/CHANGES: > `gviz:google:apps:@:[?tq=]` > trac-dev/gviz/wiki.py: > gviz:google:apps:@:[?tq=] > trac-dev/gviz/wiki.py:"Syntax -> > gviz:google:apps:" \ > > }}} > > ... it seems problem might be located in `wiki.py` . Please try to > enclose between backquotes (like this one => ` ) *ALL SIMILAR > EXAMPLES* included in docs and try to install the plugin once again. > That would be much simpler if you built the plugin from source code > ;o) (Been away from the office a bit. Sorry for the late answer.) Where would I to this? That is, specifically which file? Include the suspected directory. After all, the same file name could exist in more than one place. But I am guessing you are only interested in certain files by that name. Is there anything else I would also need to do to perform this test? -- Roger Oberholtzer -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-us...@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] TracGViz 1.3.4 and Trac 0.12b1
On Fri, May 28, 2010 at 10:56 AM, Roger Oberholtzer wrote: > On Fri, 2010-05-21 at 08:21 -0500, Olemis Lang wrote: >> On Fri, May 21, 2010 at 7:37 AM, Roger Oberholtzer >> wrote: >> > I have been using version TracGViz 1.3.4. After I updated to Trac >> > 0.12b1, when I go to admin/general/plugin, Trac prints this error >> > message. >> > >> > Invalid syntax or missing fields in .Syntax -> >> > gviz:google:apps:@:[?tq=] >> > >> > The plugin works. It is only that when it is enabled, I cannot use the >> > plugin admin interface at all, as this error blocks access altogether. >> > >> > Anyone else seen this? >> > >> [...] >> >> $ grep -r "gviz:google:apps" trac-dev/ >> trac-dev/gviz/CHANGES: >> `gviz:google:apps:@:[?tq=]` >> trac-dev/gviz/wiki.py: >> gviz:google:apps:@:[?tq=] >> trac-dev/gviz/wiki.py: "Syntax -> >> gviz:google:apps:" \ >> >> }}} >> >> ... it seems problem might be located in `wiki.py` . Please try to >> enclose between backquotes (like this one => ` ) *ALL SIMILAR >> EXAMPLES* included in docs and try to install the plugin once again. >> That would be much simpler if you built the plugin from source code >> ;o) > > (Been away from the office a bit. Sorry for the late answer.) > > Where would I to this? That is, specifically which file? Include the > suspected directory. After all, the same file name could exist in more > than one place. But I am guessing you are only interested in certain > files by that name. Is there anything else I would also need to do to > perform this test? > I suggest you to check all files named `wiki.py` and enclose between backquotes (i.e. like this one ` ) any text (in components docs) separated by colons (i.e. like this one : ) . That should be the only way to be absolutely sure ;o) . PS: If TracGViz 1.4.1 ever sees the light , I hope this will be fixed ... -- Regards, Olemis. Blog ES: http://simelo-es.blogspot.com/ Blog EN: http://simelo-en.blogspot.com/ Featured article: TracMac: `mainnav` is ready (only the apple is missing ;o). - http://simelo.hg.sourceforge.net/hgweb/simelo/trac-macos/rev/52f72c39f29e -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-us...@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.