|
|
#16 | |
|
onlinenewsreader.net
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 334
Karma: 10143
Join Date: Dec 2009
Location: Kelowna BC
Device: Various
|
Quote:
|
|
|
|
|
|
|
#17 |
|
onlinenewsreader.net
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 334
Karma: 10143
Join Date: Dec 2009
Location: Kelowna BC
Device: Various
|
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.
|
|
|
|
|
|
#18 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,685
Karma: 28549304
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.
|
|
|
|
|
|
#19 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,685
Karma: 28549304
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Fix committed.
|
|
|
|
|
|
#20 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,744
Karma: 80104526
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
|
|
|
|
|
|
#21 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,685
Karma: 28549304
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
|
|
|
|
|
|
#22 |
|
onlinenewsreader.net
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 334
Karma: 10143
Join Date: Dec 2009
Location: Kelowna BC
Device: Various
|
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'
|
|
|
|
|
|
#23 |
|
onlinenewsreader.net
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 334
Karma: 10143
Join Date: Dec 2009
Location: Kelowna BC
Device: Various
|
Kovid - I just saw your message about running from source and today's release, and that was the problem.
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem downloading articles... | DarkElf | Recipes | 0 | 04-21-2011 07:57 AM |
| Show articles only, hide sections | sjk9 | Recipes | 1 | 04-11-2011 12:04 PM |
| (another) FIX: New York Times Missing Articles | bcollier | Recipes | 11 | 02-11-2011 04:16 PM |
| Help me fix my problem....$25 bonus | roland1919 | Sony Reader | 13 | 05-16-2008 05:37 AM |
| FB2 problem in V3. How to fix it. | reycat | HanLin eBook | 2 | 02-18-2008 04:18 PM |