-
Notifications
You must be signed in to change notification settings - Fork 265
-
Notifications
You must be signed in to change notification settings - Fork 265
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
UnicodeDecodeError on journalctl log #425
Comments
This may be related to #411... It's hard to see what could be the issue here. Can you reduce it to a minimal runnable example? |
I suppose this can be triggered introducing a syntax error on a minimal "Hello World" asgi application and configuring a systemd service. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When django raise a 500 error (f.e. following a ValueError), instead of exception stacktrace on journalctl log there is an UnicodeDecodeError.
Environment: Debian 10.12, Python 3.7.3, Django 3.2.5, Daphne 3.0.2, Apache 2.4.38
Systemd Unit File:
Sample output
In a queryset, I define an annotation with the same name as a field:
The expected behaviour on journalctl log is an exception stacktrace with something like (from django console):
Instead I have:
The text was updated successfully, but these errors were encountered: