[Trac] Tutorial on customizing the new ticket form
Could someone point me to a simple (perhaps even step-by-step) tutorial or help page explaining exactly how to add static content to the wiki edit / new ticket / ticket edit forms? I read through the following page, and found it inadequate (and a bit confusing on exactly where that example snippet is supposed to go). http://trac.edgewall.org/wiki/TracInterfaceCustomization I also skimmed through the Genshi tutorial, but it seemed way more complex than what I want to do. I have never used a templating system before (except through MS Word), though I understand the philosophy behind it. I'm using Trac as an issue tracker for the undergraduate curriculum written by the Physics Education Research Group at the University of Washington, and would like to have clear instructions on the naming conventions for tickets and wiki pages we are establishing. Thanks for any help or pointers you can share. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] NameError: global name 'sqlite' is not defined
Hi,all I have this proplem when initating an environment by following command: -bash-3.2$ sudo trac-admin /home/trac2 initenv The error messages: Creating and Initializing Project Failed to create environment. global name 'sqlite' is not defined Traceback (most recent call last): File /home/usr_local/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/admi n/console.py, line 542, in do_initenv options=options) File /home/usr_local/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/env. py, line 187, in __init__ self.create(options) File /home/usr_local/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/env. py, line 304, in create DatabaseManager(self).init_db() File /home/usr_local/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/db/a pi.py, line 70, in init_db connector.init_db(**args) File /home/usr_local/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/db/s qlite_backend.py, line 135, in init_db cnx = sqlite.connect(path, timeout=int(params.get('timeout', 1))) NameError: global name 'sqlite' is not defined My OS is FreeBSD-6.2 Python 2.5.1 Trac-0.11b2 And I have all other requested components installed. How do I solve it? Thank you very much! --- Mr.Li Xuejiang --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: i18n internationalization
On Thu, Apr 17, 2008 at 10:24 PM, Jeroen Ruigrok van der Werven [EMAIL PROTECTED] wrote: -On [20080417 16:16], Zoom.Quiet ([EMAIL PROTECTED]) wrote: my team is trying make 0.11zh, The tree in the sandbox/i18n already contains simplified Chinese support. We have noticed that simplified Chinese support in the i18n branch lack of lots of translations in the zh_CN/LC_MESSAGES/messages.po. And it should be keep up to date while trac is moving forward. Our team is willing to implement the fully translation, including the in18n po file, all template files and all default wiki pages. but already found, we had to hacking some to realy make I18N mod. can running. And what kind of hacking are you talking about? Yes, I am aware some support in Genshi is still missing for fixing the broken up messages part, but other than that a lot should be present. So I am curious. Can you give us some tips about how to translate those template files? We checked the translations in the po(and mo) file, it seems that only the strings in some type of tags(such as title) can be i18n. But we need all string in the template files are translated. e.g. trac/prefs/templates/prefs_general.html:15 msgid Full name: Event this message is tranlsated in the mo file, it can not be displayed properly in the browser. Any suggestion? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: NameError: global name 'sqlite' is not defined
cnx = sqlite.connect(path, timeout=int(params.get('timeout', 1))) NameError: global name 'sqlite' is not defined My OS is FreeBSD-6.2 Python 2.5.1 Trac-0.11b2 And I have all other requested components installed. Which version of pysqlite have you installed ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: i18n internationalization
On Fri, Apr 18, 2008 at 4:03 PM, Richard Liao [EMAIL PROTECTED] wrote: On Thu, Apr 17, 2008 at 10:24 PM, Jeroen Ruigrok van der Werven [EMAIL PROTECTED] wrote: -On [20080417 16:16], Zoom.Quiet ([EMAIL PROTECTED]) wrote: my team is trying make 0.11zh, The tree in the sandbox/i18n already contains simplified Chinese support. We have noticed that simplified Chinese support in the i18n branch lack of lots of translations in the zh_CN/LC_MESSAGES/messages.po. And it should be keep up to date while trac is moving forward. Our team is willing to implement the fully translation, including the in18n po file, all template files and all default wiki pages. but already found, we had to hacking some to realy make I18N mod. can running. And what kind of hacking are you talking about? Yes, I am aware some support in Genshi is still missing for fixing the broken up messages part, but other than that a lot should be present. So I am curious. Can you give us some tips about how to translate those template files? We checked the translations in the po(and mo) file, it seems that only the strings in some type of tags(such as title) can be i18n. But we need all string in the template files are translated. e.g. trac/prefs/templates/prefs_general.html:15 msgid Full name: Event this message is tranlsated in the mo file, it can not be displayed properly in the browser. Any suggestion? We have created a wiki page: http://trac-hacks.org/wiki/TracSandboxI18nChinese Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] trac-post-commit-hook - on windows
Gedday all, I am setting up a subversion + apache + trac (0.11b2) + build server and I am having problems getting the subversion - trac intergration working properly (or even at all). Firstly my scripts. post-commit.cmd SET REPOS-PATH=%1 SET REV=%2 SET TEMP=%USERPROFILE%\Local Settings\Temp SET TMP=%USERPROFILE%\Local Settings\Temp SET ComSpec=%SystemRoot%\system32\cmd.exe SET Path=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;D:\IN STALLS\SVN\svn-win32-1.4.6\bin;D:\INSTALLS\PYTHON\2.5 SET PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH SET windir=%SystemRoot% D:\DATABASES\SUBVERSION\REPOS\test-repo\hooks\trac-post-commit-hook.cmd %REPOS-PATH% %REV% trac-post-commit-hook.cmd SET TRAC_ENV=D:\DATABASES\TRAC-DB\test-repo SET REV=%2 D:\INSTALLS\PYTHON\2.5\Python.exe D:\DATABASES\SUBVERSION\REPOS\scripts\trac-post-commit-hook.py -p %TRAC_ENV% -r %REV% As you can see the subversion post-commit hook just sets up the environment and invokes the trac hook script. I wasn't completely sure what environmental things needed to be setup however I knew that subversion gives us a 'clean' environment for hook scripts so as you can see I basically setup everything I could find. These scripts work fine in testing (when I simply invoke post-commit.cmd passing in required variables) - however when I try to run the scripts from the 'hook enviroment' subversion produces I don't have any success. Can somebody who knows a little more than me shed some light on what may be happening ? Finally, big thanks to the developers, this is a nice pice of kit. Steven Higgan Development Integration Services INTERGEN: SUITE 6, CENTRE FOR INNOVATION, 87 ST DAVID STREET, PO BOX 6485, DUNEDIN, NEW ZEALAND. TEL +64 3 479 4099FAX +64 3 479 8576MOB +64 21 936 439 WWW.INTERGEN.CO.NZ _ Want me to do something? Send me an action item: www.actionthis.com Catch the latest on our blog: www.intergen.co.nz/blog Be kind to the planet: Do you really need to print this? _ This electronic message together with any attachments is confidential. If you are not the intended recipient: (i) do not copy, disclose or use the contents in any way (ii) please let us know by return e-mail immediately and then destroy the message. Intergen is not responsible for any changes made to this message and/or any attachments after sending by Intergen. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: mod_wsgi issue
See: http://code.google.com/p/modwsgi/issues/detail?id=75can=1 You are making the same mistake. Graham On Apr 18, 11:07 am, Jan De Coster [EMAIL PROTECTED] wrote: hi all, i have a current problem with mymod_wsgisetting for running trac ... situation: employee 1 = a employee 2 = b employee 3 = c a visits trac/project1 b visits trac/project2 but b gets trac/project1 served when 'c' interacts in this session so c visits trac/project3 if this happens ... a b both get served trac/project3 the current apache vhost (minimal) VirtualHost xxx.xxx.xxx.xxx:443 ServerName trac. DocumentRoot /var/www/ SSLEngine on SSLCertificateFile /etc/apache2/cert/server.crt SSLCertificateKeyFile /etc/apache2/cert/server.key SSLCertificateChainFile /etc/apache2/cert/DigiCertCA.crt local wsgi settings Directory /usr/local/trac WSGIApplicationGroup %{GLOBAL} Order deny,allow Allow from all /Directory system trac WSGIScriptAlias /system /usr/local/trac/system.wsgi Location /system AuthType Basic AuthName DigitalBase.be 3 system trac AuthUserFile /data/trac/passwd/trac-system /Location mice trac WSGIScriptAlias /mice /usr/local/trac/mice.wsgi Location /mice AuthType Basic AuthName DigitalBase.be mice trac AuthUserFile /data/trac/passwd/trac-mice Require valid-user /Location /VirtualHost ### other info [EMAIL PROTECTED]:~$ cat /usr/local/trac/system.wsgi #!/usr/bin/python import sys #sys.stdout = sys.stderr import os os.environ['TRAC_ENV'] = '/data/trac/system' import trac.web.main application = trac.web.main.dispatch_request --- [EMAIL PROTECTED]:~$ cat /usr/local/trac/mice.wsgi #!/usr/bin/python import sys #sys.stdout = sys.stderr import os os.environ['TRAC_ENV'] = '/data/trac/mice' import trac.web.main application = trac.web.main.dispatch_request ### software used Apache/2.2.3 (Ubuntu) DAV/2 SVN/1.4.3 mod_ssl/2.2.3 OpenSSL/0.9.8cmod_wsgi/2.0 Python/2.5.1 Server Thanks in advance, Jan De Coster --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: i18n internationalization
-On [20080418 17:48], Richard Liao ([EMAIL PROTECTED]) wrote: We have created a wiki page: http://trac-hacks.org/wiki/TracSandboxI18nChinese There is already an open ticket for the Chinese translation. -- Jeroen Ruigrok van der Werven asmodai(-at-)in-nomine.org / asmodai イェルーン ラウフロック ヴァン デル ウェルヴェン http://www.in-nomine.org/ | http://www.rangaku.org/ Light-in-Darkness, lift me up from here... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: trac-post-commit-hook - on windows
On Apr 17, 11:26 pm, Steven Higgan [EMAIL PROTECTED] wrote: Gedday all, I am setting up a subversion + apache + trac (0.11b2) + build server and I am having problems getting the subversion - trac intergration working properly (or even at all). Firstly my scripts.hments after sending by Intergen. snip Try this: http://lists.edgewall.com/archive/trac/2005-January/001670.html I actually did less of it in python and more in the batch file in terms of getting the information from subversion, but popen works just as well, if not easier. or something similar. this might be of interest also, subversion pre-commit hook example on windows. http://blog.tfanshteyn.com/2007/11/subversion-pre-commit-hooks.html This should get you started anyway. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: mod_wsgi issue
ok ... i'll take a look at it ... thanks in advance :) kr, **Jan De Coster** DB Logo **D**igital **B**ase Broekstraat 36, 3001 Heverlee T. +32 (0)16 36 00 34 - F. +32 (0)16 36 00 39 E-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] **New** Website: www.digitalbase.eu http://www.digitalbase.eu - www.digitalbase.be http://www.digitalbase.be The information in this e-mail and any attachments to it are confidential. The contents may not be copied or used by anyone other than the addressee and must not be further disclosed without our permission. If you have received this e-mail by mistake, please notify the sender immediately and delete this e-mail and any attachments to it from your systems. Warning: Although the company has taken reasonable precautions to ensure no viruses are present in this e-mail, the company cannot accept responsibility for any loss or damage arising from the use of this e-mail or any attachments to it. Graham Dumpleton schreef: See: http://code.google.com/p/modwsgi/issues/detail?id=75can=1 You are making the same mistake. Graham On Apr 18, 11:07 am, Jan De Coster [EMAIL PROTECTED] wrote: hi all, i have a current problem with mymod_wsgisetting for running trac ... situation: employee 1 = a employee 2 = b employee 3 = c a visits trac/project1 b visits trac/project2 but b gets trac/project1 served when 'c' interacts in this session so c visits trac/project3 if this happens ... a b both get served trac/project3 the current apache vhost (minimal) VirtualHost xxx.xxx.xxx.xxx:443 ServerName trac. DocumentRoot /var/www/ SSLEngine on SSLCertificateFile /etc/apache2/cert/server.crt SSLCertificateKeyFile /etc/apache2/cert/server.key SSLCertificateChainFile /etc/apache2/cert/DigiCertCA.crt local wsgi settings Directory /usr/local/trac WSGIApplicationGroup %{GLOBAL} Order deny,allow Allow from all /Directory system trac WSGIScriptAlias /system /usr/local/trac/system.wsgi Location /system AuthType Basic AuthName DigitalBase.be 3 system trac AuthUserFile /data/trac/passwd/trac-system /Location mice trac WSGIScriptAlias /mice /usr/local/trac/mice.wsgi Location /mice AuthType Basic AuthName DigitalBase.be mice trac AuthUserFile /data/trac/passwd/trac-mice Require valid-user /Location /VirtualHost ### other info [EMAIL PROTECTED]:~$ cat /usr/local/trac/system.wsgi #!/usr/bin/python import sys #sys.stdout = sys.stderr import os os.environ['TRAC_ENV'] = '/data/trac/system' import trac.web.main application = trac.web.main.dispatch_request --- [EMAIL PROTECTED]:~$ cat /usr/local/trac/mice.wsgi #!/usr/bin/python import sys #sys.stdout = sys.stderr import os os.environ['TRAC_ENV'] = '/data/trac/mice' import trac.web.main application = trac.web.main.dispatch_request ### software used Apache/2.2.3 (Ubuntu) DAV/2 SVN/1.4.3 mod_ssl/2.2.3 OpenSSL/0.9.8cmod_wsgi/2.0 Python/2.5.1 Server Thanks in advance, Jan De Coster !DSPAM:6,4808cbbf114687020012620! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: i18n internationalization
-On [20080418 10:30], Richard Liao ([EMAIL PROTECTED]) wrote: We have noticed that simplified Chinese support in the i18n branch lack of lots of translations in the zh_CN/LC_MESSAGES/messages.po. And it should be keep up to date while trac is moving forward. I am fully aware, but unfortunately I am not a native speaker even though I mess with both Mandarin and Cantonese. Our team is willing to implement the fully translation, including the in18n po file, all template files and all default wiki pages. Wiki pages cannot be done as of yet. There's another ticket open for that, but it is scheduled for after 0.12 at least. Can you give us some tips about how to translate those template files? We checked the translations in the po(and mo) file, it seems that only the strings in some type of tags(such as title) can be i18n. First thing to be absolutely clear about: the sandbox is a work in progress, so it is not yet a full product... It also depends on both Genshi and Babel features, both of which are in full development still as well. Especially Genshi ticket #129 is important due to the avoidance of cutting up blocks of text, which causes problems for a great deal of languages. -- Jeroen Ruigrok van der Werven asmodai(-at-)in-nomine.org / asmodai イェルーン ラウフロック ヴァン デル ウェルヴェン http://www.in-nomine.org/ | http://www.rangaku.org/ Hope is the last refuge for mad men and dreamers... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] How to configure top navigation bar as cherry websiste
Hi, All, My company is tring to use TRAC to manager our multi-projects.there are 2 questions need your help, i searched google and TRAC ticket/FQA, but i didn't get solution, thanks in advanced. Question1: Is there add-in to use in TRAC if I want to add top navigation as cheery website(please see attached cherry.gif)? or is it configuration? Question2: is it possible to browse multi-projects by Browse Source? my repository dirtory like this: /space/repos/project1, /space/repos/project2,/space/repos/project3 .. I want to browse project1 and project2 in one TRAC enviroment, is it possible? Thanks for your attention. Jim --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~--- inline: cherrypy.gif
[Trac] Re: TaskList
Gab wrote: I'm trying to install the TaskList plugin http://trac-hacks.org/wiki/TaskListPlugin but I get the following error message while clicking on the Ticket in the nav bar: Can you submit this as a ticket on trac-hacks.org? http://trac-hacks.org/newticket?component=TaskListPluginowner=pacopablo I'll try to take a look at it as soon as I can. -John --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: TaskList
Hi everyone, I fixed my trouble described below : the root cause was that the query strings (configured in the trac.ini) were embrassed with double quote instead of single quote. Single quote works well. Now, I expected to have a add button to add a new task from the TaskList front end, but I've got nothing such. Any idea ? thanks gabriel [EMAIL PROTECTED] a écrit : Hi everyone, I'm trying to install the TaskList plugin http://trac-hacks.org/wiki/TaskListPlugin but I get the following error message while clicking on the Ticket in the nav bar: 2008-04-17 22:31:50,108 Trac[query] DEBUG: Query SQL: SELECT t.id AS id,t.summary AS summary,t.priority AS priority,t.time AS time,t.changetime AS changetime,t.amp;owner AS amp;owner,t.status AS status,priority.value AS priority_value,action_item.value AS action_item FROM ticket AS t LEFT OUTER JOIN ticket_custom AS action_item ON (id=action_item.ticket AND action_item.name='action_item') LEFT OUTER JOIN enum AS priority ON (priority.type='priority' AND priority.name=priority) WHERE COALESCE(t.amp;owner,'')=u'toto' AND COALESCE(t.status,'')! =u'closed' ORDER BY COALESCE(t.priority,'')='',priority.value,t.id 2008-04-17 22:31:50,108 Trac[main] ERROR: no such column: t.id Traceback (most recent call last): File c:\python25\lib\site-packages\Trac-0.11dev_r6814-py2.5.egg\trac \web\main.py, line 417, in _dispatch_request dispatcher.dispatch(req) File c:\python25\lib\site-packages\Trac-0.11dev_r6814-py2.5.egg\trac \web\main.py, line 197, in dispatch resp = chosen_handler.process_request(req) File build\bdist.win32\egg\tasklist\main.py, line 159, in process_request template, data, mime_type = self.display_html(req, query) File c:\python25\lib\site-packages\Trac-0.11dev_r6814-py2.5.egg\trac \ticket\query.py, line 715, in display_html tickets = query.execute(req, db) File c:\python25\lib\site-packages\Trac-0.11dev_r6814-py2.5.egg\trac \ticket\query.py, line 199, in execute cursor.execute(sql, args) File c:\python25\lib\site-packages\Trac-0.11dev_r6814-py2.5.egg\trac \db\util.py, line 50, in execute return self.cursor.execute(sql_escape_percent(sql), args) File c:\python25\lib\site-packages\Trac-0.11dev_r6814-py2.5.egg\trac \db\sqlite_backend.py, line 58, in execute args or []) File c:\python25\lib\site-packages\Trac-0.11dev_r6814-py2.5.egg\trac \db\sqlite_backend.py, line 50, in _rollback_on_error return function(self, *args, **kwargs) OperationalError: no such column: t.id Can someone (pacopablo I guess) help me to fix that ? I'm using the trac0.11 (from trunk), genshi0.5 trunk and no other plugin. May be I miss one. thanks in advance gabriel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: [Trac 0.11b2] [apache+mod_python] Basic authentication configuration issue
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Virtual Dust skrev 16-04-2008 21:54: | Erik Bray wrote: | On Wed, Apr 16, 2008 at 11:59 AM, Virtual Dust [EMAIL PROTECTED] wrote: | | After browsing mailing-list archives and checking so many times my | configuration, i failed to resolve this Authentication information not | available error on http://projects.arcanes/myproject/login | | I didn't notice anything immediately wrong with your configuration. | Just to ask a possibly stupid question: Did you try restarting Apache? | | Yes i did. After any modification in apache configuration. If only it | could have been so simple. :) Does the webserver/webclient prompt for http-login on the url? As I understand it, in the standard configuration, with basic http-auth enabled, and python running through mod_python, trac acquires the http-username from apache. Still, the locationmatch looks correct to me, which leaves an error in the passwd-file name -- as apache should refuse to start if you're missing mod_authn_file in the apache config. Anything in the apache error.log ? You could try setting the log_level to DEBUG in trac.ini also -- might shed some light on what goes wrong, and when. - -- ~ .---. Eirik Schwenke [EMAIL PROTECTED] ( NSD ) Harald Hårfagresgate 29Rom 150 ~ '---' N-5007 Bergentlf: (555) 889 13 ~ GPG-key at pgp.mit.edu Id 0x8AA3392C -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFICPucxUW7FIqjOSwRAj+aAKCjqR3yljXAjrejBWbg8brIlOjN0wCfTvOE RO0s0z6N6GEgbORAaVwAzGQ= =C2eI -END PGP SIGNATURE- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Issues opening trac with mod_wsgi and Apache 2.2
Hi all, I'm trying to configure our trac application with an Apache 2.2 web server, using mod_wsgi 2.0 as our WSGI adapter module. We have Python 2.4 on our Windows 2003 Server box, and we've previously successfully run trac in test using tracd.py. I've also got the Apache server working already. Our trac install is at *c:\projects\trac\ccc_solutions\*. All the normal subdirectories (*attachments*, *conf*, *db*, etc.) follow underneath. We are using only a single trac project. I've put *mod_wsgi.so* into the Apache 2.2 modules directory and properly loaded it in *httpd.conf* with a LoadModule wsgi_module modules/mod_wsgi.sostatement. I've verified that I have the right version of *mod_wsgi.so* for our versions of Apache and Python. I've created a *trac.wsgi* script with the following code and placed it into *c:\projects\trac\ccc_solutions\apache\*: import os os.environ['TRAC_ENV'] = 'C:\projects\trac\ccc_solutions' os.environ['PYTHON_EGG_CACHE'] = 'C:\projects\trac\ccc_solutions\plugins' import trac.web.main application = trac.web.main.dispatch_request I've added the following code to my *httpd.conf* file as well: WSGIScriptAlias /ccc_solutions C:\projects\trac\ccc_solutions\apache\trac.wsgi Directory C:\projects\trac\ccc_solutions\apache WSGIApplicationGroup %{GLOBAL} Order deny,allow Allow from all /Directory When I try to hit the trac URL on our server at *http:// servername:port#/ccc_solutions*, I get the following message: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, email address and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. The error log reads as follows: [Fri Apr 18 14:09:49 2008] [error] [client IP address] mod_wsgi (pid=3056): Exception occurred processing WSGI script 'C:/projects/trac/ccc_solutions/apache/trac.wsgi'. [Fri Apr 18 14:09:49 2008] [error] [client IP address] Traceback (most recent call last): [Fri Apr 18 14:09:49 2008] [error] [client IP address] File C:\\Python24\\Lib\\site-packages\\trac\\web\\main.py, line 346, in dispatch_request [Fri Apr 18 14:09:49 2008] [error] [client IP address] env = _open_environment(env_path, run_once=environ['wsgi.run_once']) [Fri Apr 18 14:09:49 2008] [error] [client IP address] File C:\\Python24\\Lib\\site-packages\\trac\\web\\main.py, line 57, in _open_environment [Fri Apr 18 14:09:49 2008] [error] [client IP address] env_cache[env_path] = open_environment(env_path) [Fri Apr 18 14:09:49 2008] [error] [client IP address] File C:\\Python24\\Lib\\site-packages\\trac\\env.py, line 433, in open_environment [Fri Apr 18 14:09:49 2008] [error] [client IP address] env = Environment(env_path) [Fri Apr 18 14:09:49 2008] [error] [client IP address] File C:\\Python24\\Lib\\site-packages\\trac\\env.py, line 126, in __init__ [Fri Apr 18 14:09:49 2008] [error] [client IP address] self.verify() [Fri Apr 18 14:09:49 2008] [error] [client IP address] File C:\\Python24\\Lib\\site-packages\\trac\\env.py, line 174, in verify [Fri Apr 18 14:09:49 2008] [error] [client IP address] fd = open(os.path.join(self.path, 'VERSION'), 'r') [Fri Apr 18 14:09:49 2008] [error] [client IP address] IOError: [Errno 2] No such file or directory: 'C:projects\\tracccc_solutionsVERSION' I'm a bit puzzled. I don't have a VERSION directory set up in our environment, and it seems to me that this section of the Python code (though I'm not a Python developer) is asking for something that isn't necessarily going to be there across the board for all environments. Can anyone give me some advice on getting this running? Thanks, Jamie Fellrath --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: TaskList
Gabriel Scolan wrote: Now, I expected to have a add button to add a new task from the TaskList front end, but I've got nothing such. Any idea ? When viewing the tasklist page, the first row, right above the column headers, should look similar to the attached image. On the left is a button + that will add a ticket based on what you put in the columns to the right. -John --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~--- inline: Picture 2.png