Closed rpspringuel closed 8 years ago
Is the book that won't unlock a large file? A couple people have reported having that issue. It could be a bug with it timing out too soon.
As for the other books only decrypting in debug mode, are you able to re-open calibre in debug mode from within calibre by choosing that option under the Preferences menu? Or can you only open it that way from the command line?
As for the other books only decrypting in debug mode, are you able to re-open calibre in debug mode from within calibre by choosing that option under the Preferences menu?
Yes. Indeed that is how I restarted in Debug mode to produce the above logs.
Is the book that won't unlock a large file? A couple people have reported having that issue. It could be a bug with it timing out too soon.
It's definately a large file. The file that won't unlock is 16.5 MB according to calibre. When I sort my library by file size that is the 7th largest file in my library of 331 books. The files which are bigger are a couple of dictionaries, an encyclopedia, a Spanish text book, a copy of the Bible, and Words of Radiance (by Brandon Sanderson). I can't recall if any of them came with DRM originally, but all are unlocked at this point.
Yes, that's larger than most ebooks. I have been able to decrypt kindle books that size or a bit larger, but I'm using the 64-bit Windows version of calibre. I suspect that's the problem though since you're able to decrypt other books from the same account/device. Hopefully, Apprentice Harper can see what might be done.
As for the other ones not decrypting at first, have you checked to see if it's repeatable? Or maybe the DeDRM plugin just didn't load correctly that time?
Seeing as you've had some success on a different system, I might try that. I have access to several VMs of both Linux and Windows varieties.
I removed the two books which I was successfully able to unlock in debug mode from my library, restarted calibre in normal mode and tried reimporting them from the Kindle. One of those books did successfully import this time. The other did not. After removing the unlocked copy again and switching back to debug mode, I was again able to import it and have it unlock in the process in the process. So I've got one book where this is repeatable.
Since it got mentioned, I'm using the Mac version, in case that wasn't clear from the logs.
Hard to say what's happening since it occurs when you don't have the log. And, of course, debug mode should behave the same. All I can suggest is seeing what happens on a different system or maybe re-installing on this one.
The book that is failing is a Topaz file. The decryption succeeds, but the conversion from topaz format to something that calibre can handle seems to fail. There's no clues in the log. I suggest trying to stand-along tool, which might work (if it's calibre timing out, for example) or might provide more info on the error.
I've tried decrypting with the Macintosh App and I get the following:
First attempt is from the Kindle for Mac download, second is from the Kindle itself.
shellcommand: /usr/bin/python '/Users/RPS/Downloads/DeDRM_tools_6.3.6a/DeDRM_Macintosh_Application/DeDRM.app/Contents/Resources/ignoblekey.py' '/Users/RPS/Library/Preferences/com.apprenticealf.dedrm/Nook Study Key.b64' > '/Users/RPS/Library/Preferences/com.apprenticealf.dedrm/DeDRM_temp.log'
shellresult: ignoblekey.py v1.1
Copyright © 2015 Apprentice Alf
No nook Study log files have been found.
Could not retrieve nook Study key.
There is 1 ebook to be decrypted.
Processing file: B004A16MN4_EBOK.azw
shellcommand: /usr/bin/python '/Users/RPS/Downloads/DeDRM_tools_6.3.6a/DeDRM_Macintosh_Application/DeDRM.app/Contents/Resources/k4mobidedrm.py' -k '/Users/RPS/Library/Preferences/com.apprenticealf.dedrm/Local Kindle Key.k4i' -s 'B0271701232407XK,B02416043134027J' '/Users/RPS/Books/Kindle for Mac/B004A16MN4_EBOK.azw' '/Users/RPS/Books/Kindle for Mac/' > '/Users/RPS/Library/Preferences/com.apprenticealf.dedrm/DeDRM_temp.log'
shellresult: Using Library AlfCrypto DLL/DYLIB/SO
K4MobiDeDrm v5.3.
Copyright © 2008-2013 The Dark Reverser et al.
Decrypting Topaz ebook: The Writings of the New Testament
Found 8 keys to try after 0.1 seconds
Trying: YSUECGEM
Trying: W8BVlyDT
Book Key Found! (3a672c0baa473755)
Processing Section: img
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Processing Section: color
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Processing Section: other
. . . .
Processing Section: dict
. . . .
Processing Section: glyphs
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Processing Section: page
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Processing Section: metadata
. . . .
Successfully Extracted Topaz contents
Updating to color images if available
Creating cover.jpg
Processing Dictionary
Processing Meta Data and creating OPF
Processing StyleSheet
Using font size: 101
Using page height: 13320
Using page width: 10800
Processing Glyphs
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Processing Pages
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Making region type graphic5524 a "graphic" region
. . . . . . . . . . . . . . . . Making region type graphic8298 a "graphic" region
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Making region type graphic194 a "graphic" region
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Making region type graphic974 a "graphic" region
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Error decrypting book after 24.6 seconds: list index out of range
Traceback (most recent call last):
File "/Users/RPS/Downloads/DeDRM_tools_6.3.6a/DeDRM_Macintosh_Application/DeDRM.app/Contents/Resources/k4mobidedrm.py", line 248, in decryptBook
book = GetDecryptedBook(infile, kDatabases, androidFiles, serials, pids, starttime)
File "/Users/RPS/Downloads/DeDRM_tools_6.3.6a/DeDRM_Macintosh_Application/DeDRM.app/Contents/Resources/k4mobidedrm.py", line 222, in GetDecryptedBook
mb.processBook(totalpids)
File "/Users/RPS/Downloads/DeDRM_tools_6.3.6a/DeDRM_Macintosh_Application/DeDRM.app/Contents/Resources/topazextract.py", line 366, in processBook
rv = genbook.generateBook(self.outdir, raw, fixedimage)
File "/Users/RPS/Downloads/DeDRM_tools_6.3.6a/DeDRM_Macintosh_Application/DeDRM.app/Contents/Resources/genbook.py", line 500, in generateBook
flat_xml = convert2xml.fromData(dict, fname)
File "/Users/RPS/Downloads/DeDRM_tools_6.3.6a/DeDRM_Macintosh_Application/DeDRM.app/Contents/Resources/convert2xml.py", line 781, in fromData
xmlpage = pp.process()
File "/Users/RPS/Downloads/DeDRM_tools_6.3.6a/DeDRM_Macintosh_Application/DeDRM.app/Contents/Resources/convert2xml.py", line 764, in process
snippet = self.injectSnippets(self.snippetList[0])
File "/Users/RPS/Downloads/DeDRM_tools_6.3.6a/DeDRM_Macintosh_Application/DeDRM.app/Contents/Resources/convert2xml.py", line 607, in injectSnippets
aso, atag = self.injectSnippets(asnip)
File "/Users/RPS/Downloads/DeDRM_tools_6.3.6a/DeDRM_Macintosh_Application/DeDRM.app/Contents/Resources/convert2xml.py", line 607, in injectSnippets
aso, atag = self.injectSnippets(asnip)
File "/Users/RPS/Downloads/DeDRM_tools_6.3.6a/DeDRM_Macintosh_Application/DeDRM.app/Contents/Resources/convert2xml.py", line 606, in injectSnippets
asnip = self.snippetList[j]
IndexError: list index out of range
There was an error with 1 ebook:
B004A16MN4_EBOK.azw couldn't be decrypted.
There is 1 ebook to be decrypted.
Processing file: The Writings of the New Testamen-asin_B004A16MN4-type_EBOK-v_0.azw1
shellcommand: /usr/bin/python '/Users/RPS/Downloads/DeDRM_tools_6.3.6a/DeDRM_Macintosh_Application/DeDRM.app/Contents/Resources/k4mobidedrm.py' -k '/Users/RPS/Library/Preferences/com.apprenticealf.dedrm/Local Kindle Key.k4i' -s 'B0271701232407XK,B02416043134027J' '/Volumes/Kindle/documents/The Writings of the New Testamen-asin_B004A16MN4-type_EBOK-v_0.azw1' '/Volumes/Kindle/documents/' > '/Users/RPS/Library/Preferences/com.apprenticealf.dedrm/DeDRM_temp.log'
shellresult: Using Library AlfCrypto DLL/DYLIB/SO
K4MobiDeDrm v5.3.
Copyright © 2008-2013 The Dark Reverser et al.
Decrypting Topaz ebook: The Writings of the New Testament
Found 8 keys to try after 0.0 seconds
Trying: YSUECGEM
Trying: 8YrkYFCE
Trying: 6F5qD6Qu
Trying: mQManzS4
Trying: FECbzkJy
Trying: CY6BQ3Z*
Trying: JEhgpWwH
Trying: 5GNH3JP*
Error decrypting book after 0.1 seconds: No key found in 8 keys tried. Read the FAQs at Alf's blog: http://apprenticealf.wordpress.com/
Traceback (most recent call last):
File "/Users/RPS/Downloads/DeDRM_tools_6.3.6a/DeDRM_Macintosh_Application/DeDRM.app/Contents/Resources/k4mobidedrm.py", line 248, in decryptBook
book = GetDecryptedBook(infile, kDatabases, androidFiles, serials, pids, starttime)
File "/Users/RPS/Downloads/DeDRM_tools_6.3.6a/DeDRM_Macintosh_Application/DeDRM.app/Contents/Resources/k4mobidedrm.py", line 222, in GetDecryptedBook
mb.processBook(totalpids)
File "/Users/RPS/Downloads/DeDRM_tools_6.3.6a/DeDRM_Macintosh_Application/DeDRM.app/Contents/Resources/topazextract.py", line 355, in processBook
raise DrmException(u"No key found in {0:d} keys tried. Read the FAQs at Alf's blog: http://apprenticealf.wordpress.com/".format(len(pidlst)))
DrmException: No key found in 8 keys tried. Read the FAQs at Alf's blog: http://apprenticealf.wordpress.com/
There was an error with 1 ebook:
The Writings of the New Testamen-asin_B004A16MN4-type_EBOK-v_0.azw1 couldn't be decrypted.
It looks like B004A16MN4_EBOK.azw contains some topaz encoding we haven't encountered before. Please post that exact file somewhere and put a link to where I can download it in a comment in this thread. Thanks.
Here you go. Thanks for taking a look.
https://dl.dropboxusercontent.com/u/7292423/B004A16MN4_EBOK.azw
Checking it now.
That doesn't seem to be exactly the same copy of the book as shown in your log. Please post just an import log of that copy of the book.
(Your log shows
Processing file: B004A16MN4_EBOK.azw shellcommand: /usr/bin/python '/Users/RPS/Downloads/DeDRM_tools_6.3.6a/DeDRM_Macintosh_Application/DeDRM.app/Contents/Resources/k4mobidedrm.py' -k '/Users/RPS/Library/Preferences/com.apprenticealf.dedrm/Local Kindle Key.k4i' -s 'B0271701232407XK,B02416043134027J' '/Users/RPS/Books/Kindle for Mac/B004A16MN4_EBOK.azw' '/Users/RPS/Books/Kindle for Mac/' > '/Users/RPS/Library/Preferences/com.apprenticealf.dedrm/DeDRM_temp.log' shellresult: Using Library AlfCrypto DLL/DYLIB/SO K4MobiDeDrm v5.3. Copyright © 2008-2013 The Dark Reverser et al. Decrypting Topaz ebook: The Writings of the New Testament Found 8 keys to try after 0.1 seconds Trying: YSUECGEM Trying: W8BVlyDT Book Key Found! (3a672c0baa473755)
trying W8BVlyDT on my system doesn't find the book key.)
Repeating the decryption attempt using 6.3.6a:
shellcommand: /usr/bin/python '/Users/RPS/Downloads/DeDRM_tools_6.3.6a/DeDRM_Macintosh_Application/DeDRM.app/Contents/Resources/ignoblekey.py' '/Users/RPS/Library/Preferences/com.apprenticealf.dedrm/Nook Study Key.b64' > '/Users/RPS/Library/Preferences/com.apprenticealf.dedrm/DeDRM_temp.log'
shellresult: ignoblekey.py v1.1
Copyright © 2015 Apprentice Alf
No nook Study log files have been found.
Could not retrieve nook Study key.
There is 1 ebook to be decrypted.
Processing file: B004A16MN4_EBOK.azw
shellcommand: /usr/bin/python '/Users/RPS/Downloads/DeDRM_tools_6.3.6a/DeDRM_Macintosh_Application/DeDRM.app/Contents/Resources/k4mobidedrm.py' -k '/Users/RPS/Library/Preferences/com.apprenticealf.dedrm/Local Kindle Key.k4i' -s 'B0271701232407XK,B02416043134027J' '/Users/RPS/Dropbox/Public/B004A16MN4_EBOK.azw' '/Users/RPS/Dropbox/Public/' > '/Users/RPS/Library/Preferences/com.apprenticealf.dedrm/DeDRM_temp.log'
shellresult: Using Library AlfCrypto DLL/DYLIB/SO
K4MobiDeDrm v5.3.
Copyright © 2008-2013 The Dark Reverser et al.
Decrypting Topaz ebook: The Writings of the New Testament
Found 8 keys to try after 0.1 seconds
Trying: YSUECGEM
Trying: s8lYRLRw
Book Key Found! (3a672c0baa473755)
Processing Section: img
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Processing Section: color
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Processing Section: other
. . . .
Processing Section: dict
. . . .
Processing Section: glyphs
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Processing Section: page
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Processing Section: metadata
. . . .
Successfully Extracted Topaz contents
Updating to color images if available
Creating cover.jpg
Processing Dictionary
Processing Meta Data and creating OPF
Processing StyleSheet
Using font size: 101
Using page height: 13320
Using page width: 10800
Processing Glyphs
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Processing Pages
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Making region type graphic5524 a "graphic" region
. . . . . . . . . . . . . . . . Making region type graphic8298 a "graphic" region
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Making region type graphic194 a "graphic" region
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Making region type graphic974 a "graphic" region
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Error decrypting book after 19.8 seconds: list index out of range
Traceback (most recent call last):
File "/Users/RPS/Downloads/DeDRM_tools_6.3.6a/DeDRM_Macintosh_Application/DeDRM.app/Contents/Resources/k4mobidedrm.py", line 248, in decryptBook
book = GetDecryptedBook(infile, kDatabases, androidFiles, serials, pids, starttime)
File "/Users/RPS/Downloads/DeDRM_tools_6.3.6a/DeDRM_Macintosh_Application/DeDRM.app/Contents/Resources/k4mobidedrm.py", line 222, in GetDecryptedBook
mb.processBook(totalpids)
File "/Users/RPS/Downloads/DeDRM_tools_6.3.6a/DeDRM_Macintosh_Application/DeDRM.app/Contents/Resources/topazextract.py", line 366, in processBook
rv = genbook.generateBook(self.outdir, raw, fixedimage)
File "/Users/RPS/Downloads/DeDRM_tools_6.3.6a/DeDRM_Macintosh_Application/DeDRM.app/Contents/Resources/genbook.py", line 500, in generateBook
flat_xml = convert2xml.fromData(dict, fname)
File "/Users/RPS/Downloads/DeDRM_tools_6.3.6a/DeDRM_Macintosh_Application/DeDRM.app/Contents/Resources/convert2xml.py", line 781, in fromData
xmlpage = pp.process()
File "/Users/RPS/Downloads/DeDRM_tools_6.3.6a/DeDRM_Macintosh_Application/DeDRM.app/Contents/Resources/convert2xml.py", line 764, in process
snippet = self.injectSnippets(self.snippetList[0])
File "/Users/RPS/Downloads/DeDRM_tools_6.3.6a/DeDRM_Macintosh_Application/DeDRM.app/Contents/Resources/convert2xml.py", line 607, in injectSnippets
aso, atag = self.injectSnippets(asnip)
File "/Users/RPS/Downloads/DeDRM_tools_6.3.6a/DeDRM_Macintosh_Application/DeDRM.app/Contents/Resources/convert2xml.py", line 607, in injectSnippets
aso, atag = self.injectSnippets(asnip)
File "/Users/RPS/Downloads/DeDRM_tools_6.3.6a/DeDRM_Macintosh_Application/DeDRM.app/Contents/Resources/convert2xml.py", line 606, in injectSnippets
asnip = self.snippetList[j]
IndexError: list index out of range
There was an error with 1 ebook:
B004A16MN4_EBOK.azw couldn't be decrypted.
Thanks, I can now reproduce that error. You have found a topaz file that either has some new coding, or has exposed a bug. I'll see what I can do to work out what's wrong and fix it. But I should mention that the Topaz code is quite complex.
I appreciate the effort.
✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝ Br. Samuel, OSB (R. Padraic Springuel) PAX ☧ ΧΡΙΣΤΟΣ
On Mar 18, 2016, at 1:02 PM, Apprentice Harper notifications@github.com wrote:
Thanks, I can now reproduce that error. You have found a topaz file that either has some new coding, or has exposed a bug. I'll see what I can do to work out what's wrong and fix it. But I should mention that the Topaz code is quite complex.
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub
It looks like Amazon have introduced a new tag into the Topaz format. Two others have reported similar problems.
Anyone with a problem with a Topaz book should post an import log, and the book file used in that import to this thread. (As rpspringuel has done here.) That way I can verify that a fix for this report fixes other problems too. (Once I have a fix - Topaz is complex!)
Oh - if anyone fancies having a go themselves, the problem is almost certainly in the tags definition in convert2xml.py. There are some debug flags you can turn on in that file to get info on what's wrong. Be warned - the debug options output a LOT of info. Look for the first error.
calibre Registo de depuração
calibre 2.54 embedded-python: True is64bit: False
Windows-7-6.1.7601-SP1 Windows ('32bit', 'WindowsPE')
('Windows', '7', '6.1.7601')
Python 2.7.9
Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free')
Successfully initialized third party plugins: DeDRM
Starting up...
Started up in 12.36 seconds with 0 books
DeDRM v6.4.0: Trying to decrypt Cantiga (Portuguese Edition) - Auta de Sousa.azw
Using Library AlfCrypto DLL/DYLIB/SO
Decrypting Topaz ebook: Cantiga (Portuguese Edition)
Found 4 keys to try after 1.1 seconds
Trying: R3VV1ACF
Trying: BStwLQ3h
Book Key Found! (bc508f2ca4156130)
Processing Section: glyphs
. . . . .
Processing Section: other
. . . .
Processing Section: dict
. . . .
Processing Section: page
. . . . . .
Processing Section: metadata
. . . .
Processing Section: color
. . . . .
Processing Section: img
. . . . .
Successfully Extracted Topaz contents
Updating to color images if available
Creating cover.jpg
Processing Dictionary
Processing Meta Data and creating OPF
Processing StyleSheet
DeDRM v6.4.0: Failed to decrypt with error: 2
DeDRM v6.4.0: Looking for new default Kindle Key after 1.5 seconds
searching for kinfoFiles in C:\Users\Tiago Fazendeiro\AppData\Local
Found K4PC 1.9+ kinf2011 file: C:\Users\Tiago Fazendeiro\AppData\Local\Amazon\Kindle\storage.kinf2011
DeDRM v6.4.0: Trying to decrypt Oracao da noite (Portuguese Edi - Auta de Sousa.azw
Using Library AlfCrypto DLL/DYLIB/SO
Decrypted key file using IDString '4176730306' and UserName '546961676f2046617a656e646569726f'
DeDRM v6.4.0: Found 1 new key
Decrypting Topaz ebook: Cantiga (Portuguese Edition)
Found 4 keys to try after 2.2 seconds
Trying: R3VV1ACF
Trying: BStwLQ3h
Book Key Found! (bc508f2ca4156130)
Processing Section: glyphs
. . . . .
Processing Section: other
. . . .
Processing Section: dict
. . . .
Processing Section: page
. . . . . .
Processing Section: metadata
. . . .
Processing Section: color
. . . . .
Processing Section: img
. . . . .
Successfully Extracted Topaz contents
Updating to color images if available
Creating cover.jpg
Processing Dictionary
Processing Meta Data and creating OPF
Processing StyleSheet
DeDRM v6.4.0: Ultimately failed to decrypt after 2.4 seconds.
Read the FAQs at Alf's blog: http://apprenticealf.wordpress.com/
Running file type plugin DeDRM failed with traceback:
Traceback (most recent call last):
File "site-packages\calibre\customize\ui.py", line 154, in _run_filetype_plugins
File "calibre_plugins.dedrm.init", line 598, in run
File "calibre_plugins.dedrm.init", line 548, in KindleMobiDecrypt
DeDRMError: DeDRM v6.4.0: Ultimately failed to decrypt after 2.4 seconds
Decrypting Topaz ebook: Oração da noite (Portuguese Edition)
Found 4 keys to try after 1.1 seconds
Trying: R3VV1ACF
Trying: G43SH1cM
Book Key Found! (3cb01e5e22ec2f3e)
Processing Section: other
. . . .
Processing Section: dict
. . . .
Processing Section: metadata
. . . .
Processing Section: page
. . . . . .
Processing Section: img
. . . . .
Processing Section: glyphs
. . . . . .
Processing Section: color
. . . . .
Successfully Extracted Topaz contents
Updating to color images if available
Creating cover.jpg
Processing Dictionary
Processing Meta Data and creating OPF
Processing StyleSheet
DeDRM v6.4.0: Failed to decrypt with error: 2
DeDRM v6.4.0: Looking for new default Kindle Key after 1.4 seconds
searching for kinfoFiles in C:\Users\Tiago Fazendeiro\AppData\Local
Found K4PC 1.9+ kinf2011 file: C:\Users\Tiago Fazendeiro\AppData\Local\Amazon\Kindle\storage.kinf2011
DeDRM v6.4.0: Trying to decrypt Pagina triste (Portuguese Editi - Auta de Sousa.azw
Using Library AlfCrypto DLL/DYLIB/SO
Decrypted key file using IDString '4176730306' and UserName '546961676f2046617a656e646569726f'
DeDRM v6.4.0: Found 1 new key
Decrypting Topaz ebook: Oração da noite (Portuguese Edition)
Found 4 keys to try after 2.2 seconds
Trying: R3VV1ACF
Trying: G43SH1cM
Book Key Found! (3cb01e5e22ec2f3e)
Processing Section: other
. . . .
Processing Section: dict
. . . .
Processing Section: metadata
. . . .
Processing Section: page
. . . . . .
Processing Section: img
. . . . .
Processing Section: glyphs
. . . . . .
Processing Section: color
. . . . .
Successfully Extracted Topaz contents
Updating to color images if available
Creating cover.jpg
Processing Dictionary
Processing Meta Data and creating OPF
Processing StyleSheet
DeDRM v6.4.0: Ultimately failed to decrypt after 2.3 seconds.
Read the FAQs at Alf's blog: http://apprenticealf.wordpress.com/
Running file type plugin DeDRM failed with traceback:
Traceback (most recent call last):
File "site-packages\calibre\customize\ui.py", line 154, in _run_filetype_plugins
File "calibre_plugins.dedrm.init", line 598, in run
File "calibre_plugins.dedrm.init", line 548, in KindleMobiDecrypt
DeDRMError: DeDRM v6.4.0: Ultimately failed to decrypt after 2.3 seconds
DeDRM v6.4.0: Trying to decrypt Saudade - Auta de Sousa.azw
Decrypting Topaz ebook: Página triste (Portuguese Edition)
Found 4 keys to try after 1.4 seconds
Trying: R3VV1ACF
Trying: QrxTaNh4
Book Key Found! (06b586a0e5dd8d3b)
Processing Section: glyphs
. . . . . .
Processing Section: page
. . . . . .
Processing Section: other
. . . .
Processing Section: metadata
. . . .
Processing Section: color
. . . . .
Processing Section: img
. . . . .
Processing Section: dict
. . . .
Successfully Extracted Topaz contents
Updating to color images if available
Creating cover.jpg
Processing Dictionary
Processing Meta Data and creating OPF
Processing StyleSheet
DeDRM v6.4.0: Failed to decrypt with error: 2
DeDRM v6.4.0: Looking for new default Kindle Key after 1.8 seconds
searching for kinfoFiles in C:\Users\Tiago Fazendeiro\AppData\Local
Found K4PC 1.9+ kinf2011 file: C:\Users\Tiago Fazendeiro\AppData\Local\Amazon\Kindle\storage.kinf2011
Decrypting Topaz ebook: Saudade
Found 4 keys to try after 1.0 seconds
Trying: R3VV1ACF
Trying: UCRA6Iga
Book Key Found! (14e3914e99723ad5)
Processing Section: glyphs
. . . . . . .
Processing Section: other
. . . .
Processing Section: dict
. . . .
Processing Section: page
. . . . . .
Processing Section: metadata
. . . .
Processing Section: color
. . . . .
Processing Section: img
. . . . .
Successfully Extracted Topaz contents
Updating to color images if available
Creating cover.jpg
Decrypted key file using IDString '4176730306' and UserName '546961676f2046617a656e646569726f'
DeDRM v6.4.0: Found 1 new key
Decrypting Topaz ebook: Página triste (Portuguese Edition)
Found 4 keys to try after 2.4 seconds
Trying: R3VV1ACF
Trying: QrxTaNh4
Book Key Found! (06b586a0e5dd8d3b)
Processing Section: glyphs
. . . . . .
Processing Section: page
. . . . . .
Processing Section: other
. . . .
Processing Section: metadata
. . . .
Processing Section: color
. . . . .Processing Dictionary
Processing Section: img . . . .Processing Meta Data and creating OPF Processing StyleSheet DeDRM v6.4.0: Failed to decrypt with error: 2 DeDRM v6.4.0: Looking for new default Kindle Key after 1.3 seconds searching for kinfoFiles in C:\Users\Tiago Fazendeiro\AppData\Local. Found K4PC 1.9+ kinf2011 file: C:\Users\Tiago Fazendeiro\AppData\Local\Amazon\Kindle\storage.kinf2011
Processing Section: dict
. . . .
Successfully Extracted Topaz contents
Updating to color images if available
Creating cover.jpg
Processing Dictionary
Processing Meta Data and creating OPF
Processing StyleSheet
DeDRM v6.4.0: Ultimately failed to decrypt after 2.6 seconds.
Read the FAQs at Alf's blog: http://apprenticealf.wordpress.com/
Running file type plugin DeDRM failed with traceback:
Traceback (most recent call last):
File "site-packages\calibre\customize\ui.py", line 154, in _run_filetype_plugins
File "calibre_plugins.dedrm.init", line 598, in run
File "calibre_plugins.dedrm.init", line 548, in KindleMobiDecrypt
DeDRMError: DeDRM v6.4.0: Ultimately failed to decrypt after 2.6 seconds
Decrypted key file using IDString '4176730306' and UserName '546961676f2046617a656e646569726f'
DeDRM v6.4.0: Found 1 new key
Decrypting Topaz ebook: Saudade
Found 4 keys to try after 1.9 seconds
Trying: R3VV1ACF
Trying: UCRA6Iga
Book Key Found! (14e3914e99723ad5)
Processing Section: glyphs
. . . . . . .
Processing Section: other
. . . .Added Cantiga (Portuguese Edition)
Processing Section: dict
. . . . to db in: 3.3
Processing Section: page
. . . . . .
Processing Section: metadata
. . . .
Processing Section: color
. . . . .
Processing Section: img
. . . . .
Successfully Extracted Topaz contents
Updating to color images if available
Creating cover.jpg
Processing Dictionary
Processing Meta Data and creating OPF
Processing StyleSheet
DeDRM v6.4.0: Ultimately failed to decrypt after 2.7 seconds.
Read the FAQs at Alf's blog: http://apprenticealf.wordpress.com/
Running file type plugin DeDRM failed with traceback:
Traceback (most recent call last):
File "site-packages\calibre\customize\ui.py", line 154, in _run_filetype_plugins
File "calibre_plugins.dedrm.init", line 598, in run
File "calibre_plugins.dedrm.init", line 548, in KindleMobiDecrypt
DeDRMError: DeDRM v6.4.0: Ultimately failed to decrypt after 2.7 seconds
Added Oração da noite (Portuguese Edition) to db in: 1.9
Added Página triste (Portuguese Edition) to db in: 1.5
Added Saudade to db in: 2.2
Added 4 books in 16.9 seconds
Worker Launch took: 1.89200019836
Worker Launch took: 2.17300009727
Worker Launch took: 2.72300004959
Job: 1 Converter livro 4 de 4 (Cantiga (Portuguese Edition)) finished
Converter livro 4 de 4 (Cantiga (Portuguese Edition))
C:\Program Files\Calibre2\pylib.zip\dateutil\parser.py:339: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
Resolved conversion options
calibre version: 2.54.0
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'changejustification': u'original',
'chapter': u"//[((name()='h1' or name()='h2') and re:test(., '\s_((chapter|book|section|part)\s+)|((prolog|prologue|epilogue)(\s+|$))', 'i')) or @class = 'chapter']",
'chapter_mark': u'pagebreak',
'comments': None,
'cover': None,
'custom_size': None,
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'duplicate_links_in_toc': False,
'embed_all_fonts': False,
'embed_font_family': None,
'enable_heuristics': False,
'expand_css': False,
'extra_css': None,
'filter_css': u'',
'fix_indents': True,
'font_size_mapping': None,
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x02BCB210>,
'insert_blank_line': False,
'insert_blank_line_size': 0.5,
'insert_metadata': False,
'isbn': None,
'italicize_common_cases': True,
'keep_ligatures': False,
'language': None,
'level1_toc': None,
'level2_toc': None,
'level3_toc': None,
'line_height': 0.0,
'linearize_tables': False,
'margin_bottom': 5.0,
'margin_left': 5.0,
'margin_right': 5.0,
'margin_top': 5.0,
'markup_chapter_headings': True,
'max_toc_links': 50,
'minimum_line_height': 120.0,
'no_chapters_in_toc': False,
'no_inline_navbars': False,
'old_pdf_engine': False,
'output_profile': <calibre.customize.profiles.GenericEink object at 0x02BCB410>,
'override_profile_size': False,
'page_breaks_before': u"//*[name()='h1' or name()='h2']",
'paper_size': u'letter',
'pdf_add_toc': False,
'pdf_default_font_size': 20,
'pdf_footer_template': None,
'pdf_header_template': None,
'pdf_mark_links': False,
'pdf_mono_family': u'Courier New',
'pdf_mono_font_size': 16,
'pdf_page_numbers': False,
'pdf_sans_family': u'MS Shell Dlg 2',
'pdf_serif_family': u'Times New Roman',
'pdf_standard_font': u'serif',
'prefer_metadata_cover': False,
'preserve_cover_aspect_ratio': False,
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': u'C:\Users\TIAGOF~1\AppData\Local\Temp\calibre_br8gbt\kwpexr.opf',
'remove_fake_margins': True,
'remove_first_image': False,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.5,
'renumber_headings': True,
'replace_scene_breaks': u'',
'search_replace': '[]',
'series': None,
'series_index': None,
'smarten_punctuation': False,
'sr1_replace': None,
'sr1_search': None,
'sr2_replace': None,
'sr2_search': None,
'sr3_replace': None,
'sr3_search': None,
'start_reading_at': None,
'subset_embedded_fonts': False,
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'toc_title': None,
'transform_css_rules': '[]',
'uncompressed_pdf': False,
'unit': u'inch',
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: MOBI Input running
on C:\Users\TIAGOF~1\AppData\Local\Temp\calibre_br8gbt\kjcnqn.azw
Python function terminated unexpectedly
Isto é um livro Amazon Topaz. Não pode ser processado. (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 132, in main
File "site.py", line 109, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 190, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 31, in gui_convert_override
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 25, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 1057, in run
File "site-packages\calibre\customize\conversion.py", line 241, in call
File "site-packages\calibre\ebooks\conversion\plugins\mobi_input.py", line 33, in convert
File "site-packages\calibre\ebooks\mobi\reader\mobi6.py", line 71, in init
calibre.ebooks.mobi.reader.mobi6.TopazError: Isto é um livro Amazon Topaz. Não pode ser processado.
Converter livro 4 de 4 (Cantiga (Portuguese Edition)) C:\Program Files\Calibre2\pylib.zip\dateutil\parser.py:339: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal Resolved conversion options calibre version: 2.54.0 {'asciiize': False, 'author_sort': None, 'authors': None, 'base_font_size': 0.0, 'book_producer': None, 'changejustification': u'original', 'chapter': u"//[((name()='h1' or name()='h2') and re:test(., '\s_((chapter|book|section|part)\s+)|((prolog|prologue|epilogue)(\s+|$))', 'i')) or @class = 'chapter']", 'chapter_mark': u'pagebreak', 'comments': None, 'cover': None, 'custom_size': None, 'debug_pipeline': None, 'dehyphenate': True, 'delete_blank_paragraphs': True, 'disable_font_rescaling': False, 'duplicate_links_in_toc': False, 'embed_all_fonts': False, 'embed_font_family': None, 'enable_heuristics': False, 'expand_css': False, 'extra_css': None, 'filter_css': u'', 'fix_indents': True, 'font_size_mapping': None, 'format_scene_breaks': True, 'html_unwrap_factor': 0.4, 'input_encoding': None, 'input_profile': <calibre.customize.profiles.InputProfile object at 0x02BCB210>, 'insert_blank_line': False, 'insert_blank_line_size': 0.5, 'insert_metadata': False, 'isbn': None, 'italicize_common_cases': True, 'keep_ligatures': False, 'language': None, 'level1_toc': None, 'level2_toc': None, 'level3_toc': None, 'line_height': 0.0, 'linearize_tables': False, 'margin_bottom': 5.0, 'margin_left': 5.0, 'margin_right': 5.0, 'margin_top': 5.0, 'markup_chapter_headings': True, 'max_toc_links': 50, 'minimum_line_height': 120.0, 'no_chapters_in_toc': False, 'no_inline_navbars': False, 'old_pdf_engine': False, 'output_profile': <calibre.customize.profiles.GenericEink object at 0x02BCB410>, 'override_profile_size': False, 'page_breaks_before': u"//*[name()='h1' or name()='h2']", 'paper_size': u'letter', 'pdf_add_toc': False, 'pdf_default_font_size': 20, 'pdf_footer_template': None, 'pdf_header_template': None, 'pdf_mark_links': False, 'pdf_mono_family': u'Courier New', 'pdf_mono_font_size': 16, 'pdf_page_numbers': False, 'pdf_sans_family': u'MS Shell Dlg 2', 'pdf_serif_family': u'Times New Roman', 'pdf_standard_font': u'serif', 'prefer_metadata_cover': False, 'preserve_cover_aspect_ratio': False, 'pretty_print': False, 'pubdate': None, 'publisher': None, 'rating': None, 'read_metadata_from_opf': u'C:\Users\TIAGOF~1\AppData\Local\Temp\calibre_br8gbt\kwpexr.opf', 'remove_fake_margins': True, 'remove_first_image': False, 'remove_paragraph_spacing': False, 'remove_paragraph_spacing_indent_size': 1.5, 'renumber_headings': True, 'replace_scene_breaks': u'', 'search_replace': '[]', 'series': None, 'series_index': None, 'smarten_punctuation': False, 'sr1_replace': None, 'sr1_search': None, 'sr2_replace': None, 'sr2_search': None, 'sr3_replace': None, 'sr3_search': None, 'start_reading_at': None, 'subset_embedded_fonts': False, 'tags': None, 'timestamp': None, 'title': None, 'title_sort': None, 'toc_filter': None, 'toc_threshold': 6, 'toc_title': None, 'transform_css_rules': '[]', 'uncompressed_pdf': False, 'unit': u'inch', 'unsmarten_punctuation': False, 'unwrap_lines': True, 'use_auto_toc': False, 'verbose': 2} InputFormatPlugin: MOBI Input running on C:\Users\TIAGOF~1\AppData\Local\Temp\calibre_br8gbt\kjcnqn.azw Python function terminated unexpectedly Isto é um livro Amazon Topaz. Não pode ser processado. (Error Code: 1) Traceback (most recent call last): File "site.py", line 132, in main File "site.py", line 109, in run_entry_point File "site-packages\calibre\utils\ipc\worker.py", line 190, in main File "site-packages\calibre\gui2\convert\gui_conversion.py", line 31, in gui_convert_override File "site-packages\calibre\gui2\convert\gui_conversion.py", line 25, in gui_convert File "site-packages\calibre\ebooks\conversion\plumber.py", line 1057, in run File "site-packages\calibre\customize\conversion.py", line 241, in call File "site-packages\calibre\ebooks\conversion\plugins\mobi_input.py", line 33, in convert File "site-packages\calibre\ebooks\mobi\reader\mobi6.py", line 71, in init calibre.ebooks.mobi.reader.mobi6.TopazError: Isto é um livro Amazon Topaz. Não pode ser processado.
Worker Launch took: 2.91199994087 Job: 2 Converter livro 3 de 4 (Oração da noite (Portuguese Edition)) finished Converter livro 3 de 4 (Oração da noite (Portuguese Edition)) C:\Program Files\Calibre2\pylib.zip\dateutil\parser.py:339: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal Resolved conversion options calibre version: 2.54.0 {'asciiize': False, 'author_sort': None, 'authors': None, 'base_font_size': 0.0, 'book_producer': None, 'changejustification': u'original', 'chapter': u"//[((name()='h1' or name()='h2') and re:test(., '\s_((chapter|book|section|part)\s+)|((prolog|prologue|epilogue)(\s+|$))', 'i')) or @class = 'chapter']", 'chapter_mark': u'pagebreak', 'comments': None, 'cover': None, 'custom_size': None, 'debug_pipeline': None, 'dehyphenate': True, 'delete_blank_paragraphs': True, 'disable_font_rescaling': False, 'duplicate_links_in_toc': False, 'embed_all_fonts': False, 'embed_font_family': None, 'enable_heuristics': False, 'expand_css': False, 'extra_css': None, 'filter_css': u'', 'fix_indents': True, 'font_size_mapping': None, 'format_scene_breaks': True, 'html_unwrap_factor': 0.4, 'input_encoding': None, 'input_profile': <calibre.customize.profiles.InputProfile object at 0x02CA8210>, 'insert_blank_line': False, 'insert_blank_line_size': 0.5, 'insert_metadata': False, 'isbn': None, 'italicize_common_cases': True, 'keep_ligatures': False, 'language': None, 'level1_toc': None, 'level2_toc': None, 'level3_toc': None, 'line_height': 0.0, 'linearize_tables': False, 'margin_bottom': 5.0, 'margin_left': 5.0, 'margin_right': 5.0, 'margin_top': 5.0, 'markup_chapter_headings': True, 'max_toc_links': 50, 'minimum_line_height': 120.0, 'no_chapters_in_toc': False, 'no_inline_navbars': False, 'old_pdf_engine': False, 'output_profile': <calibre.customize.profiles.GenericEink object at 0x02CA8410>, 'override_profile_size': False, 'page_breaks_before': u"//*[name()='h1' or name()='h2']", 'paper_size': u'letter', 'pdf_add_toc': False, 'pdf_default_font_size': 20, 'pdf_footer_template': None, 'pdf_header_template': None, 'pdf_mark_links': False, 'pdf_mono_family': u'Courier New', 'pdf_mono_font_size': 16, 'pdf_page_numbers': False, 'pdf_sans_family': u'MS Shell Dlg 2', 'pdf_serif_family': u'Times New Roman', 'pdf_standard_font': u'serif', 'prefer_metadata_cover': False, 'preserve_cover_aspect_ratio': False, 'pretty_print': False, 'pubdate': None, 'publisher': None, 'rating': None, 'read_metadata_from_opf': u'C:\Users\TIAGOF~1\AppData\Local\Temp\calibre_br8gbt\a0woq2.opf', 'remove_fake_margins': True, 'remove_first_image': False, 'remove_paragraph_spacing': False, 'remove_paragraph_spacing_indent_size': 1.5, 'renumber_headings': True, 'replace_scene_breaks': u'', 'search_replace': '[]', 'series': None, 'series_index': None, 'smarten_punctuation': False, 'sr1_replace': None, 'sr1_search': None, 'sr2_replace': None, 'sr2_search': None, 'sr3_replace': None, 'sr3_search': None, 'start_reading_at': None, 'subset_embedded_fonts': False, 'tags': None, 'timestamp': None, 'title': None, 'title_sort': None, 'toc_filter': None, 'toc_threshold': 6, 'toc_title': None, 'transform_css_rules': '[]', 'uncompressed_pdf': False, 'unit': u'inch', 'unsmarten_punctuation': False, 'unwrap_lines': True, 'use_auto_toc': False, 'verbose': 2} InputFormatPlugin: MOBI Input running on C:\Users\TIAGOF~1\AppData\Local\Temp\calibre_br8gbt\8y6oqf.azw Python function terminated unexpectedly Isto é um livro Amazon Topaz. Não pode ser processado. (Error Code: 1) Traceback (most recent call last): File "site.py", line 132, in main File "site.py", line 109, in run_entry_point File "site-packages\calibre\utils\ipc\worker.py", line 190, in main File "site-packages\calibre\gui2\convert\gui_conversion.py", line 31, in gui_convert_override File "site-packages\calibre\gui2\convert\gui_conversion.py", line 25, in gui_convert File "site-packages\calibre\ebooks\conversion\plumber.py", line 1057, in run File "site-packages\calibre\customize\conversion.py", line 241, in call File "site-packages\calibre\ebooks\conversion\plugins\mobi_input.py", line 33, in convert File "site-packages\calibre\ebooks\mobi\reader\mobi6.py", line 71, in init calibre.ebooks.mobi.reader.mobi6.TopazError: Isto é um livro Amazon Topaz. Não pode ser processado.
Converter livro 3 de 4 (Oração da noite (Portuguese Edition)) C:\Program Files\Calibre2\pylib.zip\dateutil\parser.py:339: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal Resolved conversion options calibre version: 2.54.0 {'asciiize': False, 'author_sort': None, 'authors': None, 'base_font_size': 0.0, 'book_producer': None, 'changejustification': u'original', 'chapter': u"//[((name()='h1' or name()='h2') and re:test(., '\s_((chapter|book|section|part)\s+)|((prolog|prologue|epilogue)(\s+|$))', 'i')) or @class = 'chapter']", 'chapter_mark': u'pagebreak', 'comments': None, 'cover': None, 'custom_size': None, 'debug_pipeline': None, 'dehyphenate': True, 'delete_blank_paragraphs': True, 'disable_font_rescaling': False, 'duplicate_links_in_toc': False, 'embed_all_fonts': False, 'embed_font_family': None, 'enable_heuristics': False, 'expand_css': False, 'extra_css': None, 'filter_css': u'', 'fix_indents': True, 'font_size_mapping': None, 'format_scene_breaks': True, 'html_unwrap_factor': 0.4, 'input_encoding': None, 'input_profile': <calibre.customize.profiles.InputProfile object at 0x02CA8210>, 'insert_blank_line': False, 'insert_blank_line_size': 0.5, 'insert_metadata': False, 'isbn': None, 'italicize_common_cases': True, 'keep_ligatures': False, 'language': None, 'level1_toc': None, 'level2_toc': None, 'level3_toc': None, 'line_height': 0.0, 'linearize_tables': False, 'margin_bottom': 5.0, 'margin_left': 5.0, 'margin_right': 5.0, 'margin_top': 5.0, 'markup_chapter_headings': True, 'max_toc_links': 50, 'minimum_line_height': 120.0, 'no_chapters_in_toc': False, 'no_inline_navbars': False, 'old_pdf_engine': False, 'output_profile': <calibre.customize.profiles.GenericEink object at 0x02CA8410>, 'override_profile_size': False, 'page_breaks_before': u"//*[name()='h1' or name()='h2']", 'paper_size': u'letter', 'pdf_add_toc': False, 'pdf_default_font_size': 20, 'pdf_footer_template': None, 'pdf_header_template': None, 'pdf_mark_links': False, 'pdf_mono_family': u'Courier New', 'pdf_mono_font_size': 16, 'pdf_page_numbers': False, 'pdf_sans_family': u'MS Shell Dlg 2', 'pdf_serif_family': u'Times New Roman', 'pdf_standard_font': u'serif', 'prefer_metadata_cover': False, 'preserve_cover_aspect_ratio': False, 'pretty_print': False, 'pubdate': None, 'publisher': None, 'rating': None, 'read_metadata_from_opf': u'C:\Users\TIAGOF~1\AppData\Local\Temp\calibre_br8gbt\a0woq2.opf', 'remove_fake_margins': True, 'remove_first_image': False, 'remove_paragraph_spacing': False, 'remove_paragraph_spacing_indent_size': 1.5, 'renumber_headings': True, 'replace_scene_breaks': u'', 'search_replace': '[]', 'series': None, 'series_index': None, 'smarten_punctuation': False, 'sr1_replace': None, 'sr1_search': None, 'sr2_replace': None, 'sr2_search': None, 'sr3_replace': None, 'sr3_search': None, 'start_reading_at': None, 'subset_embedded_fonts': False, 'tags': None, 'timestamp': None, 'title': None, 'title_sort': None, 'toc_filter': None, 'toc_threshold': 6, 'toc_title': None, 'transform_css_rules': '[]', 'uncompressed_pdf': False, 'unit': u'inch', 'unsmarten_punctuation': False, 'unwrap_lines': True, 'use_auto_toc': False, 'verbose': 2} InputFormatPlugin: MOBI Input running on C:\Users\TIAGOF~1\AppData\Local\Temp\calibre_br8gbt\8y6oqf.azw Python function terminated unexpectedly Isto é um livro Amazon Topaz. Não pode ser processado. (Error Code: 1) Traceback (most recent call last): File "site.py", line 132, in main File "site.py", line 109, in run_entry_point File "site-packages\calibre\utils\ipc\worker.py", line 190, in main File "site-packages\calibre\gui2\convert\gui_conversion.py", line 31, in gui_convert_override File "site-packages\calibre\gui2\convert\gui_conversion.py", line 25, in gui_convert File "site-packages\calibre\ebooks\conversion\plumber.py", line 1057, in run File "site-packages\calibre\customize\conversion.py", line 241, in call File "site-packages\calibre\ebooks\conversion\plugins\mobi_input.py", line 33, in convert File "site-packages\calibre\ebooks\mobi\reader\mobi6.py", line 71, in init calibre.ebooks.mobi.reader.mobi6.TopazError: Isto é um livro Amazon Topaz. Não pode ser processado.
Job: 3 Converter livro 2 de 4 (Página triste (Portuguese Edition)) finished Converter livro 2 de 4 (Página triste (Portuguese Edition)) C:\Program Files\Calibre2\pylib.zip\dateutil\parser.py:339: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal Resolved conversion options calibre version: 2.54.0 {'asciiize': False, 'author_sort': None, 'authors': None, 'base_font_size': 0.0, 'book_producer': None, 'changejustification': u'original', 'chapter': u"//[((name()='h1' or name()='h2') and re:test(., '\s_((chapter|book|section|part)\s+)|((prolog|prologue|epilogue)(\s+|$))', 'i')) or @class = 'chapter']", 'chapter_mark': u'pagebreak', 'comments': None, 'cover': None, 'custom_size': None, 'debug_pipeline': None, 'dehyphenate': True, 'delete_blank_paragraphs': True, 'disable_font_rescaling': False, 'duplicate_links_in_toc': False, 'embed_all_fonts': False, 'embed_font_family': None, 'enable_heuristics': False, 'expand_css': False, 'extra_css': None, 'filter_css': u'', 'fix_indents': True, 'font_size_mapping': None, 'format_scene_breaks': True, 'html_unwrap_factor': 0.4, 'input_encoding': None, 'input_profile': <calibre.customize.profiles.InputProfile object at 0x02B6F210>, 'insert_blank_line': False, 'insert_blank_line_size': 0.5, 'insert_metadata': False, 'isbn': None, 'italicize_common_cases': True, 'keep_ligatures': False, 'language': None, 'level1_toc': None, 'level2_toc': None, 'level3_toc': None, 'line_height': 0.0, 'linearize_tables': False, 'margin_bottom': 5.0, 'margin_left': 5.0, 'margin_right': 5.0, 'margin_top': 5.0, 'markup_chapter_headings': True, 'max_toc_links': 50, 'minimum_line_height': 120.0, 'no_chapters_in_toc': False, 'no_inline_navbars': False, 'old_pdf_engine': False, 'output_profile': <calibre.customize.profiles.GenericEink object at 0x02B6F410>, 'override_profile_size': False, 'page_breaks_before': u"//*[name()='h1' or name()='h2']", 'paper_size': u'letter', 'pdf_add_toc': False, 'pdf_default_font_size': 20, 'pdf_footer_template': None, 'pdf_header_template': None, 'pdf_mark_links': False, 'pdf_mono_family': u'Courier New', 'pdf_mono_font_size': 16, 'pdf_page_numbers': False, 'pdf_sans_family': u'MS Shell Dlg 2', 'pdf_serif_family': u'Times New Roman', 'pdf_standard_font': u'serif', 'prefer_metadata_cover': False, 'preserve_cover_aspect_ratio': False, 'pretty_print': False, 'pubdate': None, 'publisher': None, 'rating': None, 'read_metadata_from_opf': u'C:\Users\TIAGOF~1\AppData\Local\Temp\calibre_br8gbt\u55xhb.opf', 'remove_fake_margins': True, 'remove_first_image': False, 'remove_paragraph_spacing': False, 'remove_paragraph_spacing_indent_size': 1.5, 'renumber_headings': True, 'replace_scene_breaks': u'', 'search_replace': '[]', 'series': None, 'series_index': None, 'smarten_punctuation': False, 'sr1_replace': None, 'sr1_search': None, 'sr2_replace': None, 'sr2_search': None, 'sr3_replace': None, 'sr3_search': None, 'start_reading_at': None, 'subset_embedded_fonts': False, 'tags': None, 'timestamp': None, 'title': None, 'title_sort': None, 'toc_filter': None, 'toc_threshold': 6, 'toc_title': None, 'transform_css_rules': '[]', 'uncompressed_pdf': False, 'unit': u'inch', 'unsmarten_punctuation': False, 'unwrap_lines': True, 'use_auto_toc': False, 'verbose': 2} InputFormatPlugin: MOBI Input running on C:\Users\TIAGOF~1\AppData\Local\Temp\calibre_br8gbt\7quyzn.azw Python function terminated unexpectedly Isto é um livro Amazon Topaz. Não pode ser processado. (Error Code: 1) Traceback (most recent call last): File "site.py", line 132, in main File "site.py", line 109, in run_entry_point File "site-packages\calibre\utils\ipc\worker.py", line 190, in main File "site-packages\calibre\gui2\convert\gui_conversion.py", line 31, in gui_convert_override File "site-packages\calibre\gui2\convert\gui_conversion.py", line 25, in gui_convert File "site-packages\calibre\ebooks\conversion\plumber.py", line 1057, in run File "site-packages\calibre\customize\conversion.py", line 241, in call File "site-packages\calibre\ebooks\conversion\plugins\mobi_input.py", line 33, in convert File "site-packages\calibre\ebooks\mobi\reader\mobi6.py", line 71, in init calibre.ebooks.mobi.reader.mobi6.TopazError: Isto é um livro Amazon Topaz. Não pode ser processado.
Converter livro 2 de 4 (Página triste (Portuguese Edition)) C:\Program Files\Calibre2\pylib.zip\dateutil\parser.py:339: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal Resolved conversion options calibre version: 2.54.0 {'asciiize': False, 'author_sort': None, 'authors': None, 'base_font_size': 0.0, 'book_producer': None, 'changejustification': u'original', 'chapter': u"//[((name()='h1' or name()='h2') and re:test(., '\s_((chapter|book|section|part)\s+)|((prolog|prologue|epilogue)(\s+|$))', 'i')) or @class = 'chapter']", 'chapter_mark': u'pagebreak', 'comments': None, 'cover': None, 'custom_size': None, 'debug_pipeline': None, 'dehyphenate': True, 'delete_blank_paragraphs': True, 'disable_font_rescaling': False, 'duplicate_links_in_toc': False, 'embed_all_fonts': False, 'embed_font_family': None, 'enable_heuristics': False, 'expand_css': False, 'extra_css': None, 'filter_css': u'', 'fix_indents': True, 'font_size_mapping': None, 'format_scene_breaks': True, 'html_unwrap_factor': 0.4, 'input_encoding': None, 'input_profile': <calibre.customize.profiles.InputProfile object at 0x02B6F210>, 'insert_blank_line': False, 'insert_blank_line_size': 0.5, 'insert_metadata': False, 'isbn': None, 'italicize_common_cases': True, 'keep_ligatures': False, 'language': None, 'level1_toc': None, 'level2_toc': None, 'level3_toc': None, 'line_height': 0.0, 'linearize_tables': False, 'margin_bottom': 5.0, 'margin_left': 5.0, 'margin_right': 5.0, 'margin_top': 5.0, 'markup_chapter_headings': True, 'max_toc_links': 50, 'minimum_line_height': 120.0, 'no_chapters_in_toc': False, 'no_inline_navbars': False, 'old_pdf_engine': False, 'output_profile': <calibre.customize.profiles.GenericEink object at 0x02B6F410>, 'override_profile_size': False, 'page_breaks_before': u"//*[name()='h1' or name()='h2']", 'paper_size': u'letter', 'pdf_add_toc': False, 'pdf_default_font_size': 20, 'pdf_footer_template': None, 'pdf_header_template': None, 'pdf_mark_links': False, 'pdf_mono_family': u'Courier New', 'pdf_mono_font_size': 16, 'pdf_page_numbers': False, 'pdf_sans_family': u'MS Shell Dlg 2', 'pdf_serif_family': u'Times New Roman', 'pdf_standard_font': u'serif', 'prefer_metadata_cover': False, 'preserve_cover_aspect_ratio': False, 'pretty_print': False, 'pubdate': None, 'publisher': None, 'rating': None, 'read_metadata_from_opf': u'C:\Users\TIAGOF~1\AppData\Local\Temp\calibre_br8gbt\u55xhb.opf', 'remove_fake_margins': True, 'remove_first_image': False, 'remove_paragraph_spacing': False, 'remove_paragraph_spacing_indent_size': 1.5, 'renumber_headings': True, 'replace_scene_breaks': u'', 'search_replace': '[]', 'series': None, 'series_index': None, 'smarten_punctuation': False, 'sr1_replace': None, 'sr1_search': None, 'sr2_replace': None, 'sr2_search': None, 'sr3_replace': None, 'sr3_search': None, 'start_reading_at': None, 'subset_embedded_fonts': False, 'tags': None, 'timestamp': None, 'title': None, 'title_sort': None, 'toc_filter': None, 'toc_threshold': 6, 'toc_title': None, 'transform_css_rules': '[]', 'uncompressed_pdf': False, 'unit': u'inch', 'unsmarten_punctuation': False, 'unwrap_lines': True, 'use_auto_toc': False, 'verbose': 2} InputFormatPlugin: MOBI Input running on C:\Users\TIAGOF~1\AppData\Local\Temp\calibre_br8gbt\7quyzn.azw Python function terminated unexpectedly Isto é um livro Amazon Topaz. Não pode ser processado. (Error Code: 1) Traceback (most recent call last): File "site.py", line 132, in main File "site.py", line 109, in run_entry_point File "site-packages\calibre\utils\ipc\worker.py", line 190, in main File "site-packages\calibre\gui2\convert\gui_conversion.py", line 31, in gui_convert_override File "site-packages\calibre\gui2\convert\gui_conversion.py", line 25, in gui_convert File "site-packages\calibre\ebooks\conversion\plumber.py", line 1057, in run File "site-packages\calibre\customize\conversion.py", line 241, in call File "site-packages\calibre\ebooks\conversion\plugins\mobi_input.py", line 33, in convert File "site-packages\calibre\ebooks\mobi\reader\mobi6.py", line 71, in init calibre.ebooks.mobi.reader.mobi6.TopazError: Isto é um livro Amazon Topaz. Não pode ser processado.
Job: 4 Converter livro 1 de 4 (Saudade) finished Converter livro 1 de 4 (Saudade) C:\Program Files\Calibre2\pylib.zip\dateutil\parser.py:339: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal Resolved conversion options calibre version: 2.54.0 {'asciiize': False, 'author_sort': None, 'authors': None, 'base_font_size': 0.0, 'book_producer': None, 'changejustification': u'original', 'chapter': u"//[((name()='h1' or name()='h2') and re:test(., '\s_((chapter|book|section|part)\s+)|((prolog|prologue|epilogue)(\s+|$))', 'i')) or @class = 'chapter']", 'chapter_mark': u'pagebreak', 'comments': None, 'cover': None, 'custom_size': None, 'debug_pipeline': None, 'dehyphenate': True, 'delete_blank_paragraphs': True, 'disable_font_rescaling': False, 'duplicate_links_in_toc': False, 'embed_all_fonts': False, 'embed_font_family': None, 'enable_heuristics': False, 'expand_css': False, 'extra_css': None, 'filter_css': u'', 'fix_indents': True, 'font_size_mapping': None, 'format_scene_breaks': True, 'html_unwrap_factor': 0.4, 'input_encoding': None, 'input_profile': <calibre.customize.profiles.InputProfile object at 0x02B9B210>, 'insert_blank_line': False, 'insert_blank_line_size': 0.5, 'insert_metadata': False, 'isbn': None, 'italicize_common_cases': True, 'keep_ligatures': False, 'language': None, 'level1_toc': None, 'level2_toc': None, 'level3_toc': None, 'line_height': 0.0, 'linearize_tables': False, 'margin_bottom': 5.0, 'margin_left': 5.0, 'margin_right': 5.0, 'margin_top': 5.0, 'markup_chapter_headings': True, 'max_toc_links': 50, 'minimum_line_height': 120.0, 'no_chapters_in_toc': False, 'no_inline_navbars': False, 'old_pdf_engine': False, 'output_profile': <calibre.customize.profiles.GenericEink object at 0x02B9B410>, 'override_profile_size': False, 'page_breaks_before': u"//*[name()='h1' or name()='h2']", 'paper_size': u'letter', 'pdf_add_toc': False, 'pdf_default_font_size': 20, 'pdf_footer_template': None, 'pdf_header_template': None, 'pdf_mark_links': False, 'pdf_mono_family': u'Courier New', 'pdf_mono_font_size': 16, 'pdf_page_numbers': False, 'pdf_sans_family': u'MS Shell Dlg 2', 'pdf_serif_family': u'Times New Roman', 'pdf_standard_font': u'serif', 'prefer_metadata_cover': False, 'preserve_cover_aspect_ratio': False, 'pretty_print': False, 'pubdate': None, 'publisher': None, 'rating': None, 'read_metadata_from_opf': u'C:\Users\TIAGOF~1\AppData\Local\Temp\calibre_br8gbt\voreru.opf', 'remove_fake_margins': True, 'remove_first_image': False, 'remove_paragraph_spacing': False, 'remove_paragraph_spacing_indent_size': 1.5, 'renumber_headings': True, 'replace_scene_breaks': u'', 'search_replace': '[]', 'series': None, 'series_index': None, 'smarten_punctuation': False, 'sr1_replace': None, 'sr1_search': None, 'sr2_replace': None, 'sr2_search': None, 'sr3_replace': None, 'sr3_search': None, 'start_reading_at': None, 'subset_embedded_fonts': False, 'tags': None, 'timestamp': None, 'title': None, 'title_sort': None, 'toc_filter': None, 'toc_threshold': 6, 'toc_title': None, 'transform_css_rules': '[]', 'uncompressed_pdf': False, 'unit': u'inch', 'unsmarten_punctuation': False, 'unwrap_lines': True, 'use_auto_toc': False, 'verbose': 2} InputFormatPlugin: MOBI Input running on C:\Users\TIAGOF~1\AppData\Local\Temp\calibre_br8gbt\dkg_uu.azw Python function terminated unexpectedly Isto é um livro Amazon Topaz. Não pode ser processado. (Error Code: 1) Traceback (most recent call last): File "site.py", line 132, in main File "site.py", line 109, in run_entry_point File "site-packages\calibre\utils\ipc\worker.py", line 190, in main File "site-packages\calibre\gui2\convert\gui_conversion.py", line 31, in gui_convert_override File "site-packages\calibre\gui2\convert\gui_conversion.py", line 25, in gui_convert File "site-packages\calibre\ebooks\conversion\plumber.py", line 1057, in run File "site-packages\calibre\customize\conversion.py", line 241, in call File "site-packages\calibre\ebooks\conversion\plugins\mobi_input.py", line 33, in convert File "site-packages\calibre\ebooks\mobi\reader\mobi6.py", line 71, in init calibre.ebooks.mobi.reader.mobi6.TopazError: Isto é um livro Amazon Topaz. Não pode ser processado.
Converter livro 1 de 4 (Saudade) C:\Program Files\Calibre2\pylib.zip\dateutil\parser.py:339: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal Resolved conversion options calibre version: 2.54.0 {'asciiize': False, 'author_sort': None, 'authors': None, 'base_font_size': 0.0, 'book_producer': None, 'changejustification': u'original', 'chapter': u"//[((name()='h1' or name()='h2') and re:test(., '\s_((chapter|book|section|part)\s+)|((prolog|prologue|epilogue)(\s+|$))', 'i')) or @class = 'chapter']", 'chapter_mark': u'pagebreak', 'comments': None, 'cover': None, 'custom_size': None, 'debug_pipeline': None, 'dehyphenate': True, 'delete_blank_paragraphs': True, 'disable_font_rescaling': False, 'duplicate_links_in_toc': False, 'embed_all_fonts': False, 'embed_font_family': None, 'enable_heuristics': False, 'expand_css': False, 'extra_css': None, 'filter_css': u'', 'fix_indents': True, 'font_size_mapping': None, 'format_scene_breaks': True, 'html_unwrap_factor': 0.4, 'input_encoding': None, 'input_profile': <calibre.customize.profiles.InputProfile object at 0x02B9B210>, 'insert_blank_line': False, 'insert_blank_line_size': 0.5, 'insert_metadata': False, 'isbn': None, 'italicize_common_cases': True, 'keep_ligatures': False, 'language': None, 'level1_toc': None, 'level2_toc': None, 'level3_toc': None, 'line_height': 0.0, 'linearize_tables': False, 'margin_bottom': 5.0, 'margin_left': 5.0, 'margin_right': 5.0, 'margin_top': 5.0, 'markup_chapter_headings': True, 'max_toc_links': 50, 'minimum_line_height': 120.0, 'no_chapters_in_toc': False, 'no_inline_navbars': False, 'old_pdf_engine': False, 'output_profile': <calibre.customize.profiles.GenericEink object at 0x02B9B410>, 'override_profile_size': False, 'page_breaks_before': u"//*[name()='h1' or name()='h2']", 'paper_size': u'letter', 'pdf_add_toc': False, 'pdf_default_font_size': 20, 'pdf_footer_template': None, 'pdf_header_template': None, 'pdf_mark_links': False, 'pdf_mono_family': u'Courier New', 'pdf_mono_font_size': 16, 'pdf_page_numbers': False, 'pdf_sans_family': u'MS Shell Dlg 2', 'pdf_serif_family': u'Times New Roman', 'pdf_standard_font': u'serif', 'prefer_metadata_cover': False, 'preserve_cover_aspect_ratio': False, 'pretty_print': False, 'pubdate': None, 'publisher': None, 'rating': None, 'read_metadata_from_opf': u'C:\Users\TIAGOF~1\AppData\Local\Temp\calibre_br8gbt\voreru.opf', 'remove_fake_margins': True, 'remove_first_image': False, 'remove_paragraph_spacing': False, 'remove_paragraph_spacing_indent_size': 1.5, 'renumber_headings': True, 'replace_scene_breaks': u'', 'search_replace': '[]', 'series': None, 'series_index': None, 'smarten_punctuation': False, 'sr1_replace': None, 'sr1_search': None, 'sr2_replace': None, 'sr2_search': None, 'sr3_replace': None, 'sr3_search': None, 'start_reading_at': None, 'subset_embedded_fonts': False, 'tags': None, 'timestamp': None, 'title': None, 'title_sort': None, 'toc_filter': None, 'toc_threshold': 6, 'toc_title': None, 'transform_css_rules': '[]', 'uncompressed_pdf': False, 'unit': u'inch', 'unsmarten_punctuation': False, 'unwrap_lines': True, 'use_auto_toc': False, 'verbose': 2} InputFormatPlugin: MOBI Input running on C:\Users\TIAGOF~1\AppData\Local\Temp\calibre_br8gbt\dkg_uu.azw Python function terminated unexpectedly Isto é um livro Amazon Topaz. Não pode ser processado. (Error Code: 1) Traceback (most recent call last): File "site.py", line 132, in main File "site.py", line 109, in run_entry_point File "site-packages\calibre\utils\ipc\worker.py", line 190, in main File "site-packages\calibre\gui2\convert\gui_conversion.py", line 31, in gui_convert_override File "site-packages\calibre\gui2\convert\gui_conversion.py", line 25, in gui_convert File "site-packages\calibre\ebooks\conversion\plumber.py", line 1057, in run File "site-packages\calibre\customize\conversion.py", line 241, in call File "site-packages\calibre\ebooks\conversion\plugins\mobi_input.py", line 33, in convert File "site-packages\calibre\ebooks\mobi\reader\mobi6.py", line 71, in init calibre.ebooks.mobi.reader.mobi6.TopazError: Isto é um livro Amazon Topaz. Não pode ser processado.
i cant convert this 4 ebooks
Thank you for those. I can now reproduce your (xapim's) problem. Unfortunately, it's a different problem to rpspriguel's error (which I have now fixed). I'll work on this problem next, now that I've got into Topaz debugging a bit. Let's hope it's as fixable. The 6.4.1 soon to be uploaded will not fix xapim's problem.
hi, the 6.4.1 not decrypted my book
calibre Journal de débogage
calibre 2.54 [64bit] embedded-python: True is64bit: True
Windows-8-6.2.9200 Windows ('64bit', 'WindowsPE')
('Windows', '8', '6.2.9200')
Python 2.7.9
Windows: ('8', '6.2.9200', '', 'Multiprocessor Free')
Successfully initialized third party plugins: DeDRM && Obok DeDRM
Starting up...
DEBUG: 0.0 obok::utilities.py - loading translations
DEBUG: 0.0 obok::dialogs.py - loading translations
DEBUG: 0.0 obok::config.py - loading translations
DEBUG: 0.0 obok::action_err.py - loading translations
DeDRM v6.4.1: Trying to decrypt B005PZ8I0Y_EBOK.azw
Using Library AlfCrypto DLL/DYLIB/SO
Decrypting Topaz ebook: Annuaires LDAP (French Edition)
Found 10 keys to try after 0.2 seconds
Trying: GG4EUZP3
Trying: uwp4lKtf
Book Key Found! (f90c06bc22ace888)
Processing Section: color
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Processing Section: img
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Processing Section: page
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Processing Section: glyphs
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Processing Section: dict
. . . .
Processing Section: metadata
. . . .
Processing Section: other
. . . .
Successfully Extracted Topaz contents
Updating to color images if available
Creating cover.jpg
Processing Dictionary
Processing Meta Data and creating OPF
Processing StyleSheet
Using font size: 116
Using page height: 13032
Using page width: 10790
Processing Glyphs
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Processing Pages
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Unknown Token: gridEndCenter
Error: -1 outside of string table limits
DeDRM v6.4.1: Failed to decrypt with error: outside or string table limits
DeDRM v6.4.1: Looking for new default Kindle Key after 27.8 seconds
searching for kinfoFiles in C:\Users\philippe\AppData\Local
Found K4PC 1.9+ kinf2011 file: C:\Users\philippe\AppData\Local\Amazon\Kindle\storage.kinf2011
Decrypted key file using IDString '309657360' and UserName '7068696c69707065'
DeDRM v6.4.1: Found 1 new key
Decrypting Topaz ebook: Annuaires LDAP (French Edition)
Found 4 keys to try after 27.9 seconds
Trying: GG4EUZP3
Trying: uwp4lKtf
Book Key Found! (f90c06bc22ace888)
Processing Section: color
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Processing Section: img
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Processing Section: page
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Processing Section: glyphs
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Processing Section: dict
. . . .
Processing Section: metadata
. . . .
Processing Section: other
. . . .
Successfully Extracted Topaz contents
Updating to color images if available
Creating cover.jpg
Processing Dictionary
Processing Meta Data and creating OPF
Processing StyleSheet
Using font size: 116
Using page height: 13032
Using page width: 10790
Processing Glyphs
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Processing Pages
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Unknown Token: gridEndCenter
Error: -1 outside of string table limits
DeDRM v6.4.1: Ultimately failed to decrypt after 54.8 seconds.
Read the FAQs at Alf's blog: http://apprenticealf.wordpress.com/
Running file type plugin DeDRM failed with traceback:
Traceback (most recent call last):
File "site-packages\calibre\customize\ui.py", line 154, in _run_filetype_plugins
File "calibre_plugins.dedrm.init", line 597, in run
File "calibre_plugins.dedrm.init", line 547, in KindleMobiDecrypt
DeDRMError: DeDRM v6.4.1: Ultimately failed to decrypt after 54.8 seconds
Added Annuaires LDAP (French Edition) to db in: 1.6
Added 1 books in 57.2 seconds
Started up in 68.51 seconds with 51 books
Worker Launch took: 0.281000137329
if you want I upload the book and the .kinf2011 key on my server.
thanks in advance
Thanks apprenticeharper for the quick reply to my problem hopefully there will be a fix :)
Congratulations, mickaelmarin , you've found another Topaz book with a new tag. You need to post that exect book file somewhere I can get it, so that I can reproduce and, I hope, fix the problem.
xapim: I've just pushed a fix for your bug, but I haven't made a full release yet, seeing as there's another Topaz bug just been reported. If you get the source you should be able to get things working for your four (very small!) Topaz books.
I upload the book can not be converted for you tomorrow
Hi again apprenticeharper i saw the changes u did to the genbook.py so i copied the code to notepad ++ and created a new file and replaced it for the one in the DeDRM_plugin.zip uninstalled the plugin installed it again and restarted calibre also checked in app data roaming calibre plugins folder if the zip had the file i modified restarted calibre again in debug mode added the books and converted all worked fine thanks very much im sure amazon will keep making changes to topaz books so there will always be a challenge to dedrm those books
v6.4.1 did successfully unlock my book on import, but I had to have calibre in debug mode in order for it to work. Of course this makes it really difficult to tell what's going on because there is no debug log of the failure to examine. Does anyone have any idea on how one might get around this to get some diagnostic information from the "normal" mode so that it would be possible to diagnose (and fix) the problem?
Hi rpspringuel if it worked on debug mode should work on normal too as far as i know the debug is the same as normal the difference is that creates the log to find any issues but correct me if im wrong :) at least here ist working when i add the awz books i couldnt open or convert calibre convert the files to htmlz after adding them to the library and i can open them and convert to any format
That's the theory, but I've found that it does not always appear to be the practice for some reason.
✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝ Br. Samuel, OSB (R. Padraic Springuel) PAX ☧ ΧΡΙΣΤΟΣ
On Apr 14, 2016, at 5:59 PM, xapim notifications@github.com wrote:
Hi if it worked on debug mode should work on normal too as far as i know the debug is the same as normal the difference is that creates the log to find any issues but correct me if im wrong :)
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub
rpsringuel, What OS? I've seen people with Macs report that before when trying to troubleshoot other issues.
Mac OS 10.10.5.
When in non-debug mode, check the plugin's customisation dialogs to make sure there's a default kindle key in there. Perhaps, somehow, the debug and normal mode are getting different preferences?
You could also try (for diagnostic purposes) adding the PID for that specific book to the list of 'Mobipocket' PIDs in the plugin's customisation dialogs. That will test whether it's the actual decryption, or the obtaining of the book key that's failing.
(The PID is the eight character code that appears in the last 'Trying' line before the 'Book Key Found!' line of the log.)
Finally, you might report this to Kovid at the calibre support site, although giving a test case is going to be tricky, since Kovid won't have anything to do with the DeDRM plugin. Perhaps a general report that an import plugin is failing in ordinary mode, but succeeding in debug mode will do.
I've opened this thread at mobileread.com to try and get as much help as Kovid (and any other expert over there) is willing and able to provide (without naming the DeDRM plugin, which would be against that site's policies).
I'll try the PID over the weekend. Unfortunately I have a deadline to meet today that will prevent me from doing anything sooner.
hi,
i upload my book I can't convert on my server, you can download this books:
mickael
I've checked and in non-debug mode, the plugin does show the appropriate keys.
Further, I tried the PID and got the same results. When in non-debug mode the book was not decrypted on import, but when in debug mode it was. This test was done on a 10.11.4 VM running calibre 2.55.0.
Are there any timing or threading issues in the decrypting process?
Based on the information which Kovid provided in the thread I previously linked, I was able to find the log for the failed decryption attempt I tried using the PID the other day (results have been filtered to show only calibre related messages):
Apr 15 16:52:58 Developments-iMac calibre[437] <Notice>: DeDRM v6.4.1: Copying needed library files from plugin's zip
Apr 15 16:52:58 Developments-iMac calibre[437] <Notice>: DeDRM v6.4.1: Importing configuration data from old DeDRM plugins
Apr 15 16:52:58 Developments-iMac calibre[437] <Notice>: DeDRM v6.4.1: Finished setting up configuration data.
Apr 15 23:41:16 Developments-iMac calibre[510] <Notice>: DeDRM v6.4.1: Trying to decrypt B004A16MN4_EBOK.azw
Apr 15 23:41:17 Developments-iMac calibre[510] <Notice>: Using Library AlfCrypto DLL/DYLIB/SO
Apr 15 23:41:17 Developments-iMac calibre[510] <Notice>: Decrypting Topaz ebook: The Writings of the New Testament
Apr 15 23:41:17 Developments-iMac calibre[510] <Notice>: Found 1 keys to try after 0.2 seconds
Apr 15 23:41:17 Developments-iMac calibre[510] <Notice>: Trying: s8lYRLRw
Apr 15 23:41:17 Developments-iMac calibre[510] <Notice>: Book Key Found! (3a672c0baa473755)
Apr 15 23:41:17 Developments-iMac calibre[510] <Notice>: Processing Section: glyphs
Apr 15 23:41:17 Developments-iMac calibre[510] <Notice>: . . . . .
[[[Several statements like the above with an increasing number of "." have been deleted due to Github's character limit]]]
Apr 15 23:41:17 Developments-iMac calibre[510] <Notice>: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Apr 15 23:41:17 Developments-iMac calibre[510] <Notice>: Processing Section: img
Apr 15 23:41:17 Developments-iMac calibre[510] <Notice>: . . . . .
[[[Several statements like the above with an increasing number of "." have been deleted due to Github's character limit]]]
Apr 15 23:41:18 Developments-iMac calibre[510] <Notice>: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Apr 15 23:41:18 Developments-iMac calibre[510] <Notice>: Processing Section: color
Apr 15 23:41:18 Developments-iMac calibre[510] <Notice>: . . . . .
[[[Several statements like the above with an increasing number of "." have been deleted due to Github's character limit]]]
Apr 15 23:41:19 Developments-iMac calibre[510] <Notice>: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Apr 15 23:41:19 Developments-iMac calibre[510] <Notice>: Processing Section: metadata
Apr 15 23:41:19 Developments-iMac calibre[510] <Notice>: . . . .
Apr 15 23:41:19 Developments-iMac calibre[510] <Notice>: Processing Section: dict
Apr 15 23:41:19 Developments-iMac calibre[510] <Notice>: . . . .
Apr 15 23:41:19 Developments-iMac calibre[510] <Notice>: Processing Section: page
Apr 15 23:41:19 Developments-iMac calibre[510] <Notice>: . . . . .
[[[Several statements like the above with an increasing number of "." have been deleted due to Github's character limit]]]
Apr 15 23:41:20 Developments-iMac calibre[510] <Notice>: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Apr 15 23:41:20 Developments-iMac calibre[510] <Notice>: Running file type plugin DeDRM failed with traceback:
Apr 15 23:41:20 Developments-iMac calibre[510] <Notice>: Traceback (most recent call last):
Apr 15 23:41:20 Developments-iMac calibre[510] <Notice>: File "site-packages/calibre/customize/ui.py", line 154, in _run_filetype_plugins
Apr 15 23:41:20 Developments-iMac calibre[510] <Notice>: File "calibre_plugins.dedrm.__init__", line 597, in run
Apr 15 23:41:20 Developments-iMac calibre[510] <Notice>: File "calibre_plugins.dedrm.__init__", line 509, in KindleMobiDecrypt
Apr 15 23:41:20 Developments-iMac calibre[510] <Notice>: File "calibre_plugins.dedrm.__init__", line 91, in write
Apr 15 23:41:20 Developments-iMac calibre[510] <Notice>: IOError: [Errno 32] Broken pipe
In debug mode, importing the same book produces the following log file (a successful decryption):
calibre Debug log
calibre 2.55 embedded-python: True is64bit: True
Darwin-15.4.0-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '15.4.0', 'Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05 PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64')
Python 2.7.11
OSX: ('10.11.4', ('', '', ''), 'x86_64')
Successfully initialized third party plugins: DeDRM
Starting up...
Started up in 4.07 seconds with 1 books
DeDRM v6.4.1: Trying to decrypt B004A16MN4_EBOK.azw
Using Library AlfCrypto DLL/DYLIB/SO
Decrypting Topaz ebook: The Writings of the New Testament
Found 1 keys to try after 0.1 seconds
Trying: s8lYRLRw
Book Key Found! (3a672c0baa473755)
Processing Section: metadata
. . . .
Processing Section: dict
. . . .
Processing Section: glyphs
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Processing Section: page
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Processing Section: img
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Processing Section: color
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Processing Section: other
. . . .
Successfully Extracted Topaz contents
Updating to color images if available
Creating cover.jpg
Processing Dictionary
Processing Meta Data and creating OPF
Processing StyleSheet
Using font size: 101
Using page height: 13320
Using page width: 10800
Processing Glyphs
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Processing Pages
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Making region type graphic5524 a "graphic" region
. . . . . . . . . . . . . . . . Making region type graphic8298 a "graphic" region
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Making region type graphic194 a "graphic" region
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Making region type graphic974 a "graphic" region
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Making region type graphic974 a "graphic" region
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Extracting Table of Contents from Amazon OCR
Preface to the Third Edition|0009
Preface to the Second Edition|0016
Preface to the First Edition|0020
Abbreviations|0025
INTRODUCTION|0029
I. THE GRECO-ROMAN WORLD|0051
2. JUDAISM IN PALESTINE|0084
3. DIASPORA JUDAISM|0119
4. THE CLAIMS OF THE FIRST CHRISTIANS|0150
S. THE RESURRECTION FAITH|0166
6. JESUS IN THE MEMORY OF THE CHURCH I I|0188
7. THE GOSPEL OF MARK|0230
8. THE GOSPEL OF MATTHEW|0260
9. LUKE-ACTS|0294
10. PAUL'S MINISTRY AND LETTERS|0357
II. I AND 2 THESSALONIANS|0383
12. THE CORINTHIAN CORRESPONDENCE|0401
13. THE LETTER TO THE GALATIANS|0442
14. THE LETTER TO THE ROMANS|0465
15. THE LETTER TO THE PHILIPPIANS|0496
16. THE LETTER TO PHILEMON|0513
17. THE LETTER TO THE COLOSSIANS|0530
18. THE LETTER TO THE EPHESIANS|0548
19. PASTORAL LETTERS: i TIMOTHY, 2 TIMOTHY, TITUS|0570
20. THE LETTER TO THE HEBREWS|0609
21. I PETER|0631
22. 2 PETER AND JUDE|0651
23. THE LETTER OF JAMES|0666
24. THE GOSPEL OF JOHN|0688
25. I, 2, AND 3 JOHN|0729
26. THE BOOK OF REVELATION|0744
EPILOGUE: THE NEW TESTAMENT AS THE CHURCH'S BOOK|0771
APPENDIX I: NEW APPROACHES TO THE NEW TESTAMENT|0797
APPENDIX 2: THE HISTORICAL JESUS|0809
Glossary|0818
Index of Subjects|0828
Acknowledgments|0835
Building svg images of each book page
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Processing Complete
Book Successfully generated
Decryption succeeded after 57.1 seconds
DeDRM v6.4.1: Finished after 59.9 seconds
Added The Writings of the New Testament to db in: 0.6
Added 1 books in 65.1 seconds
Thanks. That's very useful information. It seems that by writing to stdout, the plugin is causing a problem in normal mode. I'll take a look at possible fixes.
@mickaelmarin: Thanks for the files. I can now duplicate the error, and I'll work on a fix.
All known Topaz issues are fixed. Any further Topaz problems should be in a new issue. I'll start a new issue for the problem with broken pipes.
I have a Kindle eBook with a .azw extension that reports as .tpz on erroring out the title is Thirty Years That Changed the World The Book Acts for Today by Michael Green it is a 3,033 KB File, I'm using DeDRM_tools_7.2.1.zip it unlocks All Previous .azw & .mobi files with no problem using both the PC ID & a Kindle PW ID - - This one Title that calibre reports as a .tpz file on error out. Any Help Appreciated !!!! Thanks
What version of calibre?
5.26 64 bit - I do not believe that moving to a newer version will not change the fact, of unlocking this !!! It unlocks ALL Previous .azw .azw3 & .mobi titles unlock perfectly ????
Just making sure you weren't on calibre 6 because you'd need DeDRM 10.0.3 for that. You might actually have luck with older calibre 4.23 and DeDRM 6.8.1.
Thanks !!! Used the portable apps version on a Flash Drive to use the older calibre 4.23 and DeDRM 6.8.1. works to get the HTMLZ version... A lot of trouble to go though ....
Glad that worked...thanks for reporting back.
I have 3 books which are relatively recent purchases on my Kindle which I'm adding to my calibre library for the first time. When I added them to the library they did not have their DRM removed. So after updating DeDRM and calibre I tried again to the same result. I also tried downloading them using Kindle for Mac and importing them from those files, and again the DRM stayed in tact. The books are added to the library (two in azw1 format, one in azw when working form the Kindle, the azw1 ones become tpz format when working from Kindle for Mac downloads), I just can't do anything with them (other than put them back on the device they came from).
After restarting calibre in debug mode, and trying again, two of the books did import correctly (from the Kindle) and are now in my library DRM free. The third, however, is not . Below is the (anonymized) log from the debug sessions (the first from when I was importing from the Kindle, the second from Kindle for Mac). Any advice on why the import would work in debug mode but not regular mode for the first two books and why it won't work at all for the third is appreciated.
First log:
Second log: