Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-19-2010, 11:10 AM   #1
abrinton
Junior Member
abrinton began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jan 2010
Device: Kindle
unencrypted azw books - error importing

Hello -

I am using a common file import filter for AZW books. I can import encrypted azw books fine, but when I import unencrypted ones I get this error:

WARNING: Failed to read metadata: Failed to read metadata from the following:

The Autobiography of Benjamin Fr-asin_B000JMLMXI-type_EBOK-v_0.azw
Traceback (most recent call last):
File "site-packages\calibre\ebooks\metadata\worker.py", line 54, in read_metadata_
File "shutil.py", line 52, in copyfile
IOError: [Errno 13] Permission denied: 'C:\\Windows\\system32'

It seems to import ok, and I can convert to .mobi after, but I'm curious what this error means. Does anyone know?

Also, it would be great to automatically convert to .mobi on import. Is this possible?

(Windows 7 and Calibre 0.6.34)

Thanks a lot!
Adrian
abrinton is offline   Reply With Quote
Old 01-19-2010, 12:00 PM   #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: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Do you have a custom plugin (for example a de-drm plugin) installed?
kovidgoyal is offline   Reply With Quote
Advert
Old 01-19-2010, 01:54 PM   #3
abrinton
Junior Member
abrinton began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jan 2010
Device: Kindle
Yes, I do.
abrinton is offline   Reply With Quote
Old 01-19-2010, 02:43 PM   #4
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: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Disable it and you will be fine
kovidgoyal is offline   Reply With Quote
Old 01-19-2010, 02:57 PM   #5
abrinton
Junior Member
abrinton began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jan 2010
Device: Kindle
Quote:
Originally Posted by kovidgoyal View Post
Disable it and you will be fine
Yes, got that far. Actually, by commenting out
#print i + ": not PID for book"

by adding the line
return path_to_ebook

instead, and it processes the unencrypted books fine! Even gets the metadata right.

If I could trouble you for one more bit if information...
Is converting unencrypted azw to mobi just changing the file extension?

If so, any chance you'd send me a code snippet to change
path_to_ebook (remove azw, add mobi)?

My python scripting is non-existent...
abrinton is offline   Reply With Quote
Advert
Reply


Forum Jump

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
Cannot view AZW books on Calibre? jessme7 Calibre 2 01-11-2010 02:36 PM
Can the Kindle .AZW books be read on Win XP? oski24601 Amazon Kindle 30 04-25-2009 07:34 PM
Error when importing MobiPocket files. mbovenka Calibre 7 08-16-2008 10:07 AM


All times are GMT -4. The time now is 09:14 PM.


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