-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Couldn't create 'djangoql.parsetab'. Permission denied #53
Comments
it is created/modified by PLY, the library that is used internally for language parsing. This file is updated automatically if you're using a different version of the library than the one with which the file was created originally. However, even if it fails to update it, it should still be working. Also, this bug dabeaz/ply#31 may be relevant. |
I wonder if it would be possible to configure PLY to store it in different location, such as |
So, I find the option to store it somewhere else, but is not very ideal.
I guess we have to ignore the warning and/or wait for the bug that you've mentioned to be fixed. I'd can check how other packages/projects deal with ply when their modules are written system-wide. |
yep, |
I've noticed the kwargs, but I am not sure if it would help to solve the issue. The ply idea is to have the file Python-importable. So, if the application, that would use djangoql, also be packaged (in I guess this is more of a problem on PLY side. I am thinking of a way for PLY to import the file without it being on python.sys.path. For example by reading and evaluating the file. That way it can be in any directory without meddling with python.sys.path. I'll try to think up with something. Feel free to close this issue. Thank you very much for your support. |
The package version of djangoql (in Fedora) somehow gets this warning:
Do you know how or why this file is being created/modified?
The version is 0.13.0.
Thank you.
PS: I've opened a bug in Fedora (for myslelf) https://bugzilla.redhat.com/show_bug.cgi?id=1760757
The text was updated successfully, but these errors were encountered: