> On 12 Sep 2018, at 4:03 am, David Lewis <[email protected]> wrote: > > [Tue Sep 11 14:02:08.632465 2018] [:error] [pid 12292] [remote ::1:76] File > "/usr/local/mediadrop/venv/lib/python2.7/site-packages/pkg_resources/__init__.py", > line 1576, in _get > [Tue Sep 11 14:02:08.632471 2018] [:error] [pid 12292] [remote ::1:76] > with open(path, 'rb') as stream: > [Tue Sep 11 14:02:08.632483 2018] [:error] [pid 12292] [remote ::1:76] > IOError: [Errno 13] Permission denied: > '/usr/local/mediadrop/venv/lib/python2.7/site-packages/WebError-0.10.3-py2.7.egg/EGG-INFO/entry_points.txt'
The user that Apache runs as needs to be able to see into directories and read files you need. Most likely, some directory in the path down to that location has wrong permissions that prevent others from being able to read it. Would suggest doing a pip uninstall of that package and reinstall it. Just in case, since there is nothing in your mod_wsgi configuration about using virtual environments, nor daemon mode (which is recommended), also read the following and see whether you are following best practices for using a virtual environment. * https://modwsgi.readthedocs.io/en/develop/user-guides/virtual-environments.html <https://modwsgi.readthedocs.io/en/develop/user-guides/virtual-environments.html> Graham -- You received this message because you are subscribed to the Google Groups "modwsgi" 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/modwsgi. For more options, visit https://groups.google.com/d/optout.
