Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-21-2010, 11:32 PM   #1
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,897
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Conversion from LIT fails

Converting from a LIT file seems to fail big time.

ebook-convert "The Girl with the Dragon Tattoo.lit" *.epub --margin-top=0 --margin-bottom=0 --margin-left=0 --margin-right=0
1% Converting input to HTML...
InputFormatPlugin: LIT Input running
on E:\E-Books\Sorted\Stieg Larsson\The Girl with the Dragon Tattoo.lit
Parsing all content...
Forcing Lars_9780307272119_oeb_c28_r1.htm into XHTML namespace
Forcing Lars_9780307272119_oeb_c21_r1.htm into XHTML namespace
Forcing Lars_9780307272119_oeb_toc_r1.htm into XHTML namespace
Forcing Lars_9780307272119_oeb_c02_r1.htm into XHTML namespace
Forcing Lars_9780307272119_oeb_c04_r1.htm into XHTML namespace
Forcing Lars_9780307272119_oeb_c06_r1.htm into XHTML namespace
Forcing Lars_9780307272119_oeb_p02_r1.htm into XHTML namespace
Forcing Lars_9780307272119_oeb_c09_r1.htm into XHTML namespace
Forcing Lars_9780307272119_oeb_c11_r1.htm into XHTML namespace
Forcing Lars_9780307272119_oeb_c13_r1.htm into XHTML namespace
Forcing Lars_9780307272119_oeb_p03_r1.htm into XHTML namespace
Forcing Lars_9780307272119_oeb_c16_r1.htm into XHTML namespace
Forcing Lars_9780307272119_oeb_c18_r1.htm into XHTML namespace
Forcing Lars_9780307272119_oeb_c20_r1.htm into XHTML namespace
Forcing Lars_9780307272119_oeb_c23_r1.htm into XHTML namespace
Forcing Lars_9780307272119_oeb_p04_r1.htm into XHTML namespace
Forcing Lars_9780307272119_oeb_tp_r1.htm into XHTML namespace
Forcing Lars_9780307272119_oeb_bm1_r1.htm into XHTML namespace
Forcing Lars_9780307272119_oeb_c29_r1.htm into XHTML namespace
Forcing Lars_9780307272119_oeb_c22_r1.htm into XHTML namespace
Forcing Lars_9780307272119_oeb_fm1_r1.htm into XHTML namespace
Forcing Lars_9780307272119_oeb_c08_r1.htm into XHTML namespace
Property: Invalid value for "CSS Level 2.1" property: -1em [3:3: font-size]
Property: Invalid value for "CSS Level 2.1" property: -1em [2684:1: font-size]
Forcing Lars_9780307272119_oeb_c03_r1.htm into XHTML namespace
Forcing Lars_9780307272119_oeb_c05_r1.htm into XHTML namespace
Forcing Lars_9780307272119_oeb_c07_r1.htm into XHTML namespace
Forcing Lars_9780307272119_oeb_c10_r1.htm into XHTML namespace
Forcing Lars_9780307272119_oeb_c12_r1.htm into XHTML namespace
Forcing Lars_9780307272119_oeb_c14_r1.htm into XHTML namespace
Forcing Lars_9780307272119_oeb_c15_r1.htm into XHTML namespace
Forcing Lars_9780307272119_oeb_c17_r1.htm into XHTML namespace
Forcing Lars_9780307272119_oeb_c19_r1.htm into XHTML namespace
Forcing Lars_9780307272119_oeb_c27_r1.htm into XHTML namespace
Forcing Lars_9780307272119_oeb_c24_r1.htm into XHTML namespace
Forcing Lars_9780307272119_oeb_c25_r1.htm into XHTML namespace
Forcing Lars_9780307272119_oeb_p01_r1.htm into XHTML namespace
Forcing Lars_9780307272119_oeb_c26_r1.htm into XHTML namespace
Forcing Lars_9780307272119_oeb_ata_r1.htm into XHTML namespace
Forcing Lars_9780307272119_oeb_cop_r1.htm into XHTML namespace
Forcing Lars_9780307272119_oeb_c01_r1.htm into XHTML namespace
34% Running transforms on ebook...
Choosing other.ms-coverimage-standard:FC.jpg as the cover
Merging user specified metadata...
Detecting structure...
Flattening CSS and remapping font sizes...
Source base font size is 9.00000pt
Cleaning up manifest...
Trimming unused files from manifest...
Property: Invalid value for "CSS Level 2.1" property: -1em [292:1: font-size]
Trimming '~cov0003.jpg' from manifest
Trimming 'Lars_9780307272119_msr_cvt_r1.jpg' from manifest
Trimming 'Lars_9780307272119_msr_ppl_r1.jpg' from manifest
Trimming '~cov0004.jpg' from manifest
Creating EPUB Output...
67% Creating EPUB Output
Looking for large trees in Lars_9780307272119_oeb_c28_r1.htm...
No large trees found
Looking for large trees in Lars_9780307272119_oeb_c21_r1.htm...
No large trees found
Looking for large trees in Lars_9780307272119_oeb_toc_r1.htm...
No large trees found
Looking for large trees in Lars_9780307272119_oeb_c02_r1.htm...
No large trees found
Looking for large trees in Lars_9780307272119_oeb_c04_r1.htm...
No large trees found
Looking for large trees in Lars_9780307272119_oeb_c06_r1.htm...
No large trees found
Looking for large trees in Lars_9780307272119_oeb_p02_r1.htm...
No large trees found
Looking for large trees in Lars_9780307272119_oeb_c09_r1.htm...
No large trees found
Looking for large trees in Lars_9780307272119_oeb_c11_r1.htm...
No large trees found
Looking for large trees in Lars_9780307272119_oeb_c13_r1.htm...
No large trees found
Looking for large trees in Lars_9780307272119_oeb_p03_r1.htm...
No large trees found
Looking for large trees in Lars_9780307272119_oeb_c16_r1.htm...
No large trees found
Looking for large trees in Lars_9780307272119_oeb_c18_r1.htm...
No large trees found
Looking for large trees in Lars_9780307272119_oeb_c20_r1.htm...
No large trees found
Looking for large trees in Lars_9780307272119_oeb_c23_r1.htm...
No large trees found
Looking for large trees in Lars_9780307272119_oeb_p04_r1.htm...
No large trees found
Looking for large trees in Lars_9780307272119_oeb_tp_r1.htm...
No large trees found
Looking for large trees in Lars_9780307272119_oeb_bm1_r1.htm...
No large trees found
Looking for large trees in Lars_9780307272119_oeb_c29_r1.htm...
No large trees found
Looking for large trees in Lars_9780307272119_oeb_c22_r1.htm...
No large trees found
Looking for large trees in Lars_9780307272119_oeb_fm1_r1.htm...
No large trees found
Split into 2 parts
Looking for large trees in Lars_9780307272119_oeb_c08_r1.htm...
No large trees found
Looking for large trees in Lars_9780307272119_oeb_c03_r1.htm...
No large trees found
Looking for large trees in Lars_9780307272119_oeb_c05_r1.htm...
No large trees found
Looking for large trees in Lars_9780307272119_oeb_c07_r1.htm...
No large trees found
Looking for large trees in Lars_9780307272119_oeb_c10_r1.htm...
No large trees found
Looking for large trees in Lars_9780307272119_oeb_c12_r1.htm...
No large trees found
Looking for large trees in Lars_9780307272119_oeb_c14_r1.htm...
No large trees found
Looking for large trees in Lars_9780307272119_oeb_c15_r1.htm...
No large trees found
Looking for large trees in Lars_9780307272119_oeb_c17_r1.htm...
No large trees found
Looking for large trees in Lars_9780307272119_oeb_c19_r1.htm...
No large trees found
Looking for large trees in Lars_9780307272119_oeb_c27_r1.htm...
No large trees found
Looking for large trees in Lars_9780307272119_oeb_c24_r1.htm...
No large trees found
Looking for large trees in Lars_9780307272119_oeb_c25_r1.htm...
No large trees found
Looking for large trees in Lars_9780307272119_oeb_p01_r1.htm...
No large trees found
Looking for large trees in Lars_9780307272119_oeb_c26_r1.htm...
No large trees found
Looking for large trees in Lars_9780307272119_oeb_ata_r1.htm...
No large trees found
Looking for large trees in Lars_9780307272119_oeb_cop_r1.htm...
No large trees found
Looking for large trees in Lars_9780307272119_oeb_c01_r1.htm...
No large trees found
Python function terminated unexpectedly
(22, "invalid mode ('wb') or filename") (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 103, in main
File "site.py", line 85, in run_entry_point
File "site-packages\calibre\ebooks\conversion\cli.py", line 250, in main
File "site-packages\calibre\ebooks\conversion\plumber.py", line 843, in run
File "site-packages\calibre\ebooks\epub\output.py", line 182, in convert
File "site-packages\calibre\ebooks\epub\__init__.py", line 30, in initialize_container
File "site-packages\calibre\utils\zipfile.py", line 688, in __init__
IOError: [Errno 22] invalid mode ('wb') or filename: u'E:\\E-Books\\Sorted\\Stieg Larsson\\*.epub'
JSWolf is offline   Reply With Quote
Old 01-22-2010, 12:22 PM   #2
AnemicOak
Bookaholic
AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.
 
AnemicOak's Avatar
 
Posts: 14,391
Karma: 54969924
Join Date: Oct 2007
Location: Minnesota
Device: iPad Mini 4, AuraHD, iPhone XR +
This may not be of any help, but as a work around you might be able to explode the LIT using ConvertLit and then run the OPF and create a Mobi file and then convert that instead.

Don't know if it'll work, but it's worked for me on a few LIT's that errored during conversion.
AnemicOak is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PDF conversion fails farble1670 Calibre 2 10-09-2010 07:28 PM
Can't convert MOBI to EPUB.. conversion FAILS wallace.webmail Calibre 5 07-16-2010 12:45 AM
.lit conversion bubulac Calibre 0 01-07-2010 11:33 PM
lit conversion with the Kindle. keving1701 Amazon Kindle 5 02-17-2008 06:25 PM
LIT conversion (C#) developer Jaapjan Workshop 35 09-26-2005 09:43 AM


All times are GMT -4. The time now is 05:17 PM.


MobileRead.com is a privately owned, operated and funded community.