09-22-2013, 02:51 PM | #661 |
Well trained by Cats
Posts: 29,839
Karma: 54837878
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Fif Filenames and paths error
calibre, version 1.4.0
ERROR: Unhandled exception: <b>AttributeError</b>:'LibraryDatabase' object has no attribute 'construct_path_name' calibre 1.4 isfrozen: True is64bit: False Windows-XP-5.1.2600-SP3 Windows ('32bit', 'WindowsPE') ('Windows', 'XP', '5.1.2600') Python 2.7.5 Windows: ('XP', '5.1.2600', 'SP3', 'Multiprocessor Free') Traceback (most recent call last): File "calibre_plugins.quality_check.dialogs", line 51, in do_book_action File "calibre_plugins.quality_check.check_fix", line 187, in evaluate_book AttributeError: 'LibraryDatabase' object has no attribute 'construct_path_name' Windows XP |
09-22-2013, 03:26 PM | #662 |
Calibre Plugins Developer
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
I can't replicate this error. And looking at the calibre code I can see the construct_path_name function available on the database2.py class. Perhaps Kovid can shed some light on why this might be happening for you...
|
Advert | |
|
09-22-2013, 03:36 PM | #663 | |
Well trained by Cats
Posts: 29,839
Karma: 54837878
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Maybe I will do a clean(er) install, by starting with an empty Calibre2 |
|
09-22-2013, 06:46 PM | #664 |
Well trained by Cats
Posts: 29,839
Karma: 54837878
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
similar with 1.4 on ubuntu 13.04
calibre, version 1.4.0
ERROR: Unhandled exception: <b>AttributeError</b>:'LibraryDatabase' object has no attribute 'construct_path_name' calibre 1.4 isfrozen: True is64bit: True Linux-3.8.0-30-generic-x86_64-with-debian-wheezy-sid Linux ('64bit', 'ELF') ('Linux', '3.8.0-30-generic', '#44-Ubuntu SMP Thu Aug 22 20:52:24 UTC 2013') Python 2.7.5 Linux: ('debian', 'wheezy/sid', '') Traceback (most recent call last): File "calibre_plugins.quality_check.dialogs", line 51, in do_book_action File "calibre_plugins.quality_check.check_fix", line 187, in evaluate_book AttributeError: 'LibraryDatabase' object has no attribute 'construct_path_name' |
09-23-2013, 04:39 AM | #665 |
Zealot
Posts: 137
Karma: 207434
Join Date: Dec 2011
Device: Kobo Glo
|
Similar with 1.4.0 on Windows 7 x64
calibre, version 1.4.0
FEHLER: Nicht abgefangener Fehler: <b>AttributeError</b>:'LibraryDatabase' object has no attribute 'conn' calibre 1.4 [64bit] isfrozen: True is64bit: True Windows-7-6.1.7601-SP1 Windows ('64bit', 'WindowsPE') ('Windows', '7', '6.1.7601') Python 2.7.5 Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free') Traceback (most recent call last): File "calibre_plugins.quality_check.dialogs", line 51, in do_book_action File "calibre_plugins.quality_check.check_fix", line 169, in evaluate_book AttributeError: 'LibraryDatabase' object has no attribute 'conn' |
Advert | |
|
09-24-2013, 03:29 PM | #666 |
Calibre Plugins Developer
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
@theducks- as I said, I can't replicate it. I have tried running from source as well as running from the msi installer. In both cases using the very latest version of calibre (1.4). And the code has that function present in it so I don't exect it to fail.
@Koboyashi - now that is a different bug, which I can replicate, caused by the changes Kovid made to the database API. I will put a fix together for it. Thanks for reporting it. |
09-24-2013, 03:36 PM | #667 |
Calibre Plugins Developer
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
v1.9.7 released
Changes in this release:
|
09-24-2013, 06:17 PM | #668 |
Zealot
Posts: 137
Karma: 207434
Join Date: Dec 2011
Device: Kobo Glo
|
Re: v1.9.7 released
Thanks for the quick fix
Check and repair book sizes function works flawlessly now. Check and rename book paths gives me the the construct_path_name error too: Spoiler:
Last edited by Koboyashi; 09-25-2013 at 12:17 AM. Reason: Clarifying WHICH function runs flawlessly |
09-24-2013, 07:49 PM | #669 | |
Well trained by Cats
Posts: 29,839
Karma: 54837878
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
WXP and Ubuntu 13.04 And it only seems that one test. Damaged DB (it is the same DB) ? Except it passed the db check. |
|
09-24-2013, 09:27 PM | #670 | |
US Navy, Retired
Posts: 9,863
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
Spoiler:
This happens every time using calibre portable or calibre 64. The error was with the latest Quality check update. After clicking OK to the error it displays the dialog that it is checking the books but the first book remains in the dialog and you have to cancel it to remove the dialog from the screen. Last edited by DoctorOhh; 09-24-2013 at 09:34 PM. |
|
09-24-2013, 09:45 PM | #671 | |
Well trained by Cats
Posts: 29,839
Karma: 54837878
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Kovid may have changed something in the db libs new_path = db.construct_path_name(book_id).replace(os.sep, '/') |
|
09-26-2013, 03:55 AM | #672 |
Calibre Plugins Developer
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
The penny finally dropped this morning - I have been using the wrong feature of the plugin to try to replicate the issue of that construct_path_name. Too tushed with the minimal time to work on these at the moment. I am discussing with Kovid an alternative approach and will push a fix when I get time to sort it out...
|
09-26-2013, 05:38 AM | #673 | |
US Navy, Retired
Posts: 9,863
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
|
|
09-26-2013, 07:59 AM | #674 | |
Well trained by Cats
Posts: 29,839
Karma: 54837878
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
This is not a show stopper as I have other broken data that the PI does find for me to work on. Whenever. Get some shuteye (or a pint) if needed |
|
09-28-2013, 06:47 AM | #675 |
Calibre Plugins Developer
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
v1.9.8 Released
Changes in this release:
Thanks to Kovid for the steer and those of you with the patience from reporting this until I had the chance to replicate/fix it... |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Clipboard Search | kiwidude | Plugins | 29 | 04-02-2024 10:05 PM |
[GUI Plugin] Search the Internet | kiwidude | Plugins | 433 | 04-01-2024 05:48 PM |
[GUI Plugin] Open With | kiwidude | Plugins | 403 | 04-01-2024 08:39 AM |
[GUI Plugin] Kindle Collections (old) | meme | Plugins | 2070 | 08-11-2014 12:02 AM |
[GUI Plugin] Book Sync **Deprecated** | kiwidude | Plugins | 111 | 06-07-2011 07:47 PM |