![]() |
#121 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,400
Karma: 27756918
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.
|
![]() |
![]() |
![]() |
#122 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,564
Karma: 169115148
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Regards, David |
|
![]() |
![]() |
Advert | |
|
![]() |
#123 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,564
Karma: 169115148
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, 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. |
|
![]() |
![]() |
![]() |
#124 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
|
|
![]() |
![]() |
![]() |
#125 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
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 | |
|
![]() |
#126 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,400
Karma: 27756918
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. |
![]() |
![]() |
![]() |
#127 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
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 |
![]() |
![]() |
![]() |
#128 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,400
Karma: 27756918
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.
|
![]() |
![]() |
![]() |
#129 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
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.
|
![]() |
![]() |
![]() |
#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. |
![]() |
![]() |
![]() |
#131 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,400
Karma: 27756918
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).
|
![]() |
![]() |
![]() |
#132 | |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Jan 2013
Device: Kindle Keyboard
|
Quote:
No bug, my bad. |
|
![]() |
![]() |
![]() |
#133 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 205
Karma: 135428
Join Date: Oct 2011
Location: Germany (south-west)
Device: Kobo Libra 2 & Clara 2E, Tolino shine 5th Gen, Kindle PW6
|
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? |
![]() |
![]() |
![]() |
#134 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,400
Karma: 27756918
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.
|
![]() |
![]() |
![]() |
#135 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 205
Karma: 135428
Join Date: Oct 2011
Location: Germany (south-west)
Device: Kobo Libra 2 & Clara 2E, Tolino shine 5th Gen, Kindle PW6
|
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.
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |