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
Template causes crash on views with 'WSGIRequest' object has no attribute 'space'
#2751
Comments
Please upgrade to latest version of Tandoor. If the problem persists please share the full logs from the container. |
The issue is happening on version 1.5.8. Which logs are relevant here since those are really only the 500 status logs and the already shared log is from when the app is put into debug mode. Maybe sharing the .env file helps:
The shell environment variables are correctly replaces in the Cloudron case and haven't changed since 1.5.6 but maybe some env variable might be missing which is required now? |
Please share the full tandoor container logs beginning with container start. |
To be clear, this is running on Cloudron, so not the upstream Dockerimages. For reference the packaging assets are at https://git.cloudron.io/cloudron/tandoor-app I am also trying to debug this a bit, but I am not a django expert. Note that this is happening with native login sessions as well as users loggin in with openid
|
Took me a bit to find the obvious commit causing it: 977d282 |
Are you starting with an empty database? Why is it doing all of those migrations? Nothing works without request.space and hasn't for quite some time, I just started tested with current version and with a blank database and can't recreate the issue. |
Yes this was a fresh installation, to keep at least data out of the equation. I also saw |
I figured out root cause - should only occur on new setups. Writing a patch now. |
Awesome, thanks for the quick fix. I just ran out package tests and they succeed now. |
Tandoor Version
1.5.7
Setup
Others (please state below)
Reverse Proxy
Others (please state below)
Other
Cloudron - nginx
Bug description
After log in, all views crash with the attached logs. Essentially something broken at https://github.com/TandoorRecipes/recipes/blob/develop/cookbook/templatetags/theming_tags.py#L30 from https://github.com/TandoorRecipes/recipes/blob/develop/cookbook/templates/base.html#L85
Toplevel error is
'WSGIRequest' object has no attribute 'space'
Relevant logs
The text was updated successfully, but these errors were encountered: