-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
UnknownLocaleError: unknown locale 'la' #743
Comments
At the moment, calibre-web will raise an internal 500 error if an invalid locale identifier is passed in through the `Accept-Language` HTTP header (for a non-logged-in user). This breaks some crappily-built OPDS feed readers, and there's no reason to error out so severely. This commit just gracefully falls back to `en` if it can't parse the locale identifier. Fixes janeczku#743 among others.
At the moment, calibre-web will raise an internal 500 error if an invalid locale identifier is passed in through the `Accept-Language` HTTP header (for a non-logged-in user). This breaks some crappily-built OPDS feed readers, and there's no reason to error out so severely. This commit just gracefully falls back to `en` if it can't parse the locale identifier. Fixes janeczku#743 among others.
Thanks for handling this issue better, but what settings would i have to change to avoid this error in the first place? Is this a problem with docker or something else? |
Your problem now is that you have to update it, but you can't update, because the server crashes, right? |
Thanks, i solved it, by editing web.py myself with the exact changes. Now it works! |
Hello, I have the following issue:
I'm trying to set up calibre web inside docker. But it is not working.
Im running Ubuntu Server 16.04. When i try to access calibre-web through my browser i get the internal server error message. Here are the logs that i receive at the server end:
https://pastebin.com/fVFpnt1Y
Thanks in advance!
The text was updated successfully, but these errors were encountered: