View Single Post
Old 09-24-2013, 09:45 PM   #671
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,166
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by DoctorOhh View Post
I tried out what I think theducks was doing and got the same error. I went to Fix and chose Check and rename book paths and immediately got the following error.

Spoiler:
calibre, version 1.4.0
ERROR: Unhandled exception: <b>AttributeError</b>:'LibraryDatabase' object has no attribute 'construct_path_name'

calibre 1.4 Portable isfrozen: True is64bit: False
Windows-7-6.1.7601-SP1 Windows ('32bit', '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 185, in evaluate_book
AttributeError: 'LibraryDatabase' object has no attribute 'construct_path_name'

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.
Thanks for the confirm.
Kovid may have changed something in the db libs
new_path = db.construct_path_name(book_id).replace(os.sep, '/')
theducks is offline   Reply With Quote