02-19-2011, 04:26 PM | #31 |
Enthusiast
Posts: 29
Karma: 10
Join Date: Jul 2010
Device: PC
|
Since almost all of the 100+ of the RAR archives have the same problem with the OPF file, they aren't corrupted. Whatever program that was used created them that way.
So what exactly would fix them? I've never dealt with OPF files before. I could probably write a program to open the archives and edit the OPF file. |
02-19-2011, 04:33 PM | #32 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
just delete the opf files from the rar archives. calibre should still detect the html file inside the rar archive.
|
Advert | |
|
04-19-2012, 11:23 AM | #33 |
Junior Member
Posts: 7
Karma: 10
Join Date: Apr 2012
Device: Kindle
|
Spine is empty
Just to say, if the developer cannot help may be I can.
The 'spine is empty' problem happens a lot. It happens when you use the GUI (+ Kindle serial number) to DeDRM files [Mod: Remaining detailed description of use of DeDRM tools deleted. Such discussion is not permitted on MobileRead. ] Last edited by pdurrant; 04-19-2012 at 01:23 PM. Reason: detailed De-DRM discussion not permitted. |
04-19-2012, 01:24 PM | #34 | |
The Grand Mouse 高貴的老鼠
Posts: 71,510
Karma: 306214458
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
Quote:
Any problems with DRM removal tools should be raised at the place you got the tools. |
|
04-19-2012, 02:20 PM | #35 |
Junior Member
Posts: 7
Karma: 10
Join Date: Apr 2012
Device: Kindle
|
Spine is empty (again)
Just did some research for this 'spine is empty' bug
Check out: https://bugs.launchpad.net/calibre/+bug/908835 It suggests that you need a 64-bit machine with oodles of RAM (Kovid's recommendation). Another site suggests that you need to upgrade your version of Calibre. Basically, the file is too big and Calibre cannot decompress it, and it has a problem going from html to a css stylesheet. Like I said, big files with zillions of chapters and links cause problems. If I do find a REAL workaround (this problem requires a source code re-write) I will let you know |
Advert | |
|
04-19-2012, 02:27 PM | #36 | |
Junior Member
Posts: 7
Karma: 10
Join Date: Apr 2012
Device: Kindle
|
Calibre capabilities
Quote:
I agree it is a programming related issue |
|
04-19-2012, 02:32 PM | #37 |
Wizard
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
|
04-19-2012, 03:07 PM | #38 |
Junior Member
Posts: 7
Karma: 10
Join Date: Apr 2012
Device: Kindle
|
Let us be clear
I have DeDRM'd smaller files (from the same publisher) and converted them to epub very quickly, and without a hitch It is the larger files which cause problems Those plugins work if your e-reader is connected to your PC (it deosn't find the PIDs all the time) but the other software does (every time). I have two files which give the 'spine is empty' error message. One is 30.3MB and the other is 36.4MB. Unofficial or not, those plugins worked on the smaller files. This is an OEB error, a large file-handling error. Small files with limited TOCs and chapters convert easily. I HAVE CONVERTED OVER 200 OF THEM |
04-19-2012, 03:49 PM | #39 |
Junior Member
Posts: 7
Karma: 10
Join Date: Apr 2012
Device: Kindle
|
Spine is NOT empty
Just so you know, a 15.2MB file gave the following output:
Convert book 1 of 1 (The ******** with an active table of contents)) Resolved conversion options calibre version: 0.8.47 {'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|pr ologue|epilogue)(\\s+|$))', 'i')) or @class = 'chapter']", 'chapter_mark': u'pagebreak', 'comments': None, 'cover': None, 'debug_pipeline': None, 'dehyphenate': True, 'delete_blank_paragraphs': True, 'disable_font_rescaling': False, 'dont_compress': False, 'duplicate_links_in_toc': False, 'enable_heuristics': True, '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.MobipocketInput object at 0x04247E50>, '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_ignore_margins': False, 'mobi_keep_original_images': False, 'mobi_toc_at_start': False, 'no_chapters_in_toc': False, 'no_inline_navbars': False, 'no_inline_toc': False, 'output_profile': <calibre.customize.profiles.MSReaderOutput object at 0x04250130>, 'page_breaks_before': u"//*[name()='h1' or name()='h2']", 'personal_doc': u'[PDOC]', 'prefer_author_sort': False, 'prefer_metadata_cover': False, 'pretty_print': False, 'pubdate': None, 'publisher': None, 'rating': None, 'read_metadata_from_opf': u'C:\\Users\\ANDREW~1\\AppData\\Local\\Temp\\calib re_0.8.47_tmp_hvzlqp\\bmq0bz.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'', '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, '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': True, 'verbose': 2} InputFormatPlugin: MOBI Input running on C:\Users\ANDREW~1\AppData\Local\Temp\calibre_0.8.4 7_tmp_hvzlqp\f9r3rz.mobi Extracting text... Adding anchors... Extracting images... Cleaning up HTML... Parsing HTML... Converting style information to CSS... Creating OPF... Parsing all content... Parsing styles.css ... Parsing The_Ultimate-_of_Philosophy.html ... ********* Heuristic processing HTML ********* There are 1133 blank lines. 0.0205242468706 percent blank minimum chapters required are: 290 found 0 pre-existing headings common had 146 hits - 146 chapters with no title, 0 chapters with titles, 0.0 percent. chapter had 2 hits - 2 chapters with no title, 0 chapters with titles, 0.0 percent. numeric had 55 hits - 55 chapters with no title, 0 chapters with titles, 0.0 percent. numeric_title had 13 hits - 13 chapters with no title, 0 chapters with titles, 0.0 percent. plain_number had 11 hits - 11 chapters with no title, 0 chapters with titles, 0.0 percent. uppercase had 1488 hits - 1488 chapters with no title, 0 chapters with titles, 0.0 percent. Marked 0 headings, Searching for common section headings marked 1 chapters. - INTRODUCTION marked 2 chapters. - INTRODUCTION marked 3 chapters. - DEDICATION marked 4 chapters. - Part 1 marked 5 chapters. - Part 2 marked 6 chapters. - Part 3 marked 7 chapters. - Part 4 marked 8 chapters. - Part 5 marked 9 chapters. - Part 6 marked 10 chapters. - Part 7 marked 11 chapters. - Part 8 marked 12 chapters. - Part 9 marked 13 chapters. - Part 10 marked 14 chapters. - Part 11 marked 15 chapters. - Part 12 marked 16 chapters. - Part 13 marked 17 chapters. - Part 14 marked 18 chapters. - Part 15 marked 19 chapters. - Part 16 marked 20 chapters. - Part 17 marked 21 chapters. - Part 18 marked 22 chapters. - Part 19 marked 23 chapters. - Part 20 marked 24 chapters. - Part 21 marked 25 chapters. - Part 22 marked 26 chapters. - Part 23 marked 27 chapters. - Part 24 marked 28 chapters. - Part 25 marked 29 chapters. - Part 26 marked 30 chapters. - Part 27 marked 31 chapters. - Part 28 marked 32 chapters. - Part 29 marked 33 chapters. - Part 30 marked 34 chapters. - Part 31 marked 35 chapters. - Part 32 marked 36 chapters. - Part 33 marked 37 chapters. - Part 34 marked 38 chapters. - Part 35 marked 39 chapters. - Part 36 marked 40 chapters. - Part 37 marked 41 chapters. - Part 38 marked 42 chapters. - Part 39 marked 43 chapters. - Part 40 marked 44 chapters. - Part 41 marked 45 chapters. - Part 42 marked 46 chapters. - Part 43 marked 47 chapters. - Part 44 marked 48 chapters. - Part 45 marked 49 chapters. - Part 46 marked 50 chapters. - Part 47 marked 51 chapters. - Part 48 marked 52 chapters. - Part 49 marked 53 chapters. - Part 50 marked 54 chapters. - Part 51 marked 55 chapters. - Part 52 marked 56 chapters. - Part 53 marked 57 chapters. - Part 54 marked 58 chapters. - Part 55 marked 59 chapters. - Part 56 marked 60 chapters. - Part 57 marked 61 chapters. - Part 58 marked 62 chapters. - Part 59 marked 63 chapters. - Part 60 marked 64 chapters. - Part 61 marked 65 chapters. - Part 62 marked 66 chapters. - Part 63 marked 67 chapters. - Part 64 marked 68 chapters. - Part 65 marked 69 chapters. - Part 66 marked 70 chapters. - Part 67 marked 71 chapters. - Part 68 marked 72 chapters. - Part 69 marked 73 chapters. - Part 1 marked 74 chapters. - Part 2 marked 75 chapters. - Part 3 marked 76 chapters. - Part 4 marked 77 chapters. - Part 5 marked 78 chapters. - Part 6 marked 79 chapters. - INTRODUCTION marked 80 chapters. - BOOK I marked 81 chapters. - BOOK II marked 82 chapters. - BOOK III marked 83 chapters. - BOOK IV marked 84 chapters. - BOOK V marked 85 chapters. - BOOK VI marked 86 chapters. - BOOK VII marked 87 chapters. - BOOK VIII marked 88 chapters. - BOOK IX marked 89 chapters. - BOOK X marked 90 chapters. - DEDICATION marked 91 chapters. - PREFACE marked 92 chapters. - INTRODUCTION marked 93 chapters. - INTRODUCTION marked 94 chapters. - INTRODUCTION marked 95 chapters. - PART 1 marked 96 chapters. - PART 2 marked 97 chapters. - PART 3 marked 98 chapters. - PART 4 marked 99 chapters. - PART 5 marked 100 chapters. - PART 6 marked 101 chapters. - PART 7 marked 102 chapters. - PART 8 marked 103 chapters. - PART 9 marked 104 chapters. - PART 10 marked 105 chapters. - PART 11 marked 106 chapters. - PART 12 marked 107 chapters. - BOOK II OF THE PASSIONS marked 108 chapters. - BOOK III OF MORALS marked 109 chapters. - PREFACE marked 110 chapters. - INTRODUCTION marked 111 chapters. - PREFACE marked 112 chapters. - PREFACE marked 113 chapters. - INTRODUCTION marked 114 chapters. - INTRODUCTION marked 115 chapters. - BOOK I marked 116 chapters. - BOOK II marked 117 chapters. - BOOK IV marked 118 chapters. - INTRODUCTION marked 119 chapters. - INTRODUCTION marked 120 chapters. - INTRODUCTION marked 121 chapters. - INTRODUCTION marked 122 chapters. - INTRODUCTION marked 123 chapters. - INTRODUCTION marked 124 chapters. - INTRODUCTION marked 125 chapters. - INTRODUCTION marked 126 chapters. - INTRODUCTION marked 127 chapters. - INTRODUCTION marked 128 chapters. - INTRODUCTION marked 129 chapters. - INTRODUCTION AND ANALYSIS marked 130 chapters. - INTRODUCTION marked 131 chapters. - INTRODUCTION marked 132 chapters. - INTRODUCTION marked 133 chapters. - INTRODUCTION AND ANALYSIS marked 134 chapters. - INTRODUCTION AND ANALYSIS marked 135 chapters. - INTRODUCTION marked 136 chapters. - INTRODUCTION AND ANALYSIS marked 137 chapters. - BOOK I marked 138 chapters. - BOOK II marked 139 chapters. - BOOK III marked 140 chapters. - BOOK IV marked 141 chapters. - BOOK V marked 142 chapters. - PREFACE marked 143 chapters. - PREFACE marked 144 chapters. - PREFACE marked 145 chapters. - CHAPTER XVII marked 146 chapters. - CHAPTER XIX Total wordcount is: 4335642, Average words per section is: 29696, Marked up 146 chapters Hard line breaks check returned False Median line length is 1298, calculated with html format Fixing hyphenated content Looking for more split points based on punctuation, currently have 146 Formatting scene breaks Initial parse failed, using more forgiving parsers Parsing The_Ultimate *****.html as HTML HTML 5 parsing failed, falling back to older parsers Traceback (most recent call last): File "site-packages\calibre\ebooks\oeb\parse_utils.py", line 259, in parse_html File "site-packages\calibre\ebooks\oeb\parse_utils.py", line 95, in html5_parse ValueError: html5lib resulted in a tree with nesting depth > 100 Forcing The_Ultimate-_of_Philosophy.html into XHTML namespace Generating default TOC from spine... Merging user specified metadata... Detecting structure... Detected chapter: Part 1 Detected chapter: Part 2 Detected chapter: Part 3 Detected chapter: Part 4 Detected chapter: Part 5 Detected chapter: Part 6 Detected chapter: Part 7 Detected chapter: Part 8 Detected chapter: Part 9 Detected chapter: Part 10 Detected chapter: Part 11 Detected chapter: Part 12 Detected chapter: Part 13 Detected chapter: Part 14 Detected chapter: Part 15 Detected chapter: Part 16 Detected chapter: Part 17 Detected chapter: Part 18 Detected chapter: Part 19 Detected chapter: Part 20 Detected chapter: Part 21 Detected chapter: Part 22 Detected chapter: Part 23 Detected chapter: Part 24 Detected chapter: Part 25 Detected chapter: Part 26 Detected chapter: Part 27 Detected chapter: Part 28 Detected chapter: Part 29 Detected chapter: Part 30 Detected chapter: Part 31 Detected chapter: Part 32 Detected chapter: Part 33 Detected chapter: Part 34 Detected chapter: Part 35 Detected chapter: Part 36 Detected chapter: Part 37 Detected chapter: Part 38 Detected chapter: Part 39 Detected chapter: Part 40 Detected chapter: Part 41 Detected chapter: Part 42 Detected chapter: Part 43 Detected chapter: Part 44 Detected chapter: Part 45 Detected chapter: Part 46 Detected chapter: Part 47 Detected chapter: Part 48 Detected chapter: Part 49 Detected chapter: Part 50 Detected chapter: Part 51 Detected chapter: Part 52 Detected chapter: Part 53 Detected chapter: Part 54 Detected chapter: Part 55 Detected chapter: Part 56 Detected chapter: Part 57 Detected chapter: Part 58 Detected chapter: Part 59 Detected chapter: Part 60 Detected chapter: Part 61 Detected chapter: Part 62 Detected chapter: Part 63 Detected chapter: Part 64 Detected chapter: Part 65 Detected chapter: Part 66 Detected chapter: Part 67 Detected chapter: Part 68 Detected chapter: Part 69 Detected chapter: Part 1 Detected chapter: Part 2 Detected chapter: Part 3 Detected chapter: Part 4 Detected chapter: Part 5 Detected chapter: Part 6 Detected chapter: BOOK I Detected chapter: BOOK II Detected chapter: BOOK III Detected chapter: BOOK IV Detected chapter: BOOK V Detected chapter: BOOK VI Detected chapter: BOOK VII Detected chapter: BOOK VIII Detected chapter: BOOK IX Detected chapter: BOOK X Detected chapter: PART 1 Detected chapter: PART 2 Detected chapter: PART 3 Detected chapter: PART 4 Detected chapter: PART 5 Detected chapter: PART 6 Detected chapter: PART 7 Detected chapter: PART 8 Detected chapter: PART 9 Detected chapter: PART 10 Detected chapter: PART 11 Detected chapter: PART 12 Detected chapter: BOOK II OF THE PASSIONS Detected chapter: BOOK III OF MORALS Detected chapter: BOOK I Detected chapter: BOOK II Detected chapter: BOOK IV Detected chapter: BOOK I Detected chapter: BOOK II Detected chapter: BOOK III Detected chapter: BOOK IV Detected chapter: BOOK V Detected chapter: CHAPTER XVII Detected chapter: CHAPTER XIX Auto generated TOC with 109 entries. Flattening CSS and remapping font sizes... Source base font size is 18.00000pt Removing fake margins... Parsing stylesheet.css ... Calibre generates a default TOC from the spine. The only conclusion you can reach is the following: 1. When X piece of software DeDRM's a large file, it somehow damages the spine or renders the spine unreadable. This in turn makes it unconvertible. This conversion was carried out using heuristics. |
04-19-2012, 03:52 PM | #40 | |
The Grand Mouse 高貴的老鼠
Posts: 71,510
Karma: 306214458
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
Quote:
|
|
04-19-2012, 04:47 PM | #41 |
Junior Member
Posts: 7
Karma: 10
Join Date: Apr 2012
Device: Kindle
|
Conclusion
So what is the right conclusion?
|
04-19-2012, 04:56 PM | #42 |
The Grand Mouse 高貴的老鼠
Posts: 71,510
Karma: 306214458
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
I wouldn't like to speculate very much as to the right conclusion, i.e. the root cause of the problems you're seeing, as it could be any of many things. But it's most unlikely to be the DRM removal software, as for ePubs, removing the DRM is simply a case of decrypting the encrypted files. If I had to speculate I'd suggest that the problem existed in the original file. |
04-19-2012, 05:02 PM | #43 |
Junior Member
Posts: 7
Karma: 10
Join Date: Apr 2012
Device: Kindle
|
Conclusion (contd)
This same DeDRM'd file can be viewed by Calibre but not converted by it, which suggests that you are right.
So there must be a problem DURING the conversion process, which goes back to what I said earlier that it is a programming-related issue. Damage must occur when Calibre extracts the data (from a DeDRM'd file) and tries to re-compile it. I'll test this theory on a large, non DeDRM'd file and let you know Or, the original file may be corrupt/damaged, which as a programmer, I know a lot about. You may be right about there being a problem with the original file. Not that I produce corrupt files, more that I have had a fair amount of experience with them Last edited by ace_765; 04-19-2012 at 05:15 PM. |
04-20-2012, 11:33 AM | #44 |
Enthusiast
Posts: 29
Karma: 10
Join Date: Jul 2010
Device: PC
|
spine is empty fix
I usually see it in rar files with html content. The opf file has a bad spine reference. You can read them just fine, but they won't convert.
You can delete the reference, or just delete the whole OPF file. Calibre generates a new one. This cause has nothing to do with deDREM software. I would think just ignoring this error would fix it, or regenerating the OPF file. |
07-01-2012, 02:37 PM | #45 |
Member
Posts: 13
Karma: 10
Join Date: Sep 2010
Location: Mississauga, Canada
Device: Kobo, Kobo Vox, Nexus 7
|
Once I extracted the opf file (with WinRAR), i was able to add and convert the rar file to epub just fine with calibre. I found that when I convert just the html file, the logos etc were missing.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Do any third-party cover makers use the 'spine' on the Sony readers? | maxbookworm | Sony Reader | 7 | 09-14-2010 04:15 AM |
Pick up Spine Slaughter for nowt on Smashwords | NickSpalding | Self-Promotions by Authors and Publishers | 0 | 08-27-2010 12:27 PM |
.7 Catalog is empty | leebase | Calibre | 7 | 06-06-2010 08:09 PM |
Unutterably Silly Empty your clipboard | Godzil | Lounge | 28 | 02-01-2010 06:26 AM |
Bebook is empty | Lake person | BeBook | 15 | 08-30-2009 02:09 PM |