On Monday, September 18, 2017 at 1:49:16 PM UTC-7, Steve Weiss wrote: > > I am getting this same error. I'm new to trac and python, the "hello > world" test script works fine. When I type "python" and get a prompt, I > typed "import trac" and was returned to a prompt. There were no errors, I > assume this means it worked? I've been searching around and several people > with this problem found that it was a permission issue, but I have no idea > on which files or directories. The apache user owns the directory where the > trac projects are located (/usr/local/data/trac). >
Try: $ sudo -u www-data python Python 2.7.9 (default, Jun 29 2016, 13:08:31) [GCC 4.9.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import trac If that fails, you may need to set python-home in WSGIDaemonProcess, or using WSGIPythonHome: http://modwsgi.readthedocs.io/en/develop/configuration-directives/WSGIDaemonProcess.html http://modwsgi.readthedocs.io/en/develop/configuration-directives/WSGIPythonHome.html - 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 trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.