![]() |
#1 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Jan 2011
Device: Nokia N900
|
![]()
Hello everyone!
Topic may be kinda ambiguous, but it's really simple: When I'm trying to download metadata (using ctrl+d) for many books, i often encounter one which has more than 1 possibilities in search results (found that using manual download from edit metadata window). And then, sometimes the process freezes - it's not like calibre stops responding, i can abort the operation, no problem. But it won't decide which result should it pick, so when i check like 1000 books to get metadata overnight, it'll freeze on 5th-7th and for the rest of time will do totally nothing. Is there any way around that issue? Like, maybe, hard timeout - if no metadata had been picked for over two minutes calibre will skip that book and head to next one? |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,262
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Hmm I doubt this has anything to do with multiple results, in such a case calibre just picks the first one. Is there anything else in common with these books. Post the title and author of a few of them.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 305
Karma: 78651
Join Date: May 2010
Location: New Brunswick, Canada
Device: Kobo, Kobo Wifi, Kobo Touch
|
Hi
I also seem to be getting freezing when editing the metadata. I am running in debug mode but no errors appear. It simply stops responding. When I run top I see: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 27087 tl 20 0 266m 75m 35m R 98 8.0 2:48.02 python I am looking at an strace but nothing has jumped out at me yet. Tim |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,262
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
you're getting the freezing when just editing metadata, not downloading matches?
|
![]() |
![]() |
![]() |
#5 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 305
Karma: 78651
Join Date: May 2010
Location: New Brunswick, Canada
Device: Kobo, Kobo Wifi, Kobo Touch
|
Yes, in my case it is related to editing the metadata. However, some books seem to work while others do not.
I left Calibre running last night with it frozen expecting it to finish what it was doing and display the edit metadata dialog but this morning it was still using 100% CPU and still frozen. Dragons of the Dwarven Depths by Margaret Weis & Tracy Hickman is one that does not seem to work. Tim |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,865
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
It sounds like you're saying all you were doing was opening the edit metadata window for a single book and it froze, is this correct? Which BTW is completely different from the OPs issue.
|
![]() |
![]() |
![]() |
#7 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 305
Karma: 78651
Join Date: May 2010
Location: New Brunswick, Canada
Device: Kobo, Kobo Wifi, Kobo Touch
|
Quote:
To reproduce: 1) Start Calibre 2) Right Click a book record 3) Select Edit Metadata (from memory...) 4) Select Individual (also from memory the actual title is something similar) 5) Wait 6) Eventually kill Calibre I cases where it works I hear the drive getting accessed almost immediately. In cases where it does not work I don't hear anything. When I am able to open the metadata window I can use next to open the next record of a book that works but it freezes when I encounter one that will not open individually. I will try to insert some debug code tonight if I have some time. This is on Ubuntu 10.04... Tim |
|
![]() |
![]() |
![]() |
#8 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,262
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Stick a few print statements into the __init__ method of MetadataSingleDialog to see where it is freezing.
Also the code that launches the dialog (in case it si freezing before __init__) is in actions.edit_metadata in the edit_metadata method. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre immediately freezes? | BrookeJ | Calibre | 10 | 10-09-2010 06:26 PM |
Calibre freezes when I click "Preferences" | LightHouse Lady | Calibre | 2 | 08-16-2010 01:36 PM |
Calibre Freezes after update | JFS | Calibre | 6 | 04-14-2010 11:05 AM |
Frustrated by Calibre startup- freezes | Arek_W | Calibre | 4 | 10-15-2008 05:23 AM |
Help needed....ebook reader decision | tana | Which one should I buy? | 9 | 08-29-2008 08:12 AM |