apprenticeharper / DeDRM_tools

DeDRM tools for ebooks
14.46k stars 1.49k forks source link

Topaz format book causes the tools to crash #66

Closed rpspringuel closed 8 years ago

rpspringuel commented 8 years ago

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:

Traceback (most recent call last):
  File "site-packages/calibre/web/feeds/recipes/collection.py", line 110, in get_custom_recipe_collection
IOError: [Errno 2] No such file or directory: u'/Users/XXXUSERXXX/Library/Preferences/calibre/custom_recipes/Vatican_1000.recipe'
calibre Debug log
calibre 2.49  isfrozen: True is64bit: True
Darwin-14.5.0-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '14.5.0', 'Darwin Kernel Version 14.5.0: Tue Sep  1 21:23:09 PDT 2015; root:xnu-2782.50.1~1/RELEASE_X86_64')
Python 2.7.9
OSX: ('10.10.5', ('', '', ''), 'x86_64')
Successfully initialized third party plugins: DeDRM && Hyphenate This! && Webscription && KindleUnpack - The Plugin && Goodreads && SmartEject && Find Duplicates && Barnes & Noble
Starting up...
Failed to load recipe from: u'Vatican_1000.recipe'
Started up in 6.22 seconds with 327 books
2016-01-20 20:34:30.619 Calibre[8927:842704] deliverNotificationWithTitle()
* Notification delivered.
Job: 1 Get device information started
DeviceJob: 1 Get device information done, calling callback
DeviceJob: 1 Get device information callback returned
Job: 2 Set library information started
DeviceJob: 2 Set library information done, calling callback
DeviceJob: 2 Set library information callback returned
Job: 3 Get list of books on device started
DEBUG:    0.0 USBMS: Fetching list of books from device. Device= KINDLE2 oncard= None
DEBUG:    0.0 USBMS: dirs are: /Volumes/Kindle/ documents
Job: 2 Set library information finished
No details available.
Job: 1 Get device information finished
No details available.
DEBUG:    0.4 USBMS: scan from root False /Volumes/Kindle/documents
DEBUG:    0.4 USBMS: count found in cache: 113, count of files in metadata: 113, need_sync: False
DEBUG:    0.4 USBMS: Finished fetching list of books from device. oncard= None
DEBUG:    0.5 USBMS: Fetching list of books from device. Device= KINDLE2 oncard= carda
DEBUG:    0.5 USBMS: Fetching list of books from device. Device= KINDLE2 oncard= cardb
DeviceJob: 3 Get list of books on device done, calling callback
DeviceJob: metadata_downloaded: Starting set_books_in_library
DeviceJob: set_books_in_library: books to process= 113
DeviceJob: set_books_in_library finished: time= 0.0476670265198
DeviceJob: metadata_downloaded: updating views
DeviceJob: metadata_downloaded: syncing
DeviceJob: metadata_downloaded: refreshing ondevice
DeviceJob: metadata_downloaded: sending metadata_available signal
DeviceJob: 3 Get list of books on device callback returned
Job: 3 Get list of books on device finished
No details available.
Job: 4 Prepare files for transfer from device started
DeviceJob: 4 Prepare files for transfer from device done, calling callback
DeviceJob: 4 Prepare files for transfer from device callback returned
Job: 4 Prepare files for transfer from device finished
No details available.
DeDRM v6.3.6: Trying to decrypt The Lost Art of Listening Second-asin_B005CWSC0Q-type_EBOK-v_0.azw
Using Library AlfCrypto DLL/DYLIB/SO
MobiDeDrm v0.41.
Copyright © 2008-2012 The Dark Reverser et al.
MOBI header version 6, header length 232
Extra Data Flags: 3
Decrypting Mobipocket 6 ebook: The Lost Art of Listening, Second Edition: How Learning to Listen Can Improve Relationships
Found 8 keys to try after 0.3 seconds
Crypto Type is: 2
File is encoded with PID L0ovir6RHZ.
Decrypting. Please wait . . . . . done
Decryption succeeded after 0.3 seconds
DeDRM v6.3.6: Finished after 0.3 seconds
Added The Lost Art of Listening, Second Edition: How Learning to Listen Can Improve Relationships to db in: 0.2
Added 1 books in 3.9 seconds
Worker Launch took: 0.246885061264
DeviceJob: set_books_in_library: books to process= 113
DeviceJob: set_books_in_library finished: time= 0.103657007217
Worker Launch took: 0.610222101212
Job: 5 Convert book 1 of 1 (The Lost Art of Listening, Second Edition: How Learning to Listen Can Improve Relationships) finished
Convert book 1 of 1 (The Lost Art of Listening, Second Edition: How Learning to Listen Can Improve Relationships)
    Resolved conversion options
    calibre version: 2.49.0
    {'asciiize': False,
     'author_sort': None,
     'authors': None,
     'base_font_size': 0.0,
     'book_producer': None,
     'change_justification': 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': u'/var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/T/calibre_2.49.0_tmp_9Shvrw/5ZdfF7.jpeg',
     'debug_pipeline': None,
     'dehyphenate': True,
     'delete_blank_paragraphs': True,
     'disable_font_rescaling': False,
     'dont_compress': False,
     'duplicate_links_in_toc': False,
     'embed_all_fonts': False,
     'embed_font_family': None,
     'enable_heuristics': False,
     'expand_css': False,
     'extra_css': None,
     'extract_to': 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 0x1136761d0>,
     '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,
     'mobi_toc_at_start': False,
     'no_chapters_in_toc': False,
     'no_inline_navbars': False,
     'no_inline_toc': False,
     'output_profile': <calibre.customize.profiles.KindleOutput object at 0x113676890>,
     'page_breaks_before': u"//*[name()='h1' or name()='h2']",
     'prefer_author_sort': False,
     'prefer_metadata_cover': False,
     'pretty_print': False,
     'pubdate': None,
     'publisher': None,
     'rating': None,
     'read_metadata_from_opf': u'/var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/T/calibre_2.49.0_tmp_9Shvrw/MQjsgR.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,
     'share_not_sync': False,
     '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,
     'unsmarten_punctuation': False,
     'unwrap_lines': True,
     'use_auto_toc': False,
     'verbose': 2}
    InputFormatPlugin: MOBI Input running
    on /var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/T/calibre_2.49.0_tmp_9Shvrw/nLQpl9.mobi
    Extracting text...
    Adding anchors...
    Extracting images...
    Cleaning up HTML...
    Parsing HTML...
    Converting style information to CSS...
    Creating OPF...
    Parsing all content...
    Parsing index.html ...
    Forcing index.html into XHTML namespace
    Parsing styles.css ...
    Reading TOC from NCX...
    Merging user specified metadata...
    Detecting structure...
        Detected chapter: Part One• • •The Yearningto Be Understood
        Detected chapter: Part Two• • •The Real Reasons People Don’t Listen
        Detected chapter: Part Three• • •Getting Through to Each Other
        Detected chapter: Part Four• • •Listening in Context
        Detected chapter: Epilogue
    Flattening CSS and remapping font sizes...
    Source base font size is 12.00000pt
    Removing fake margins...
    Found 643 items of level: div_1
    Found 56 items of level: div_2
    Found 223 items of level: div_3
    Found 9 items of level: p_7
    Found 30 items of level: p_6
    Found 9 items of level: p_5
    Found 49 items of level: p_4
    Found 682 items of level: p_3
    Found 90 items of level: p_2
    Found 1873 items of level: p_1
    Ignoring level p_7
    Ignoring level p_5
    div_1  left margin stats: Counter({u'': 133})
    div_1  right margin stats: Counter({u'': 133})
    div_2  left margin stats: Counter({u'': 7})
    div_2  right margin stats: Counter({u'': 7})
    div_3  left margin stats: Counter({u'': 223})
    div_3  right margin stats: Counter({u'': 223})
    Negative text indent detected at level  p_6, ignoring this level
    Negative text indent detected at level  p_4, ignoring this level
    p_3  left margin stats: Counter({u'0': 682})
    p_3  right margin stats: Counter({u'0': 682})
    Negative text indent detected at level  p_2, ignoring this level
    p_1  left margin stats: Counter({u'0': 1873})
    p_1  right margin stats: Counter({u'0': 1873})
    Cleaning up manifest...
    Trimming unused files from manifest...
    Trimming u'images/00002.jpg' from manifest
    Trimming u'images/00003.jpg' from manifest
    Creating AZW3 Output...
    Serializing resources...
    Splitting markup on page breaks and flow limits, if any...
            Splitting on page-break at id=calibre_pb_0
            Splitting on page-break at id=calibre_pb_1
            Splitting on page-break at id=filepos1577
            Splitting on page-break at id=calibre_pb_3
            Splitting on page-break at id=filepos4080
            Splitting on page-break at id=calibre_pb_5
            Splitting on page-break at id=filepos10073
            Splitting on page-break at id=calibre_pb_7
            Splitting on page-break at id=calibre_pb_8
            Splitting on page-break at id=filepos25372
            Splitting on page-break at id=calibre_pb_10
            Splitting on page-break at id=filepos25639
            Splitting on page-break at id=calibre_pb_12
            Splitting on page-break at id=calibre_pb_13
            Splitting on page-break at id=calibre_pb_14
            Splitting on page-break at id=calibre_pb_15
            Splitting on page-break at id=calibre_pb_16
            Splitting on page-break at id=calibre_pb_17
            Splitting on page-break at id=filepos70751
            Splitting on page-break at id=calibre_pb_19
            Splitting on page-break at id=calibre_pb_20
            Splitting on page-break at id=calibre_pb_21
            Splitting on page-break at id=calibre_pb_22
            Splitting on page-break at id=calibre_pb_23
            Splitting on page-break at id=calibre_pb_24
            Splitting on page-break at id=calibre_pb_25
            Splitting on page-break at id=filepos121524
            Splitting on page-break at id=calibre_pb_27
            Splitting on page-break at id=calibre_pb_28
            Splitting on page-break at id=calibre_pb_29
            Splitting on page-break at id=calibre_pb_30
            Splitting on page-break at id=calibre_pb_31
            Splitting on page-break at id=calibre_pb_32
            Splitting on page-break at id=calibre_pb_33
            Splitting on page-break at id=calibre_pb_34
            Splitting on page-break at id=calibre_pb_35
            Splitting on page-break at id=calibre_pb_36
            Splitting on page-break at id=filepos204642
            Splitting on page-break at id=calibre_pb_38
            Splitting on page-break at id=filepos204927
            Splitting on page-break at id=calibre_pb_40
            Splitting on page-break at id=calibre_pb_41
            Splitting on page-break at id=calibre_pb_42
            Splitting on page-break at id=calibre_pb_43
            Splitting on page-break at id=calibre_pb_44
            Splitting on page-break at id=calibre_pb_45
            Splitting on page-break at id=calibre_pb_46
            Splitting on page-break at id=filepos273420
            Splitting on page-break at id=calibre_pb_48
            Splitting on page-break at id=calibre_pb_49
            Splitting on page-break at id=calibre_pb_50
            Splitting on page-break at id=calibre_pb_51
            Splitting on page-break at id=calibre_pb_52
            Splitting on page-break at id=calibre_pb_53
            Splitting on page-break at id=calibre_pb_54
            Splitting on page-break at id=filepos316580
            Splitting on page-break at id=calibre_pb_56
            Splitting on page-break at id=calibre_pb_57
            Splitting on page-break at id=calibre_pb_58
            Splitting on page-break at id=calibre_pb_59
            Splitting on page-break at id=calibre_pb_60
            Splitting on page-break at id=calibre_pb_61
            Splitting on page-break at id=calibre_pb_62
            Splitting on page-break at id=calibre_pb_63
            Splitting on page-break at id=calibre_pb_64
            Splitting on page-break at id=calibre_pb_65
            Splitting on page-break at id=filepos389216
            Splitting on page-break at id=calibre_pb_67
            Splitting on page-break at id=filepos389481
            Splitting on page-break at id=calibre_pb_69
            Splitting on page-break at id=calibre_pb_70
            Splitting on page-break at id=calibre_pb_71
            Splitting on page-break at id=calibre_pb_72
            Splitting on page-break at id=calibre_pb_73
            Splitting on page-break at id=calibre_pb_74
            Splitting on page-break at id=calibre_pb_75
            Splitting on page-break at id=calibre_pb_76
            Splitting on page-break at id=calibre_pb_77
            Splitting on page-break at id=calibre_pb_78
            Splitting on page-break at id=calibre_pb_79
            Splitting on page-break at id=filepos441524
            Splitting on page-break at id=calibre_pb_81
            Splitting on page-break at id=calibre_pb_82
            Splitting on page-break at id=calibre_pb_83
            Splitting on page-break at id=calibre_pb_84
            Splitting on page-break at id=calibre_pb_85
            Splitting on page-break at id=calibre_pb_86
            Splitting on page-break at id=calibre_pb_87
            Splitting on page-break at id=calibre_pb_88
            Splitting on page-break at id=filepos497150
            Splitting on page-break at id=calibre_pb_90
            Splitting on page-break at id=calibre_pb_91
            Splitting on page-break at id=calibre_pb_92
            Splitting on page-break at id=calibre_pb_93
            Splitting on page-break at id=calibre_pb_94
            Splitting on page-break at id=calibre_pb_95
            Splitting on page-break at id=calibre_pb_96
            Splitting on page-break at id=calibre_pb_97
            Splitting on page-break at id=calibre_pb_98
            Splitting on page-break at id=calibre_pb_99
            Splitting on page-break at id=filepos576727
            Splitting on page-break at id=calibre_pb_101
            Splitting on page-break at id=filepos576982
            Splitting on page-break at id=calibre_pb_103
            Splitting on page-break at id=calibre_pb_104
            Splitting on page-break at id=calibre_pb_105
            Splitting on page-break at id=calibre_pb_106
            Splitting on page-break at id=calibre_pb_107
            Splitting on page-break at id=calibre_pb_108
            Splitting on page-break at id=calibre_pb_109
            Splitting on page-break at id=calibre_pb_110
            Splitting on page-break at id=calibre_pb_111
            Splitting on page-break at id=calibre_pb_112
            Splitting on page-break at id=calibre_pb_113
            Splitting on page-break at id=calibre_pb_114
            Splitting on page-break at id=filepos664583
            Splitting on page-break at id=calibre_pb_116
            Splitting on page-break at id=calibre_pb_117
            Splitting on page-break at id=calibre_pb_118
            Splitting on page-break at id=calibre_pb_119
            Splitting on page-break at id=filepos713958
            Splitting on page-break at id=calibre_pb_121
            Splitting on page-break at id=calibre_pb_122
            Splitting on page-break at id=calibre_pb_123
            Splitting on page-break at id=calibre_pb_124
            Splitting on page-break at id=calibre_pb_125
            Splitting on page-break at id=calibre_pb_126
            Splitting on page-break at id=filepos796964
            Splitting on page-break at id=calibre_pb_128
            Splitting on page-break at id=calibre_pb_129
            Splitting on page-break at id=calibre_pb_130
            Splitting on page-break at id=calibre_pb_131
            Splitting on page-break at id=calibre_pb_132
            Splitting on page-break at id=calibre_pb_133
            Splitting on page-break at id=calibre_pb_134
            Splitting on page-break at id=calibre_pb_135
            Splitting on page-break at id=calibre_pb_136
            Splitting on page-break at id=calibre_pb_137
            Splitting on page-break at id=calibre_pb_138
            Splitting on page-break at id=calibre_pb_139
            Splitting on page-break at id=calibre_pb_2016-01-20 20:35:18.621 Calibre[8936:844217] deliverNotificationWithTitle()
* Notification delivered.
DeDRM v6.3.6: Trying to decrypt Word and Object Studies in Commu-asin_B002YK4W08-type_EBOK-v_0.azw1
Using Library AlfCrypto DLL/DYLIB/SO
Decrypting Topaz ebook: Word and Object (Studies in Communication)
Found 8 keys to try after 0.2 seconds
Trying: YSUECGEM
Trying: gsT9bl2i
Trying: jTGNPDo7
Trying: 2VbsOEu3
Trying: I1lx90LX
Book Key Found! (43ca82455a035af5)
Processing Section: color
. . . . . . .  
Processing Section: metadata
. . . .  
Processing Section: glyphs
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .140
            Splitting on page-break at id=filepos867730
            Splitting on page-break at id=calibre_pb_142
            Splitting on page-break at id=filepos882920
            Splitting on page-break at id=calibre_pb_144
            Splitting on page-break at id=filepos932984
            Splitting on page-break at id=calibre_pb_146
            Splitting on page-break at id=filepos933459
            Splitting on page-break at id=calibre_pb_148
        Split into 119 parts
    Creating KF8 output
        Generating KF8 markup...
        Compressing markup...
        Creating indices...
    AZW3 output written to /var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/T/calibre_2.49.0_tmp_9Shvrw/ombZgJ.azw3

Job: 7 Prepare files for transfer from device started
DeviceJob: 7 Prepare files for transfer from device done, calling callback
DeviceJob: 7 Prepare files for transfer from device callback returned
Job: 7 Prepare files for transfer from device finished
No details available.
 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
Processing Section: img
. . . . . . .  
Processing Section: other
. . . .  
Processing Section: dict
. . . .  
Processing Section: page
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
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: 11635
           Using page width: 7200
Processing Glyphs
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
Processing Pages
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
Extracting Table of Contents from Amazon OCR
1 Beginning with ordinary things|0021
2 The objective pull; or, e pluribus unum|0027
3 The interanimation of sentences|0031
4 Ways of learning words|0036
5 Evidence|0040
6 Posits and truth|0044
7 First steps of radical translation|0049
8 Stimulation and stimulus meaning|0055
9 Occasion sentences. Intrusive information|0059
10 Observation sentences|0065
11 Intrasubjective synonymy of occasion sentences|0071
12 Synonymy of terms|0076
13 Translating logical connectives|0082
14 Synonymous and analytic sentences|0087
15 Analytical hypotheses|0096
16 On failure to perceive the indeterminacy|0101
17 Words and qualities|0109
18 Phonetic norms|0116
19 Divided reference|0121
20 Predication|0128
21 Demonstratives. Attributives|0134
22 Relative terms. Four phases of reference|0139
23 Relative clauses. Indefinite singular terms|0144
24 Identity|0148
25 Abstract terms|0153
26 Vagueness|0160
27 Ambiguity of terms|0165
28 Some ambiguities of syntax|0171
29 Ambiguity of scope|0175
30 Referential opacity|0178
31 Opacity and indefinite terms|0183
32 Opacity in certain verbs|0189
33 Aims and claims of regimentation|0195
34 Quantifiers and other operators|0200
35 Variables and referential opacity|0205
36 Time. Confinement of general terms|0209
37 Names reparsed|0215
38 Conciliatory remarks. Elimination of singular terms|0220
39 Definition and the double life|0225
40 Propositions and eternal sentences|0230
41 Modality|0236
42 Propositions as meanings|0243
43 Toward dispensing with intensional objects|0250
44 Other objects for the attitudes|0256
45 The double standard|0262
46 Dispositions and conditionals|0268
47 A framework for theory|0272
48 Nominalism and realism|0279
49 False predilections. Ontic commitment|0284
50 Entia non grata|0289
51 Limit myths|0294
52 Geometrical objects|0297
53 The ordered pair as philosophical paradigm|0303
54 Numbers, mind, and body|0308
55 Whither classes?|0314
56 Semantic ascent|0318
Bibliographical References|0325
Index|0335
Building svg images of each book page
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
Processing Complete
Book Successfully generated
Decryption succeeded after 35.0 seconds
DeDRM v6.3.6: Finished after 36.3 seconds
DeDRM v6.3.6: Trying to decrypt The Writings of the New Testamen-asin_B004A16MN4-type_EBOK-v_0.azw1Added Word and Object (Studies in Communication) to db in: 0.2
Added 1 books in 37.5 seconds
Worker Launch took: 0.241107940674
DeviceJob: set_books_in_library: books to process= 113
DeviceJob: set_books_in_library finished: time= 0.0548031330109
Worker Launch took: 0.0744831562042
Job: 10 Prepare files for transfer from device started
DeviceJob: 10 Prepare files for transfer from device done, calling callback
DeviceJob: 10 Prepare files for transfer from device callback returned
Job: 10 Prepare files for transfer from device finished
No details available.

Using Library AlfCrypto DLL/DYLIB/SO
Decrypting Topaz ebook: The Writings of the New Testament
Found 8 keys to try after 0.4 seconds
Trying: YSUECGEM
Trying: 8YrkYFCE
Trying: 6F5qD6Qu
Trying: mQManzS4
Trying: ekLVrd74
Book Key Found! (3a672c0baa473755)
Processing Section: color
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
Processing Section: img
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
Processing Section: dict
. . . .  
Processing Section: metadata
. . . .  
Processing Section: glyphs
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
Processing Section: page
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
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
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DeDRM v6.3.6: Failed to decrypt with error: list index out of range
DeDRM v6.3.6: Looking for new default Kindle Key after 22.2 seconds
Found k4Mac kinf2011 file: /Users/XXXUSERXXX/Library/Containers/com.amazon.Kindle/Data/Library/Application Support/Kindle/storage/.kinf2011
Decrypted key file using IDString 'WD-WCAT1D077144' and UserName 'XXXUSERXXX'
DeDRM v6.3.6: Found 1 new key
Decrypting Topaz ebook: The Writings of the New Testament
Found 4 keys to try after 28.1 seconds
Trying: YSUECGEM
Trying: 8YrkYFCE
Trying: 6F5qD6Qu
Trying: mQManzS4
DeDRM v6.3.6: Ultimately failed to decrypt after 28.1 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 152, 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.3.6: Ultimately failed to decrypt after 28.1 seconds
Added The Writings of the New Testament to db in: 0.3
Added 1 books in 29.9 seconds
DeviceJob: set_books_in_library: books to process= 113
DeviceJob: set_books_in_library finished: time= 0.0213799476624
Job: 8 Convert book 1 of 1 (Word and Object (Studies in Communication)) finished
Convert book 1 of 1 (Word and Object (Studies in Communication))
    Resolved conversion options
    calibre version: 2.49.0
    {'asciiize': False,
     'author_sort': None,
     'authors': None,
     'base_font_size': 0.0,
     'book_producer': None,
     'change_justification': 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': u'/var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/T/calibre_2.49.0_tmp_9Shvrw/FAmy9g.jpeg',
     'debug_pipeline': None,
     'dehyphenate': True,
     'delete_blank_paragraphs': True,
     'disable_font_rescaling': False,
     'dont_compress': False,
     'duplicate_links_in_toc': False,
     'embed_all_fonts': False,
     'embed_font_family': None,
     'enable_heuristics': False,
     'expand_css': False,
     'extra_css': None,
     'extract_to': 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 0x1134d31d0>,
     '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,
     'mobi_toc_at_start': False,
     'no_chapters_in_toc': False,
     'no_inline_navbars': False,
     'no_inline_toc': False,
     'output_profile': <calibre.customize.profiles.KindleOutput object at 0x1134d3890>,
     'page_breaks_before': u"//*[name()='h1' or name()='h2']",
     'prefer_author_sort': False,
     'prefer_metadata_cover': False,
     'pretty_print': False,
     'pubdate': None,
     'publisher': None,
     'rating': None,
     'read_metadata_from_opf': u'/var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/T/calibre_2.49.0_tmp_9Shvrw/cHZBh3.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,
     'share_not_sync': False,
     '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,
     'unsmarten_punctuation': False,
     'unwrap_lines': True,
     'use_auto_toc': False,
     'verbose': 2}
    InputFormatPlugin: HTLZ Input running
    on /var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/T/calibre_2.49.0_tmp_9Shvrw/Zz35dc.htmlz
    Language not specified
    Building file list...
        Found files...
             HTMLFile:0:a:/private/var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/T/calibre_2.49.0_tmp_9Shvrw/zyoNYq_plumber/index.html
    Normalizing filename cases
    Rewriting HTML links
    Parsing index.html ...
    Added /private/var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/t/calibre_2.49.0_tmp_9shvrw/zyonyq_plumber/style.css
    Parsing style.css ...
    Added /private/var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/t/calibre_2.49.0_tmp_9shvrw/zyonyq_plumber/img/img0000.jpg
    Added /private/var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/t/calibre_2.49.0_tmp_9shvrw/zyonyq_plumber/img/page0006_0000.svg
    Added /private/var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/t/calibre_2.49.0_tmp_9shvrw/zyonyq_plumber/img/img0001.jpg
    Added /private/var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/t/calibre_2.49.0_tmp_9shvrw/zyonyq_plumber/img/page0006_0001.svg
    Added /private/var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/t/calibre_2.49.0_tmp_9shvrw/zyonyq_plumber/img/page0007_0000.svg
    Added /private/var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/t/calibre_2.49.0_tmp_9shvrw/zyonyq_plumber/img/page0007_0001.svg
    Added /private/var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/t/calibre_2.49.0_tmp_9shvrw/zyonyq_plumber/img/page0007_0002.svg
    Added /private/var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/t/calibre_2.49.0_tmp_9shvrw/zyonyq_plumber/img/page0172_0000.svg
    Added /private/var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/t/calibre_2.49.0_tmp_9shvrw/zyonyq_plumber/img/page0180_0000.svg
    Added /private/var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/t/calibre_2.49.0_tmp_9shvrw/zyonyq_plumber/img/page0208_0000.svg
    Added /private/var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/t/calibre_2.49.0_tmp_9shvrw/zyonyq_plumber/img/page0208_0001.svg
    Added /private/var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/t/calibre_2.49.0_tmp_9shvrw/zyonyq_plumber/img/page0208_0002.svg
    Added /private/var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/t/calibre_2.49.0_tmp_9shvrw/zyonyq_plumber/img/page0208_0003.svg
    Added /private/var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/t/calibre_2.49.0_tmp_9shvrw/zyonyq_plumber/img/page0212_0000.svg
    Added /private/var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/t/calibre_2.49.0_tmp_9shvrw/zyonyq_plumber/img/page0213_0000.svg
    Added /private/var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/t/calibre_2.49.0_tmp_9shvrw/zyonyq_plumber/img/page0213_0001.svg
    Added /private/var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/t/calibre_2.49.0_tmp_9shvrw/zyonyq_plumber/img/page0222_0000.svg
    Added /private/var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/t/calibre_2.49.0_tmp_9shvrw/zyonyq_plumber/img/page0241_0000.svg
    Added /private/var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/t/calibre_2.49.0_tmp_9shvrw/zyonyq_plumber/img/page0254_0000.svg
    Added /private/var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/t/calibre_2.49.0_tmp_9shvrw/zyonyq_plumber/img/page0270_0000.svg
    Added /private/var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/t/calibre_2.49.0_tmp_9shvrw/zyonyq_plumber/img/page0304_0000.svg
    Added /private/var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/t/calibre_2.49.0_tmp_9shvrw/zyonyq_plumber/img/page0335_0000.svg
    Added /private/var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/t/calibre_2.49.0_tmp_9shvrw/zyonyq_plumber/img/page0335_0001.svg
    Added /private/var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/t/calibre_2.49.0_tmp_9shvrw/zyonyq_plumber/img/page0336_0000.svg
    Added /private/var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/t/calibre_2.49.0_tmp_9shvrw/zyonyq_plumber/img/page0336_0001.svg
    Added /private/var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/t/calibre_2.49.0_tmp_9shvrw/zyonyq_plumber/img/page0337_0000.svg
    Added /private/var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/t/calibre_2.49.0_tmp_9shvrw/zyonyq_plumber/img/page0337_0001.svg
    Added /private/var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/t/calibre_2.49.0_tmp_9shvrw/zyonyq_plumber/img/page0338_0000.svg
    Added /private/var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/t/calibre_2.49.0_tmp_9shvrw/zyonyq_plumber/img/page0338_0001.svg
    Added /private/var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/t/calibre_2.49.0_tmp_9shvrw/zyonyq_plumber/img/page0339_0000.svg
    Added /private/var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/t/calibre_2.49.0_tmp_9shvrw/zyonyq_plumber/img/page0339_0001.svg
    Added /private/var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/t/calibre_2.49.0_tmp_9shvrw/zyonyq_plumber/img/page0340_0000.svg
    Added /private/var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/t/calibre_2.49.0_tmp_9shvrw/zyonyq_plumber/img/page0340_0001.svg
    Added /private/var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/t/calibre_2.49.0_tmp_9shvrw/zyonyq_plumber/img/page0341_0000.svg
    Added /private/var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/t/calibre_2.49.0_tmp_9shvrw/zyonyq_plumber/img/pag2016-01-20 20:37:36.555 Calibre[8951:848336] deliverNotificationWithTitle()
* Notification delivered.
e0341_0001.svg
    Added /private/var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/t/calibre_2.49.0_tmp_9shvrw/zyonyq_plumber/img/page0342_0000.svg
    Added /private/var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/t/calibre_2.49.0_tmp_9shvrw/zyonyq_plumber/img/page0342_0001.svg
    Added /private/var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/t/calibre_2.49.0_tmp_9shvrw/zyonyq_plumber/img/img0002.jpg
    Added /private/var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/t/calibre_2.49.0_tmp_9shvrw/zyonyq_plumber/img/img0003.jpg
    Merging user specified metadata...
    Detecting structure...
    Maximum TOC links reached, stopping.
    Auto generated TOC with 50 entries.
    Flattening CSS and remapping font sizes...
    Source base font size is 12.00000pt
    Removing fake margins...
    Found 530 items of level: div_1
    Found 1650 items of level: p_1
    div_1  left margin stats: Counter()
    div_1  right margin stats: Counter()
    Negative text indent detected at level  p_1, ignoring this level
    Cleaning up manifest...
    Trimming unused files from manifest...
    Creating AZW3 Output...
    Serializing resources...
    Splitting markup on page breaks and flow limits, if any...
            Splitting on page-break at id=calibre_pb_0
            Splitting on page-break at id=calibre_pb_1
            Splitting on page-break at id=calibre_pb_2
            Splitting on page-break at id=calibre_pb_3
            Splitting on page-break at id=calibre_pb_4
            Splitting on page-break at id=calibre_pb_5
            Splitting on page-break at id=calibre_pb_6
            Splitting on page-break at id=calibre_pb_7
            Splitting on page-break at id=calibre_pb_8
            Splitting on page-break at id=calibre_pb_9
            Splitting on page-break at id=calibre_pb_10
            Splitting on page-break at id=calibre_pb_11
            Splitting on page-break at id=calibre_pb_12
            Splitting on page-break at id=calibre_pb_13
            Splitting on page-break at id=calibre_pb_14
            Splitting on page-break at id=calibre_pb_15
            Splitting on page-break at id=calibre_pb_16
            Splitting on page-break at id=calibre_pb_17
            Splitting on page-break at id=calibre_pb_18
            Splitting on page-break at id=calibre_pb_19
            Splitting on page-break at id=calibre_pb_20
            Splitting on page-break at id=calibre_pb_21
            Splitting on page-break at id=calibre_pb_22
            Splitting on page-break at id=calibre_pb_23
            Splitting on page-break at id=calibre_pb_24
            Splitting on page-break at id=calibre_pb_25
        Split into 14 parts
    Creating KF8 output
        Generating in-line ToC
        Generating KF8 markup...
        Compressing markup...
        Creating indices...
    AZW3 output written to /var/folders/7r/jmxwxnms3jl6hptxkfymx3800000gq/T/calibre_2.49.0_tmp_9Shvrw/8CXw2E.azw3

Second log:

Traceback (most recent call last):
  File "site-packages/calibre/web/feeds/recipes/collection.py", line 110, in get_custom_recipe_collection
IOError: [Errno 2] No such file or directory: u'/Users/XXXUSERXXX/Library/Preferences/calibre/custom_recipes/Vatican_1000.recipe'
calibre Debug log
calibre 2.49  isfrozen: True is64bit: True
Darwin-14.5.0-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '14.5.0', 'Darwin Kernel Version 14.5.0: Tue Sep  1 21:23:09 PDT 2015; root:xnu-2782.50.1~1/RELEASE_X86_64')
Python 2.7.9
OSX: ('10.10.5', ('', '', ''), 'x86_64')
Successfully initialized third party plugins: DeDRM && KindleUnpack - The Plugin && Find Duplicates && Barnes & Noble && SmartEject && Hyphenate This! && Goodreads && Webscription
Starting up...
Failed to load recipe from: u'Vatican_1000.recipe'
Started up in 7.14 seconds with 330 books
2016-01-20 20:57:49.156 Calibre[9073:883634] deliverNotificationWithTitle()
* Notification delivered.
Job: 1 Get device information started
DeviceJob: 1 Get device information done, calling callback
DeviceJob: 1 Get device information callback returned
Job: 2 Set library information started
DeviceJob: 2 Set library information done, calling callback
DeviceJob: 2 Set library information callback returned
Job: 3 Get list of books on device started
DEBUG:    0.0 USBMS: Fetching list of books from device. Device= KINDLE2 oncard= None
DEBUG:    0.0 USBMS: dirs are: /Volumes/Kindle/ documents
Job: 1 Get device information finished
No details available.
Job: 2 Set library information finished
No details available.
DEBUG:    0.3 USBMS: scan from root False /Volumes/Kindle/documents
DEBUG:    0.3 USBMS: count found in cache: 113, count of files in metadata: 113, need_sync: False
DEBUG:    0.3 USBMS: Finished fetching list of books from device. oncard= None
DEBUG:    0.3 USBMS: Fetching list of books from device. Device= KINDLE2 oncard= carda
DEBUG:    0.4 USBMS: Fetching list of books from device. Device= KINDLE2 oncard= cardb
DeviceJob: 3 Get list of books on device done, calling callback
DeviceJob: metadata_downloaded: Starting set_books_in_library
DeviceJob: set_books_in_library: books to process= 113
DeviceJob: set_books_in_library finished: time= 0.045382976532
DeviceJob: metadata_downloaded: updating views
DeviceJob: metadata_downloaded: syncing
DeviceJob: metadata_downloaded: refreshing ondevice
DeviceJob: metadata_downloaded: sending metadata_available signal
DeviceJob: 3 Get list of books on device callback returned
Job: 3 Get list of books on device finished
No details available.
DeDRM v6.3.6: Trying to decrypt dup_cache.azw
Using Library AlfCrypto DLL/DYLIB/SO
Decrypting Topaz ebook: The Writings of the New Testament
Found 8 keys to try after 0.1 seconds
Trying: YSUECGEM
Trying: qcLB01MQ
Book Key Found! (3a672c0baa473755)
Processing Section: page
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
Processing Section: metadata
. . . .  
Processing Section: dict
. . . .  
Processing Section: other
. . . .  
Processing Section: color
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
Processing Section: glyphs
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
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
           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
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DeDRM v6.3.6: Failed to decrypt with error: list index out of range
DeDRM v6.3.6: Looking for new default Kindle Key after 19.0 seconds
Found k4Mac kinf2011 file: /Users/XXXUSERXXX/Library/Containers/com.amazon.Kindle/Data/Library/Application Support/Kindle/storage/.kinf2011
Decrypted key file using IDString 'WD-WCAT1D077144' and UserName 'XXXUSERXXX'
DeDRM v6.3.6: Found 1 new key
Decrypting Topaz ebook: The Writings of the New Testament
Found 4 keys to try after 25.3 seconds
Trying: YSUECGEM
Trying: qcLB01MQ
Book Key Found! (3a672c0baa473755)
Processing Section: page
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
Processing Section: metadata
. . . .  
Processing Section: dict
. . . .  
Processing Section: other
. . . .  
Processing Section: color
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
Processing Section: glyphs
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
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
           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
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DeDRM v6.3.6: Ultimately failed to decrypt after 44.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 152, 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.3.6: Ultimately failed to decrypt after 44.7 seconds
2016-01-20 20:58:39.518 Calibre[9080:885069] deliverNotificationWithTitle()
* Notification delivered.
ElleKayEm commented 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?

rpspringuel commented 8 years ago

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.

ElleKayEm commented 8 years ago

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?

rpspringuel commented 8 years ago

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.

ElleKayEm commented 8 years ago

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.

apprenticeharper commented 8 years ago

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.

rpspringuel commented 8 years ago

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.
apprenticeharper commented 8 years ago

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.

rpspringuel commented 8 years ago

Here you go. Thanks for taking a look.

https://dl.dropboxusercontent.com/u/7292423/B004A16MN4_EBOK.azw

apprenticeharper commented 8 years ago

Checking it now.

apprenticeharper commented 8 years ago

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.)

rpspringuel commented 8 years ago

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.
apprenticeharper commented 8 years ago

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.

rpspringuel commented 8 years ago

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

apprenticeharper commented 8 years ago

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!)

apprenticeharper commented 8 years ago

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.

xapim commented 8 years ago

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.

xapim commented 8 years ago

https://www.dropbox.com/s/vg4pe5y4uev3wyx/amazon%20topaz%20ebooks.rar?dl=0

xapim commented 8 years ago

i cant convert this 4 ebooks

apprenticeharper commented 8 years ago

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.

mickaelmarin commented 8 years ago

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

xapim commented 8 years ago

Thanks apprenticeharper for the quick reply to my problem hopefully there will be a fix :)

apprenticeharper commented 8 years ago

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.

apprenticeharper commented 8 years ago

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.

mickaelmarin commented 8 years ago

I upload the book can not be converted for you tomorrow

xapim commented 8 years ago

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

rpspringuel commented 8 years ago

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?

xapim commented 8 years ago

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

rpspringuel commented 8 years ago

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

ElleKayEm commented 8 years ago

rpsringuel, What OS? I've seen people with Macs report that before when trying to troubleshoot other issues.

rpspringuel commented 8 years ago

Mac OS 10.10.5.

apprenticeharper commented 8 years ago

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.

rpspringuel commented 8 years ago

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.

mickaelmarin commented 8 years ago

hi,

i upload my book I can't convert on my server, you can download this books:

http://163.172.25.30/

mickael

rpspringuel commented 8 years ago

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?

rpspringuel commented 8 years ago

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
apprenticeharper commented 8 years ago

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.

apprenticeharper commented 8 years ago

@mickaelmarin: Thanks for the files. I can now duplicate the error, and I'll work on a fix.

apprenticeharper commented 8 years ago

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.

A-A-56 commented 1 year ago

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

ElleKayEm commented 1 year ago

What version of calibre?

A-A-56 commented 1 year ago

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 ????

ElleKayEm commented 1 year ago

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.

A-A-56 commented 1 year ago

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 ....

ElleKayEm commented 1 year ago

Glad that worked...thanks for reporting back.