10-17-2008, 03:52 AM | #226 |
Enthusiast
Posts: 48
Karma: 10
Join Date: Aug 2008
Location: London
Device: Kobo GloHD and Aura h2O
|
Thanks for the information.
Please expand on what I need to put into the level1-toc and --level2-toc settings. |
10-17-2008, 10:35 AM | #227 | |
Groupie
Posts: 156
Karma: 25846
Join Date: Apr 2007
Location: UK
Device: PRS505
|
Quote:
'Traceback (most recent call last): File "calibre\gui2\viewer\documentview.pyo", line 326, in load_finished File "main.py", line 347, in load_finished AttributeError: 'NoneType' object has no attribute 'spine'' I checked the original OPF file - there is indeed a spine area of the file, I have attached the OPF file for reference. |
|
Advert | |
|
10-17-2008, 01:33 PM | #228 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@icarusbop: open a ticket and attach the file.
@mikeywilliams: try h2 for --level1-toc |
10-17-2008, 04:27 PM | #229 | |
Connoisseur
Posts: 98
Karma: 10
Join Date: Apr 2008
Device: sony prs 505
|
0.4.97
Quote:
Downloaded 0.4.97, then downloaded the ny times only to receive this error: cannot import name NewMagickWand Detailed traceback: Traceback (most recent call last): File "/Ebooks/A-SOFTWARE/calibre.app/Contents/Resources/lib/python2.5/site-packages.zip/calibre/ebooks/metadata/epub.py", line 123, in render_html ImportError: cannot import name NewMagickWand After quitting and restarting calibre the book was in the library. Things haven't worked well since v.0.4.94. What's up? |
|
10-17-2008, 04:54 PM | #230 | |
Wizard
Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
|
Quote:
--level1-toc "//p[@class = '2CHAPTERTITLE']" --level2-toc "//p[@class = '21CHAPTERSUBTITLE']" =X= |
|
Advert | |
|
10-17-2008, 05:55 PM | #231 | |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Quote:
|
|
10-18-2008, 03:43 AM | #232 |
Connoisseur
Posts: 98
Karma: 10
Join Date: Apr 2008
Device: sony prs 505
|
v.0.4.98 is working in a most excellent fashion.
Thanks! |
10-18-2008, 03:53 AM | #233 | |
Enthusiast
Posts: 48
Karma: 10
Join Date: Aug 2008
Location: London
Device: Kobo GloHD and Aura h2O
|
Quote:
No luck yet with any entry in the toc slots. |
|
10-20-2008, 12:18 AM | #234 |
Junior Member
Posts: 9
Karma: 10
Join Date: Oct 2008
Device: prs-505
|
Hi,
I opened a ticket for a book I have where html2epub 0.4.98 does not work : http://calibre.kovidgoyal.net/ticket/1186 I have linked to a tgz file containing both the book (html + images) as well as the resulting epub file. http://www.samba.org/~sahlberg/indarkestafrica.tgz There are three issues, 1, during the conversion html2epub generates a lot of warnings 2, the output that is generated has become "stuck" in center alignment once the first chapter starts 3, the book can not be read at all in the sony reader and only gives a cryptic page error. regards ronnie sahlberg |
10-22-2008, 02:26 PM | #235 |
Guru
Posts: 962
Karma: 568242
Join Date: Dec 2007
Device: Kindle Oasis 3, Kindle Paperwhite 1, iPad, iPhone
|
Lately I have been having problems converting .lit books with cover images (not the ones downloaded from LibraryThing). The cover images just disappear. I am using 0.4.98 right now. Any one else having this problem.
|
10-22-2008, 02:34 PM | #236 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
there were some changes to cover handling, perhaps a regression has been introduced. Open a ticket and attach one of the problem files.
|
10-22-2008, 06:01 PM | #237 |
Member
Posts: 18
Karma: 10
Join Date: Aug 2008
Device: Still wondering
|
Hi,
Is there a way to easily convert to epub with images? Like if you try to read a geopolitics review without the maps, it gets way less tasty. Can Calibre do that? Thanks. Thomas. |
10-22-2008, 06:08 PM | #238 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
calibre's conversion preserves images
|
10-28-2008, 08:49 PM | #239 |
Connoisseur
Posts: 57
Karma: 10
Join Date: Oct 2008
Device: prs 505
|
I have a html, which has a CSS style contains CJK font-face. I received the following errors with html2epub:
Traceback (most recent call last): File "/usr/bin/html2epub", line 8, in <module> load_entry_point('calibre==0.4.100', 'console_scripts', 'html2epub')() File "/usr/lib/python2.5/site-packages/calibre/ebooks/epub/from_html.py", line 320, in main convert(args[1], opts) File "/usr/lib/python2.5/site-packages/calibre/ebooks/epub/from_html.py", line 261, in convert parse_content(filelist, opts, tdir) File "/usr/lib/python2.5/site-packages/calibre/ebooks/epub/from_html.py", line 121, in parse_content hp.save() File "/usr/lib/python2.5/site-packages/calibre/ebooks/epub/from_html.py", line 93, in save Processor.save(self) File "/usr/lib/python2.5/site-packages/calibre/ebooks/html.py", line 579, in save open(path, 'wb').write(getattr(sheet, 'cssText', sheet).encode('utf-8')) UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 34: ordinal not in range(128) The result of self.log_info('attr=%s' % getattr(sheet, 'cssText', sheet) is: attr=.calibre_class_2 { font-face: 楷体_GB2312 } .calibre_class_3 { color: #ff0000 } .calibre_class_0 { color: #000000 } |
10-28-2008, 09:14 PM | #240 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
will be fixed in next release
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Old Thread] Epub Output: Line Height | greenapple | Conversion | 20 | 01-27-2013 09:27 AM |
EPUB output justification | toki08 | Calibre | 10 | 01-08-2011 04:14 PM |
Calibre epub output details and Nook | squidward | Calibre | 6 | 11-24-2010 03:21 PM |
epub output metadata | troymc | Calibre | 5 | 05-22-2010 12:23 AM |
Problem with epub output in Cybook Gen3 | fjf | Calibre | 3 | 02-03-2010 02:23 AM |