Closed j-moran closed 5 years ago
It's working for me. May I ask some questions? Do you use docker containers? (Which one Linuxserver, technosoft2000) If not, which operating system do you use? Which version of python are you using? Which user language you are using for Calibre-web? I guess the language of the book you try to replace is english, isn't it? Could you please try to replace the iso639.pickle file in folder: cps/translations/ with a new version from the githbub repro?
I will try the iso639 file.
Tried the latest iso639 file did not fix the issue. Still working by commenting out the lines.
Meanwhile I had a similar issue with the iso639 file under windows 10. In my case Windows wasn't able to read the file, because of problems with the line endings.
Are you familiar with python, and would it possible for you to do some debugging?
I have some general knowledge, but nothing on a major level. I'll help however I can though.
Sorry for the long delay, I had no access to my comuter during the past 2 weeks. I decided that it might be easier if I add some debug outputs instead of letting you set up a whole debug setup. I created a branch "language error" could you please pull this one and start it (or just take the web.py file in the cps folder from that branch and replace your web.py file). Afterwards you should get some output lines on the console:
Using Pickle Length of table: 14 ru fr en nl\ zh_Hans_CN\ de\ it\ km\ hu\ es\ uk\ sv\ ja\ pl Could you please post this lines? (You should at least missing the 'en' line)
I have been getting errors when I attempt to edit a book. It keeps throwing the error below and reporting that there is an internal server error.
I was able to "fix" the issue by commenting out these two lines in web.py in the render_edit_book function.
Just wanted to see if there was something that I could have done to fix this issue other than mess with the code.