06-11-2013, 07:00 AM | #1 |
Connoisseur
Posts: 74
Karma: 10000010
Join Date: Jan 2012
Device: Android Tablet with Calibre Companion and Moon+ Reader Pro
|
TOC not hooked up properly in downloaded/converted news
The attached ZIP file contains two MOBI files. The first, missing-toc.mobi, was created by calibre's scheduled news download last night. If I look at it in Calibre's side panel, it appears to have content (see missing-toc-sidePanel.png).
However, if I look at it in Calibre's viewer, it appears to have no content (see missing-toc-viewer.png) If I run my recipe manually: Code:
ebook-convert "Boston Globe Subscription_1005.recipe" .EPUB -vv --debug-pipeline debug --username XXXX --password XXXX When I was looking at the bug tracker yesterday, I thought I saw something about MOBI table of contents not working right, but now I can't find it. So this may be a known problem. Version: Calibre 0.9.34 (patched with the "'builtin_function_or_method' object has no attribute 'rpartition'" fix) |
06-11-2013, 07:19 AM | #2 |
creator of calibre
Posts: 43,853
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I just tried downlaoding the boston globe in MOBI and the result had a fully populated ToC. Try running your download again. From the screenshot you posted it looks like no articles were downloaded, robably because the server was having issues at the time.
|
Advert | |
|
06-11-2013, 11:37 AM | #3 |
Connoisseur
Posts: 74
Karma: 10000010
Join Date: Jan 2012
Device: Android Tablet with Calibre Companion and Moon+ Reader Pro
|
Kovid,
You're right - I just ran the download again from within Calibre (Schedule New Download -> Select the recipe, Download Now), and it did fail (see failed_download.txt). What's bizarre is that when I ran my recipe manually again, it succeeded again. I've attached the recipe. Unfortunately, you'll need a Boston Globe subscription to run it, but maybe you can figure something out by reading the recipe? If not, I can temporarily change my password and give you temporary access that way. Also, if you'd rather I move this to a bug report, I'd be happy to - whatever works best for you. |
06-11-2013, 11:51 AM | #4 |
Connoisseur
Posts: 74
Karma: 10000010
Join Date: Jan 2012
Device: Android Tablet with Calibre Companion and Moon+ Reader Pro
|
More info:
The info I just posted was from my copy of Calibre at home. I have a copy here at work, and I just pulled the recipe up to my work machine and ran it. it worked correctly. So there's something about Calibre on my home machine that is failing.
Reasonable explanations: it could be a configuration option I've changed in Calibre, or possibly the debug flags on the manual run, or it's a behavior change in 0.9.34 that is triggered by a configuration option. I'll compare options between the work and home Calibre installations, but if you (Kovid or anyone else) have got any ideas (given what I've reported) that can narrow down my search, it'd be a huge help. Thanks! |
06-11-2013, 12:08 PM | #5 |
creator of calibre
Posts: 43,853
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
There haven't been any changes to the news download system in 0.9.34, but feel free to downgrade to 0.9.33 and try it. Other than that, nothing jumps out at me from that log.
|
Advert | |
|
06-11-2013, 01:12 PM | #6 |
Connoisseur
Posts: 74
Karma: 10000010
Join Date: Jan 2012
Device: Android Tablet with Calibre Companion and Moon+ Reader Pro
|
It turns out I'd been on 0.9.30 before 0.9.34, so I went back to that version, and it worked. I then incrementally installed 0.9.31, 32, 33, and 34, trying the download at each step. Each succeeded, including the latest.
I suspect that what happened was one of these:
Regardless, I'm working now, so from a practical perspective, it doesn't really matter to me what went wrong. Thanks for the tip to downgrade! |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Functional TOC doesn't work properly in iPAD | touchelango | Apple Devices | 1 | 11-07-2012 02:25 PM |
ePub to Mobi, table is converted properly | ebookuser | Conversion | 1 | 05-10-2011 03:45 AM |
different "delete downloaded news" values per news source? | scottfree | Calibre | 1 | 01-19-2011 11:15 AM |
Add only news tag to downloaded news? | eric11210 | Calibre | 2 | 08-06-2010 05:51 AM |
Making a Rough html toc for downloaded web pages | sherryk_us | Calibre | 5 | 06-21-2009 03:23 PM |