View Single Post
Old 09-12-2008, 09:35 PM   #225
bluesnews
Enthusiast
bluesnews began at the beginning.
 
Posts: 28
Karma: 10
Join Date: Nov 2007
Device: sony 505
Trying to figure out if I did anything wrong regarding the previous post,
I've deleted all the books in the library and tried to add them recursively from a backup.

I've previously used the "save to disk" function in 4.83 and in b13, I am trying to add them recursively (one book for directory) and I get the following error:

unpack requires a string argument of length 2
Detailed traceback:
Traceback (most recent call last):
File "main.py", line 438, in add_recursive_single
File "main.py", line 419, in add_recursive
File "calibre\library\database.pyo", line 1549, in recursive_import
File "calibre\library\database.pyo", line 1531, in import_book_directory
File "calibre\ebooks\metadata\meta.pyo", line 46, in metadata_from_formats
File "calibre\ebooks\metadata\meta.pyo", line 75, in get_metadata
File "C:\Program Files\calibre\library.zip\calibre\ebooks\lrf\meta. py", line 233, in get_metadata
File "C:\Program Files\calibre\library.zip\calibre\ebooks\lrf\meta. py", line 312, in restore_pos
File "C:\Program Files\calibre\library.zip\calibre\ebooks\lrf\meta. py", line 567, in get_cover
File "C:\Program Files\calibre\library.zip\calibre\ebooks\lrf\meta. py", line 545, in get_objects_by_type
File "calibre\ebooks\lrf\tags.pyo", line 188, in __init__
File "struct.pyo", line 87, in unpack
error: unpack requires a string argument of length 2

The LRF files all open in the sony reader software.

Thanks in advance
bluesnews is offline   Reply With Quote