08-18-2011, 08:00 PM | #16 | |
onlinenewsreader.net
Posts: 324
Karma: 10143
Join Date: Dec 2009
Location: Phoenix, AZ & Victoria, BC
Device: Kindle 3, Kindle Fire, IPad3, iPhone4, Playbook, HTC Inspire
|
Quote:
|
|
08-19-2011, 12:46 PM | #17 |
onlinenewsreader.net
Posts: 324
Karma: 10143
Join Date: Dec 2009
Location: Phoenix, AZ & Victoria, BC
Device: Kindle 3, Kindle Fire, IPad3, iPhone4, Playbook, HTC Inspire
|
Kovid - there is a strange problem with the mobi writer2 code--it seems to shuffle the images in the periodical somehow (it looks random) so images appear in the wrong articles. I checked the mobi writer2 code with and without my changes--same result. I also checked OEB recipe output and the images are in the right places, so it is something that happens in MOBI conversion. I can't see the issue immediately and I'll try t run it down, but I thought I'd give you the heads up in case you have any ideas what might be causing this.
|
08-19-2011, 12:49 PM | #18 |
creator of calibre
Posts: 43,960
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Probably a bug in the code that maps image urls to indexes. See generate_images(). I vaguely recall noting to myself that I needed to test that code more thoroughly. I'm a little busy right now so I wont be able to look at it until later.
|
08-19-2011, 03:03 PM | #19 |
creator of calibre
Posts: 43,960
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Fix committed.
|
08-19-2011, 04:56 PM | #20 |
Grand Sorcerer
Posts: 12,231
Karma: 74000000
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
|
08-19-2011, 05:14 PM | #21 |
creator of calibre
Posts: 43,960
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
When I'm not busy, I'm usually goofing off, so it would take considerably longer
|
08-19-2011, 05:56 PM | #22 |
onlinenewsreader.net
Posts: 324
Karma: 10143
Join Date: Dec 2009
Location: Phoenix, AZ & Victoria, BC
Device: Kindle 3, Kindle Fire, IPad3, iPhone4, Playbook, HTC Inspire
|
Rev 10200 traceback
I get this on all recipes with the 10200 revision
Code:
34% Download finished Parsing all content... Python function terminated unexpectedly '2to3' (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 "C:\Users\Nick\calibre\src\calibre\ebooks\conversion\cli.py", line 286, in main plumber.run() File "C:\Users\Nick\calibre\src\calibre\ebooks\conversion\plumber.py", line 946, in run encoding=self.input_plugin.output_encoding) File "C:\Users\Nick\calibre\src\calibre\ebooks\conversion\plumber.py", line 1084, in create_oebbook reader()(oeb, path_or_stream) File "C:\Users\Nick\calibre\src\calibre\ebooks\oeb\reader.py", line 71, in __call__ self._all_from_opf(opf) File "C:\Users\Nick\calibre\src\calibre\ebooks\oeb\reader.py", line 610, in _all_from_opf self._metadata_from_opf(opf) File "C:\Users\Nick\calibre\src\calibre\ebooks\oeb\reader.py", line 132, in _metadata_from_opf mi = OPF(stream).to_book_metadata() File "C:\Users\Nick\calibre\src\calibre\ebooks\metadata\opf2.py", line 609, in to_book_metadata ans = MetaInformation(self) File "C:\Users\Nick\calibre\src\calibre\ebooks\metadata\__init__.py", line 264, in MetaInformation return Metadata(title, authors, other=mi) File "C:\Users\Nick\calibre\src\calibre\ebooks\metadata\book\base.py", line 108, in __init__ self.smart_update(other) File "C:\Users\Nick\calibre\src\calibre\ebooks\metadata\book\base.py", line 567, in smart_update other_lang = getattr(other, 'languages', []) File "C:\Users\Nick\calibre\src\calibre\ebooks\metadata\opf2.py", line 955, in fget l = canonicalize_lang(t.strip()) File "C:\Users\Nick\calibre\src\calibre\utils\localization.py", line 216, in canonicalize_lang m2to3 = iso639['2to3'] KeyError: '2to3' |
08-19-2011, 06:58 PM | #23 |
onlinenewsreader.net
Posts: 324
Karma: 10143
Join Date: Dec 2009
Location: Phoenix, AZ & Victoria, BC
Device: Kindle 3, Kindle Fire, IPad3, iPhone4, Playbook, HTC Inspire
|
Kovid - I just saw your message about running from source and today's release, and that was the problem.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem downloading articles... | DarkElf | Recipes | 0 | 04-21-2011 06:57 AM |
Show articles only, hide sections | sjk9 | Recipes | 1 | 04-11-2011 11:04 AM |
(another) FIX: New York Times Missing Articles | bcollier | Recipes | 11 | 02-11-2011 03:16 PM |
Help me fix my problem....$25 bonus | roland1919 | Sony Reader | 13 | 05-16-2008 04:37 AM |
FB2 problem in V3. How to fix it. | reycat | HanLin eBook | 2 | 02-18-2008 03:18 PM |