08-03-2008, 03:03 PM | #1 |
Wizard
Posts: 2,018
Karma: 13471689
Join Date: Oct 2007
Location: Almere, The Netherlands
Device: Kobo Sage
|
Error when importing MobiPocket files.
When trying to import the Blackmask DVD (some 10.000 classics in Mobi format) Calibre 0.4.80 crashes with the following error:
C:\Program Files\calibre>calibredb add -r "z:\Blackmask DVD\mobimax" Traceback (most recent call last): File "cli.py", line 430, in <module> File "cli.py", line 427, in main File "cli.py", line 218, in command_add File "cli.py", line 159, in do_add File "calibre\library\database.pyo", line 1525, in recursive_import File "calibre\library\database.pyo", line 1479, in import_book_directory_multiple File "calibre\ebooks\metadata\meta.pyo", line 42, in metadata_from_formats File "calibre\ebooks\metadata\meta.pyo", line 71, in get_metadata File "C:\Program Files\calibre\library.zip\calibre\ebooks\mobi\read er.py", line 385, in get_metadata File "C:\Program Files\calibre\library.zip\calibre\ebooks\mobi\read er.py", line 155, in __init__ File "C:\Program Files\calibre\library.zip\calibre\ebooks\mobi\read er.py", line 78, in __init__ File "struct.pyo", line 87, in unpack struct.error: unpack requires a string argument of length 20 This is when running calibredb by hand, but the GUI pops up the same message when I do it. At first I thought it was stumbling on DRMed Mobi's (when trying it on some other ebooks), but these are all non-DRMed files. Any idea what the problem might be? |
08-03-2008, 04:22 PM | #2 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Attach one of the problem mobi files (or send it to me by email)
|
Advert | |
|
08-03-2008, 05:15 PM | #3 |
Wizard
Posts: 2,018
Karma: 13471689
Join Date: Oct 2007
Location: Almere, The Netherlands
Device: Kobo Sage
|
|
08-03-2008, 07:37 PM | #4 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Will be fixed in next release.
|
08-05-2008, 07:04 AM | #5 |
Wizard
Posts: 2,018
Karma: 13471689
Join Date: Oct 2007
Location: Almere, The Netherlands
Device: Kobo Sage
|
|
Advert | |
|
08-06-2008, 01:34 PM | #6 |
Wizard
Posts: 2,018
Karma: 13471689
Join Date: Oct 2007
Location: Almere, The Netherlands
Device: Kobo Sage
|
0.4.82 no longer gives an error with that one, so that's fixed!
But it now gives the following error on the attached Mobi file (and others that I haven't yet identified): 235802126 Detailed traceback: Traceback (most recent call last): File "main.py", line 448, in add_books File "main.py", line 460, in _add_books File "calibre\ebooks\metadata\meta.pyo", line 72, in get_metadata File "C:\Program Files\calibre\library.zip\calibre\ebooks\mobi\read er.py", line 395, in get_metadata File "C:\Program Files\calibre\library.zip\calibre\ebooks\mobi\read er.py", line 162, in __init__ File "C:\Program Files\calibre\library.zip\calibre\ebooks\mobi\read er.py", line 95, in __init__ KeyError: 235802126 |
08-06-2008, 05:06 PM | #7 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
will be fixed in next release.
|
08-16-2008, 10:07 AM | #8 |
Resident Curmudgeon
Posts: 73,983
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I've removed the attachments as those book are not legally allowed to be posted here. If you need to post them someplace, please go to the Calibre site and open tickets so you can attach them.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error importing mobi files | Nomadin | Calibre | 27 | 02-19-2010 04:15 AM |
Error importing epub book to calibre and ipod touch | BigHoss | Calibre | 0 | 01-24-2010 10:21 AM |
unencrypted azw books - error importing | abrinton | Calibre | 4 | 01-19-2010 02:57 PM |
Error in converting files html --> Mobipocket | adamsloco | Calibre | 0 | 08-29-2009 10:30 PM |
Importing files onto a Kindle | Dahak | Amazon Kindle | 7 | 05-19-2009 12:12 AM |