-
Notifications
You must be signed in to change notification settings - Fork 24
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
Installable Language Settings Page keeps loading forever #232
Comments
I'm not sure what the problem is. Can you please check the browser console and browser network page, what request fails, and what is the response for it? Are you only unable to import books, or all kinds of texts? If you can't import only books, the most common issue is with the folder permissions on linux and mac. You can use all the languages you can select without installing anything. |
I get the following output in the browsers console:
Under the network tab I don't see anything failing, though the only request I see is the for reload of the page itself. I can't import anything.
What do you mean by "all the languages you can select"? |
I meant the bottom left select. When you click on it, it supposed to show a list of languages that you can select. Only an error when importing an ebook file could be caused by permission problems. Since you cannot import anything, it is not related to permissions. All 3 places: bottom left language selection, admin languages page and importing anything would fail if the web server cannot reach the python server, or if the python server is not working. Can you please:
And copy the python docker logs here? |
I've just seen this. That is really strange, because the console does show the http request failing:
I also just noticed this: |
I'm using Traefik and a domain so I can access all the services from my server locally, without having to type IP and Port. I've managed to figure out why the server couldn't communicate with the python container. As for the importing of Books, it seems Lingua can't hanle anything that isn't text only. "Japanese Short Stories for Beginners" - which is pretty much text only - worked just fine for importing. My initial problem is solved, so this can be closed (assuming my guess about text-only books is correct) |
Yes, it can only import the text part. I'm glad you figured it out, and hope you will enjoy linguacafe! :) Please feel free to open a new issue if you have further problems, I'll try to help if I can. |
I get exactly the same problem, can you share how you figured out "why the server couldn't communicate with the python container"? Update: no luck after some exploration. I assumed there's platform mismatch - webserver image has platform arm64 while python container has platform amd64. Didn't manage to solve in that way. Maybe you can shed some light by sharing your solution? @OddMagnet For the developer @simjanos-dev : the python docker log says
in case that is useful for your further development. |
Thanks for telling me! I have already solved the problem with help from the developers. |
I just finished installing LinguaCafe and importing dictionaries for Japanes.
When I switch to "Admin Settings -> Languages" the page just keeps showing the loading indicators forever.
I also can't import any books, though I suppose I need to install a Language first for that.
Neither
docker logs
nor the logs understorage/logs
show anythingThe text was updated successfully, but these errors were encountered: