Closed duckpuppy closed 3 years ago
I found the issue... one of the books in my library had the language set incorrectly to "Aleut" somehow, and that was causing the crash. It's strange that it did not cause that on 0.6.9, but if anyone legitimately has books in the Aleut language, that may be an issue for them. Since the error was in code populating the "Language of Books" dropdown, I reverted to 0.6.9 and looked at the dropdown. "Aleut" looked like a reasonable cause for the code looking for a locale called ale
.
Mystery solved!
@duckpuppy once I knew how to reproduce it, it gave me something to work with. Adding python3-pkg-resources
I think has fixed the issue, up until now it's been a build time dependency only.
Thanks for the investigating. Hands down the most interesting issue I can recall and now I know about the Aleut people of USA/Russia which was a super interesting Wikipedia read. Do you speak the language? I was amazed by the low number of Aleut people in the world.
Awesome! No, I don't know how to speak Aleutian, but now I want to find some samples and see what it's like.
On Wed, Jan 20, 2021 at 4:36 AM chbmb notifications@github.com wrote:
@duckpuppy https://github.com/duckpuppy once I knew how to reproduce it, it gave me something to work with. Adding python3-pkg-resources I think has fixed the issue, up until now it's been a build time dependency only.
Thanks for the investigating. Hands down the most interesting issue I can recall and now I know about the Aleut people of USA/Russia which was a super interesting Wikipedia https://en.m.wikipedia.org/wiki/Aleut read. Do you speak the language? I was amazed by the low number of Aleut people in the world.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/janeczku/calibre-web/issues/1823#issuecomment-763471414, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAEWNNCYHOFOH6CYH4Q6OLS22P2LANCNFSM4WJRNLGA .
-- SELECT * FROM users WHERE clue > 0
@duckpuppy: I can't reproduce the problem with the Aleut language, which UI language do you use?
@OzzieIsaacs Don't worry, I think this is fixed and was a runtime dependency in the container.
Installing python3-pkg-resources
fixed it as far as I can tell by testing and I've pushed the fix my end.
You probably wouldn't see the problem in a development scenario, since the
development requirements would install the resources package as a
dependency - I just don't think they're installed by the runtime
dependencies in requirements.txt
. I have English set as the UI language.
On Thu, Jan 21, 2021 at 4:17 PM chbmb notifications@github.com wrote:
@OzzieIsaacs https://github.com/OzzieIsaacs Don't worry, I think this is fixed and was a runtime dependency in the container. Installing python3-pkg-resources fixed it as far as I can tell by testing and I've pushed the fix my end.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/janeczku/calibre-web/issues/1823#issuecomment-764947029, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAEWNP64TWJX4GNMDRXWX3S3CKVHANCNFSM4WJRNLGA .
-- SELECT * FROM users WHERE clue > 0
I‘ll close the issue then
Describe the bug/problem When running calibre-web 0.6.10 via the linuxserver docker image, I get a 500 error when accessing any
/admin/user
URLs. Other users on the same image (which means a different DB) do not have this issue which leads me to believe that it may be related to data in the DB. Reverting to the 0.6.9 linuxserver image works with no error. In the log snippet below, I think the unknown locale 'ale' error may be the culprit, but I don't know where that locale is coming from.To Reproduce Steps to reproduce the behavior:
new user
buttonLogfile
Expected behavior User edit or creation screen comes up
Environment (please complete the following information):
Additional context Moving back to the 0.6.9 linuxserver image works