08-16-2014, 11:14 AM | #121 |
creator of calibre
Posts: 43,930
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I had tested that change with the folder device, where it did not cause any issues. And from looking at the code, it should only be triggerred if restore_state() is called for a device view, which as far as I can see only happens if you change libraries while a device is connected, but that area of code is fairly complex, so there is probably something I am missing.
|
08-16-2014, 01:16 PM | #122 | |
Bibliophagist
Posts: 35,944
Karma: 145678910
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Regards, David |
|
Advert | |
|
08-16-2014, 01:20 PM | #123 | |
Bibliophagist
Posts: 35,944
Karma: 145678910
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
I think I may have a project for this weekend! Regards, David Last edited by DNSB; 08-17-2014 at 12:21 AM. |
|
08-16-2014, 08:14 PM | #124 | |
Grand Sorcerer
Posts: 24,906
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
|
|
08-16-2014, 09:48 PM | #125 |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
I don't see this error with my Kindle, even before checking out the latest commits.
|
Advert | |
|
08-16-2014, 10:56 PM | #126 |
creator of calibre
Posts: 43,930
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@davidfor
You can try putting in import traceback traceback.print_stack() to see where restore_state() is being called from when you plug in your kobo. |
08-17-2014, 02:59 AM | #127 |
Grand Sorcerer
Posts: 24,906
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
That gives:
Code:
DeviceJob: 2 Get list of books on device done, calling callback DeviceJob: metadata_downloaded: Starting set_books_in_library DeviceJob: set_books_in_library: books to process= 140 DeviceJob: set_books_in_library finished: time= 0.0149998664856 DeviceJob: metadata_downloaded: updating views File "site.py", line 132, in main File "site.py", line 109, in run_entry_point File "D:\Development\GitHub\calibre\src\calibre\debug.py", line 220, in main File "D:\Development\GitHub\calibre\src\calibre\gui2\main.py", line 461, in main File "D:\Development\GitHub\calibre\src\calibre\gui2\main.py", line 326, in run_gui File "D:\Development\GitHub\calibre\src\calibre\gui2\__init__.py", line 444, in dispatch File "D:\Development\GitHub\calibre\src\calibre\gui2\device.py", line 1104, in metadata_downloaded File "D:\Development\GitHub\calibre\src\calibre\gui2\library\views.py", line 1125, in set_database File "D:\Development\GitHub\calibre\src\calibre\gui2\library\views.py", line 637, in restore_state File "site.py", line 132, in main File "site.py", line 109, in run_entry_point File "D:\Development\GitHub\calibre\src\calibre\debug.py", line 220, in main File "D:\Development\GitHub\calibre\src\calibre\gui2\main.py", line 461, in main File "D:\Development\GitHub\calibre\src\calibre\gui2\main.py", line 326, in run_gui File "D:\Development\GitHub\calibre\src\calibre\gui2\__init__.py", line 444, in dispatch File "D:\Development\GitHub\calibre\src\calibre\gui2\device.py", line 1108, in metadata_downloaded File "D:\Development\GitHub\calibre\src\calibre\gui2\library\views.py", line 1125, in set_database File "D:\Development\GitHub\calibre\src\calibre\gui2\library\views.py", line 637, in restore_state File "site.py", line 132, in main File "site.py", line 109, in run_entry_point File "D:\Development\GitHub\calibre\src\calibre\debug.py", line 220, in main File "D:\Development\GitHub\calibre\src\calibre\gui2\main.py", line 461, in main File "D:\Development\GitHub\calibre\src\calibre\gui2\main.py", line 326, in run_gui File "D:\Development\GitHub\calibre\src\calibre\gui2\__init__.py", line 444, in dispatch File "D:\Development\GitHub\calibre\src\calibre\gui2\device.py", line 1112, in metadata_downloaded File "D:\Development\GitHub\calibre\src\calibre\gui2\library\views.py", line 1125, in set_database File "D:\Development\GitHub\calibre\src\calibre\gui2\library\views.py", line 637, in restore_state DeviceJob: metadata_downloaded: syncing DeviceJob: metadata_downloaded: refreshing ondevice DeviceJob: metadata_downloaded: sending metadata_available signal |
08-17-2014, 03:22 AM | #128 |
creator of calibre
Posts: 43,930
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The problem happens in metadata_downloaded(), because of the error, the device_metadata_available signal is never emitted. Most device drivers dont use this signal, presumably the kobo one does.
|
08-17-2014, 03:49 AM | #129 |
Grand Sorcerer
Posts: 24,906
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
The driver doesn't, but my Kobo Utilities does. So do the Reading List and Kindle Collections plugins. Not getting the signal makes sense with the earlier error. But, what I couldn't see was why only the Kobo devices where getting that error when the device was connected.
|
08-18-2014, 12:55 PM | #130 |
Junior Member
Posts: 8
Karma: 10
Join Date: Jan 2013
Device: Kindle Keyboard
|
Library Quick Switch from main toolbar
Hi,
When I click the main toolbar icon showing the current library's name, mouse-over "Quick switch" and choose another library nothing happens in Calibre 1.206.1 on OS X 10.9.1. Choosing the library name from the menu bar and following the same steps switches library successfully. |
08-18-2014, 11:08 PM | #131 |
creator of calibre
Posts: 43,930
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@KeithJ108: I dont see this behavior on my OS X 10.9 machine. The menu entries in the Quick Switch sub menu work both from the toolbar button and the entry in the menubar. Can you post the log from running calibre in debug mode (right click the preferences button to restart calibre in debug mode).
|
08-19-2014, 08:27 AM | #132 | |
Junior Member
Posts: 8
Karma: 10
Join Date: Jan 2013
Device: Kindle Keyboard
|
Quote:
No bug, my bad. |
|
08-22-2014, 03:54 AM | #133 |
Groupie
Posts: 152
Karma: 131606
Join Date: Oct 2011
Location: Germany (south-west)
Device: Kobo Libra 2, Tolino Shine 5th Gen
|
It's a bit late for the beta thread, but before opening a bug report...
With some (not all) eBooks, the ebook viewer shows spaces in words, that is, there are spaces between the syllables. I've never noticed this with the Qt4-based calibre. I've not (yet) found a copyright-free eBook affected by this, but I've attached a screenshot which shows the problem. Is this a known problem or can anyone confirm it? |
08-22-2014, 04:00 AM | #134 |
creator of calibre
Posts: 43,930
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Whatever font that book is using probably has a space character for the soft hyphen, causing that problem. But it's hard to be certain without access to the book.
|
08-22-2014, 04:23 AM | #135 |
Groupie
Posts: 152
Karma: 131606
Join Date: Oct 2011
Location: Germany (south-west)
Device: Kobo Libra 2, Tolino Shine 5th Gen
|
Now I've found an example file. What makes me wonder is: Opening it within calibre (or directly via the file manager) shows the problem. Saving the file to disk and opening afterwards via the file manager does not show the problem. Not sure what calibre does while saving to disk.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Arc Updated Jelly Bean release - Beta testers needed | kobo-adrian | Kobo Tablets | 19 | 05-23-2013 09:32 PM |
Invitation for Beta testers | KoboJW | Kobo Tablets | 30 | 11-29-2011 02:16 PM |
Classic G:RSS: Optimized Google Reader (RSS) for the Nook [BETA Testers needed] | Fmstrat | Barnes & Noble NOOK | 24 | 12-28-2010 12:22 PM |
calibre ereader output testers needed | user_none | Other formats | 24 | 05-11-2009 12:00 AM |
Web Browsing from the Ebw-1150 - BETA Testers needed | Nate the great | Fictionwise eBookwise | 26 | 09-21-2008 11:52 PM |