On Wednesday, April 12, 2017 at 6:41:47 PM UTC-7, Matthew Lavigne wrote:
>
> so pip uninstall trac (get back to clean)
>
> then pip install
>
> [root@ithelp ~]# pip install wheels/Trac-1.2.2.dev0-py2-none-any.whl 
> Processing ./wheels/Trac-1.2.2.dev0-py2-none-any.whl
> Requirement already satisfied: setuptools>=0.6 in 
> /usr/lib/python2.7/site-packages (from Trac==1.2.2.dev0)
> Requirement already satisfied: Genshi>=0.6 in 
> /usr/lib64/python2.7/site-packages (from Trac==1.2.2.dev0)
> Requirement already satisfied: six>=1.6.0 in 
> /usr/lib/python2.7/site-packages (from setuptools>=0.6->Trac==1.2.2.dev0)
> Requirement already satisfied: appdirs>=1.4.0 in 
> /usr/lib/python2.7/site-packages (from setuptools>=0.6->Trac==1.2.2.dev0)
> Requirement already satisfied: packaging>=16.8 in 
> /usr/lib/python2.7/site-packages (from setuptools>=0.6->Trac==1.2.2.dev0)
> Requirement already satisfied: pyparsing in 
> /usr/lib/python2.7/site-packages (from 
> packaging>=16.8->setuptools>=0.6->Trac==1.2.2.dev0)
> Installing collected packages: Trac
> Successfully installed Trac-1.2.2.dev0
>
> ok that looks promising:
>
> ls -lhtr in /usr/lib/python2.7/site-package
>
> drwx------  18 root   root   4.0K Apr 12 21:31 trac
> drwx------   5 root   root     88 Apr 12 21:31 tracopt
> drwx------   2 root   root   4.0K Apr 12 21:31 Trac-1.2.2.dev0.dist-info
>
> so those need to be adjusted?  so just in case I pushed them to 755:
> drwxr-xr-x  18 root   root   4.0K Apr 12 21:31 trac
> drwxr-xr-x   5 root   root     88 Apr 12 21:31 tracopt
> drwxr-xr-x   2 root   root   4.0K Apr 12 21:31 Trac-1.2.2.dev0.dist-info
>
>
>
> [Wed Apr 12 21:36:22.766148 2017] [core:notice] [pid 16803] AH00094: 
> Command line: '/usr/sbin/httpd -D FOREGROUND'
> [Wed Apr 12 21:36:36.570967 2017] [:error] [pid 16806] [client 
> 9.80.206.36:40664] mod_wsgi (pid=16806): Exception occurred processing 
> WSGI script '/var/www/trac/trac.wsgi'.
> [Wed Apr 12 21:36:36.571103 2017] [:error] [pid 16806] [client 
> 9.80.206.36:40664] Traceback (most recent call last):
> [Wed Apr 12 21:36:36.571157 2017] [:error] [pid 16806] [client 
> 9.80.206.36:40664]   File "/var/www/trac/trac.wsgi", line 30, in 
> application
> [Wed Apr 12 21:36:36.571304 2017] [:error] [pid 16806] [client 
> 9.80.206.36:40664]     from trac.web.main import dispatch_request
> [Wed Apr 12 21:36:36.571351 2017] [:error] [pid 16806] [client 
> 9.80.206.36:40664] ImportError: No module named web.main
>

Seems like your PYTHONPATH is messed up. Can you share your virtualhosts 
config for Apache?

- Ryan 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to