Mailing List Archive

Error when accessing trac.cgi
Hello,

I installed Trac on a RedHat 7.2, Apache 1.3.29, Pyhton 2.3, Subversion
1.0.4... I was able to compile and install everything, I created a
subversion repository, I created the Trac environment with trac-admin
/foo/ initenv...
I added the lines in my httpd.conf, especially, the TRAC_ENV one...

When accessing http://myhost.com/cgi-bin/trac.cgi, I have a *nice* error
500, and here is the Trace :

Status: 500
Content-Type: text/plain

Oops...

Trac detected an internal error:

unsupported operand type(s) for +: 'NoneType' and 'str'
Traceback (most recent call last):
File "/usr/local/lib/python2.3/site-packages/trac/core.py", line 445, in cgi_start
real_cgi_start()
File "/usr/local/lib/python2.3/site-packages/trac/core.py", line 434, in real_cgi_start
module.run()
File "/usr/local/lib/python2.3/site-packages/trac/Module.py", line 34, in run
core.populate_hdf(self.req.hdf, self.env, self.db, self.req)
File "/usr/local/lib/python2.3/site-packages/trac/core.py", line 196, in populate_hdf
hdf.setValue('trac.href.wiki', env.href.wiki())
File "/usr/local/lib/python2.3/site-packages/trac/Href.py", line 91, in wiki
return href_join(self.base, 'wiki')
File "/usr/local/lib/python2.3/site-packages/trac/util.py", line 115, in href_join
u1 = rstrip(u1, '/') + '/' + lstrip(u2, '/')
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'


I have read bugs reports, mailing list but I didn't find thing that
should help me...

Thanks for your help...

Greetings

Arnaud Klamecki

-------------- next part --------------
An HTML attachment was scrubbed...
URL: /archive/trac/attachments/20040608/0f7288ee/attachment.xhtml