Mailing List Archive

Problems with installing trac
Hi everyone,


I am a newbie to trac and I am having trouble getting it to run
on my Fedora Red Hat installation.

I have trac 0.6.1 installed, trying to follow the installation
instructions as closely as possible.

However, I am getting the following error when I try to access
http://localhost/cgi-bin/trac.cgi on my machine.

Oops...

Trac detected an internal error:

No module named neo_cgi

Traceback (most recent call last):
File "/usr/lib/python2.2/site-packages/trac/trac.py", line 254, in main
real_main()
File "/usr/lib/python2.2/site-packages/trac/trac.py", line 170, in real_main
module = __import__(module_name, globals(), locals(), [])
File "/usr/lib/python2.2/site-packages/trac/Wiki.py", line 31, in ?
from Module import Module
File "/usr/lib/python2.2/site-packages/trac/Module.py", line 27, in ?
import neo_cgi
ImportError: No module named neo_cgi

I don't see anything related to neo_cgi in the installation instructions.

FWIW, I have the following installed on my machine:
subversion-1.0.2
subversion-python-1.0.2
clearsilver-0.9.8
pysqlite-0.4.3
python-2.2.3

Any suggestions would be greatly appreciated.

Also, the subversion repository is working fine and I can browse it with WebSVN.

cheers,

roy
Problems with installing trac [ In reply to ]
THis newbiw overcome the first hurdle. The problem seems to be that I
didn't have the python bindings for clearsilver. Now get a permissions
error that I don't understand.

Oops...

Trac detected an internal error:

Traceback (innermost last):
File "cgi.c", line 1441, in cgi_display()
File "csparse.c", line 283, in cs_parse_file()
File "neo_hdf.c", line 1867, in hdf_search_path()
SystemError: Stat of /home/roy/tools/trac/templates/wiki.cs failed: [13] Permission denied


Traceback (most recent call last):
File "/usr/lib/python2.2/site-packages/trac/trac.py", line 254, in main
real_main()
File "/usr/lib/python2.2/site-packages/trac/trac.py", line 208, in real_main
module.run()
File "/usr/lib/python2.2/site-packages/trac/Module.py", line 43, in run
disp()
File "/usr/lib/python2.2/site-packages/trac/Module.py", line 104, in display
self.cgi.display(self.template_name)
Error: Traceback (innermost last):
File "cgi.c", line 1441, in cgi_display()
File "csparse.c", line 283, in cs_parse_file()
File "neo_hdf.c", line 1867, in hdf_search_path()
SystemError: Stat of /home/roy/tools/trac/templates/wiki.cs failed: [13] Permission denied


I have verified the path and I used the sledgehammer approach and did a chmod -R 777 on the templates
directory, but I still get the error listed above.

Does anybody have any ideas what I should do next?

thanks in advance,

roy



On Fri, 2004-05-14 at 19:02, Roy Feldman wrote:
> Hi everyone,
>
>
> I am a newbie to trac and I am having trouble getting it to run
> on my Fedora Red Hat installation.
>
> I have trac 0.6.1 installed, trying to follow the installation
> instructions as closely as possible.
>
> However, I am getting the following error when I try to access
> http://localhost/cgi-bin/trac.cgi on my machine.
>
> Oops...
>
> Trac detected an internal error:
>
> No module named neo_cgi
>
> Traceback (most recent call last):
> File "/usr/lib/python2.2/site-packages/trac/trac.py", line 254, in main
> real_main()
> File "/usr/lib/python2.2/site-packages/trac/trac.py", line 170, in real_main
> module = __import__(module_name, globals(), locals(), [])
> File "/usr/lib/python2.2/site-packages/trac/Wiki.py", line 31, in ?
> from Module import Module
> File "/usr/lib/python2.2/site-packages/trac/Module.py", line 27, in ?
> import neo_cgi
> ImportError: No module named neo_cgi
>
> I don't see anything related to neo_cgi in the installation instructions.
>
> FWIW, I have the following installed on my machine:
> subversion-1.0.2
> subversion-python-1.0.2
> clearsilver-0.9.8
> pysqlite-0.4.3
> python-2.2.3
>
> Any suggestions would be greatly appreciated.
>
> Also, the subversion repository is working fine and I can browse it with WebSVN.
>
> cheers,
>
> roy
>
>
>
>
>
> _______________________________________________
> Trac mailing list
> Trac@lists.edgewall.com
> http://lists.edgewall.com/mailman/listinfo/trac
--