Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 02-08-2013, 06:47 AM   #1
Northwind
Junior Member
Northwind ought to be getting tired of karma fortunes by now.Northwind ought to be getting tired of karma fortunes by now.Northwind ought to be getting tired of karma fortunes by now.Northwind ought to be getting tired of karma fortunes by now.Northwind ought to be getting tired of karma fortunes by now.Northwind ought to be getting tired of karma fortunes by now.Northwind ought to be getting tired of karma fortunes by now.Northwind ought to be getting tired of karma fortunes by now.Northwind ought to be getting tired of karma fortunes by now.Northwind ought to be getting tired of karma fortunes by now.Northwind ought to be getting tired of karma fortunes by now.
 
Posts: 5
Karma: 479322
Join Date: Feb 2013
Location: Germany
Device: Kindle PW
Error opening books after a change of Metadata

Hello together,

since a few weeks I get an error when trying to open books with the build in reader after changing metadata (book title)

The files are not corrupt and open fine after importing them into calibre.

Whenever I change the title (ususally I modify the title of a book in a series to include series name and number), the book won't open. After changing back to the original title, erverything is fine.
calibre version is 0.9.18.
I think, this happens since 0.9.16 or sowhere around, not sure.
It happens with both mobi and epub formats.

Error is
caliber unpack requires a string argument of length 2

Traceback (most recent call last):
File "site-packages\calibre\gui2\viewer\main.py", line 40, in run
File "threading.py", line 504, in run
File "site-packages\calibre\ebooks\oeb\iterator\book.py", line 99, in __enter__
File "site-packages\calibre\customize\conversion.py", line 239, in __call__
File "site-packages\calibre\ebooks\conversion\plugins\mobi_in put.py", line 32, in convert
File "site-packages\calibre\ebooks\mobi\reader\mobi6.py", line 79, in __init__
error: unpack requires a string argument of length 2


Any Ideas ?
Northwind is offline   Reply With Quote
Old 02-08-2013, 07:10 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,320
Karma: 5382313
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Your library is probably ona network shared disk or some such, move it off onto an internal disk. http://manual.calibre-ebook.com/faq....rked-drive-nas
kovidgoyal is offline   Reply With Quote
Old 02-08-2013, 08:44 AM   #3
Northwind
Junior Member
Northwind ought to be getting tired of karma fortunes by now.Northwind ought to be getting tired of karma fortunes by now.Northwind ought to be getting tired of karma fortunes by now.Northwind ought to be getting tired of karma fortunes by now.Northwind ought to be getting tired of karma fortunes by now.Northwind ought to be getting tired of karma fortunes by now.Northwind ought to be getting tired of karma fortunes by now.Northwind ought to be getting tired of karma fortunes by now.Northwind ought to be getting tired of karma fortunes by now.Northwind ought to be getting tired of karma fortunes by now.Northwind ought to be getting tired of karma fortunes by now.
 
Posts: 5
Karma: 479322
Join Date: Feb 2013
Location: Germany
Device: Kindle PW
Thanks, that did it!

(even if I don't understand, why this happens only recently. My library is and has been on the same network drive for over 2 years)
Northwind is offline   Reply With Quote
Old 02-08-2013, 10:00 AM   #4
theducks
Grand Sorcerer
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: 15,071
Karma: 5939999
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by Northwind View Post
Thanks, that did it!

(even if I don't understand, why this happens only recently. My library is and has been on the same network drive for over 2 years)
Network traffic affects Transfer Timing (and undesired file buffering).
Calibre is a 2 part Database: 1) The Metadata. 2) The file storage.
They need to happen in Lockstep (not a network supported protocol).

Up until now, things happened fast enough that you have been getting away with using a NAS.

Defiantly an UNOFFICIAL Idea If your NAS and Driver has write cache settings: Disable them for the Library folder. (Windows has these for removable drives. They may appear as: Performance (=cached) and Quick Removal ( =Cache OFF) which requires all files to be written before returning the cursor to you: Slower, but Lots safer for your data.)
theducks is online now   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kinlde ERROR opening books!!!! Harold Francsiss Kindle Formats 5 11-17-2012 09:12 AM
Error opening Lit books in the reader rwmcafee Calibre 1 05-12-2012 02:38 AM
Adding only mobi books to calibre to change metadata Carolina Troll Calibre 6 02-11-2012 08:27 PM
0.3.2 Opening Error soulartist Sigil 9 12-01-2010 09:03 AM
Change default page opening for books never opened? pidgeon92 Calibre 6 04-12-2010 07:28 PM


All times are GMT -4. The time now is 07:01 PM.


MobileRead.com is a privately owned, operated and funded community.