![]() |
#1 |
onlinenewsreader.net
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 327
Karma: 10143
Join Date: Dec 2009
Location: Phoenix, AZ & Victoria, BC
Device: Kindle 3, Kindle Fire, IPad3, iPhone4, Playbook, HTC Inspire
|
mobi/writer2/indexer.py bug
I'm getting the following traceback with a large recipe (New York Times Web)
Code:
Failed to generate MOBI index: Traceback (most recent call last): File "C:\Users\Nick\calibre\src\calibre\ebooks\mobi\writer2\main.py", line 107, in generate_index File "C:\Users\Nick\calibre\src\calibre\ebooks\mobi\writer2\indexer.py", line 500, in __init__ File "C:\Users\Nick\calibre\src\calibre\ebooks\mobi\writer2\indexer.py", line 52, in __init__ AttributeError: 'CNCX' object has no attribute '_ctoc' Code:
pad = 0xfbf8 - self._ctoc.tell() Code:
pad = 0xfbf8 - buf.tell() |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,351
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Fixed.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 139
Karma: 33000
Join Date: Feb 2010
Device: Currently:Voyage, Oasis 3, Kindle mobile apps, andKindle Fire
|
Fix in indexer.py
Having same problem with NYTimes. mobi version for Kindle
Have found your revised indexer.py, revised on 9-2-11 Would like to replace existing indexer.py but can't find it anywhere on my system. There is no src folder in the Calibre2 directory. There error message I get does not refer as Nick's does to any User or AppData directories etc, but rather to "site-packages". I have no idea where to look. Have done multiple searches to no avail. Are some of these scripts online rather than local? My OS is Windows7 sp2 64bit, Calibre2 directory is in ProgramFiles(x86) Calibre is 8.17 Here is the tale end of the job details for the NYTimes (Paper edition, not web, 14.9mb), downloaded Sunday around 10:00 am. BTW, all other recipes and downloads seem to work just fine. Generating MOBI index for a periodical Failed to generate MOBI index: Traceback (most recent call last): File "site-packages\calibre\ebooks\mobi\writer2\main.py", line 107, in generate_index File "site-packages\calibre\ebooks\mobi\writer2\indexer.py", line 500, in __init__ File "site-packages\calibre\ebooks\mobi\writer2\indexer.py", line 52, in __init__ AttributeError: 'CNCX' object has no attribute '_ctoc' MOBI output written to c:\users\michael\appdata\local\temp\calibre_0.8.17 _tmp_5ebcdq\segtc6_recipe_out.mobi |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,351
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Just wait for 0.8.18 it will be fixed in that.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Embedded font bug or CSS bug in ADE | JSWolf | ePub | 10 | 06-11-2011 02:34 PM |
EPUB to MOBI Bug? | Lornoi | Conversion | 1 | 03-17-2011 01:03 PM |
conversion failure/bug - epub-rtf-mobi | cybmole | Calibre | 1 | 12-03-2010 05:37 AM |
Unutterably Silly Confuse the Context Specific Advertising Indexer Thread | NatCh | Lounge | 188 | 02-06-2009 07:01 PM |
PRS-505 bug or eBookLib bug? | porkupan | Sony Reader | 3 | 10-07-2007 10:44 PM |