Skip to content
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

Plugin hanging when browsing catalog #8

Open
cduverne opened this issue Jul 27, 2020 · 3 comments
Open

Plugin hanging when browsing catalog #8

cduverne opened this issue Jul 27, 2020 · 3 comments

Comments

@cduverne
Copy link

Hello !
I just installed the plugin and I must admit it's a great tool :)
Unfortunately when browsing a catalog (http://gallica.bnf.fr/opds), I can list the different categories and download the catalogs to be displayed in the plugin windows, but then it freezes and I can't select any book to be downloaded.

How can I provide information to help debugging ?

Here is a screenshot when it's freezing : Screenshot

Cheers
CyD

@steinarb
Copy link
Owner

Hi, and thanks for the report.

Unfortunately I don't have much time to look into this right now.

But if you're going to look into it, I'm guessing (note: "guessing") it has to do with the opds parsing breaking down and/or crashing.

Unfortunately there seems to be many ways of doing OPDS and parsing OPDS correctly in all cases, turned out to be messy and very hard to get right.

See the branch read-feeds-recursively-and-flatten-list for my attempt at doing so (I eventually gave up and ended up with just having it as a tool for synchronizing my calibre collections in my home LAN).

@cduverne
Copy link
Author

cduverne commented Aug 4, 2020

Ok, thanks a lot !
I would indeed like to look into it, but new to calibre development.
Where may I find the logfiles to investigate the errors ?

Cheers

@steinarb
Copy link
Owner

It's been a while since I worked on this plugin (September 2015 according to git).

The plugin does what I needed it to do, which is syncing my calibre instances, and have survived many calibre upgrades so there hasn't been much need.

But if I remember correctly, what I did was to open a terminal window (on GNU/linux) and run the command:

calibre-debug --gui

And then I added console logs to the python code and restarted calibre-debug to pick up the new console and watched the output to see what places of the code I got to.

Old style debugging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants