On Thursday, July 11, 2013 4:59:53 AM UTC-7, Chris Sandrini wrote: > Hi > > I upgraded trac from 0.12 to 1.0.1 today according to the trac upgrade > documentation (http://trac.edgewall.org/wiki/TracUpgrade). Everything > works fine. I can start trac when I use tracd without any problems. But it > does not work anymore using apage and mod_wsgi. I get > > [Thu Jul 11 13:49:40 2013] [error] [client 10.5.37.61] mod_wsgi > (pid=7831): Exception occurred processing WSGI script > '/pkgs/trac/www/cgi-bin/trac.wsgi'. > [Thu Jul 11 13:49:40 2013] [error] [client 10.5.37.61] Traceback (most > recent call last): > [Thu Jul 11 13:49:40 2013] [error] [client 10.5.37.61] File > "/pkgs/trac/www/cgi-bin/trac.wsgi", line 32, in application > [Thu Jul 11 13:49:40 2013] [error] [client 10.5.37.61] from > trac.web.main import dispatch_request > [Thu Jul 11 13:49:40 2013] [error] [client 10.5.37.61] ImportError: No > module named trac.web.main > After the upgrade I have redeployed the files using trac-admin trac_site > deploy deploy_path and copied the files into cgi-bin. The files should have > propper permissions > > # ls -la /pkgs/trac/www/cgi-bin/ > total 20 > drwxr-xr-x 2 apache apache 4096 Jul 11 13:26 . > drwxr-xr-x 11 apache apache 4096 Jul 11 13:20 .. > -rwxr-xr-x 1 apache apache 1633 Jul 11 13:04 trac.cgi > -rwxr-xr-x 1 apache apache 1589 Jul 11 13:04 trac.fcgi > -rwxr-xr-x 1 apache apache 1353 Jul 11 13:26 trac.wsgi > I use RHEL 6.4 > > Any ideas what fails? >
I'm not sure, but the issue reported in this thread is very similar, so maybe you'll find a hint there: https://groups.google.com/d/msg/modwsgi/57goMeD2V_g/4uoleRDl5QkJ -- 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 http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/groups/opt_out.
