You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed eulxml-0.15.3 on the latest Debian stable (6.0.1) by issuing:
./setup.py build sudo ./setup.py install
This installed a bunch of stuff into /usr/local/lib/python2.6/dist-packages/eulxml-0.15.3-py2.6.egg/, precompiling .pyc files and giving everything root ownership.
Now, whenever I use eulxml in my Django projects, I get this error in my log files / console output:
Unable to create '/usr/local/lib/python2.6/dist-packages/eulxml-0.15.3-py2.6.egg/eulxml/xpath/parsetab.py' [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/eulxml-0.15.3-py2.6.egg/eulxml/xpath/parsetab.py'
Everything works fine all the same, but the error is annoying.
The text was updated successfully, but these errors were encountered:
Thanks for the issue report! We hadn't noticed the problem because we use the library under virtualenv, where the app's user has permissions to write the file. You don't have to use it our way, though: As you describe, it works correctly (though with the annoying error message) even when installed as root.
We'll look into how to stop ply from trying to regenerate this file every time.
I installed eulxml-0.15.3 on the latest Debian stable (6.0.1) by issuing:
./setup.py build sudo ./setup.py install
This installed a bunch of stuff into
/usr/local/lib/python2.6/dist-packages/eulxml-0.15.3-py2.6.egg/
, precompiling.pyc
files and giving everything root ownership.Now, whenever I use eulxml in my Django projects, I get this error in my log files / console output:
Unable to create '/usr/local/lib/python2.6/dist-packages/eulxml-0.15.3-py2.6.egg/eulxml/xpath/parsetab.py' [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/eulxml-0.15.3-py2.6.egg/eulxml/xpath/parsetab.py'
Everything works fine all the same, but the error is annoying.
The text was updated successfully, but these errors were encountered: