Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 04-12-2013, 11:06 AM   #1
mfsav2
Member
mfsav2 began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Jan 2013
Device: Kindle
error opening a LIT file

I have several LIT I was converting but in one of those I get this error:
calibre, version 0.9.26
ERROR: Could not open ebook: Extra closing tag None at 4371

Traceback (most recent call last):
File "site-packages\calibre\gui2\viewer\main.py", line 40, in run
File "threading.py", line 504, in run
File "site-packages\calibre\ebooks\oeb\iterator\book.py", line 99, in __enter__
File "site-packages\calibre\customize\conversion.py", line 239, in __call__
File "site-packages\calibre\ebooks\conversion\plugins\lit_inp ut.py", line 23, in convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 1183, in create_oebbook
File "site-packages\calibre\ebooks\oeb\reader.py", line 69, in __call__
File "site-packages\calibre\ebooks\oeb\reader.py", line 101, in _read_opf
File "site-packages\calibre\ebooks\lit\reader.py", line 876, in read
File "site-packages\calibre\ebooks\lit\reader.py", line 897, in _read_meta
File "site-packages\calibre\ebooks\lit\reader.py", line 135, in __init__
File "site-packages\calibre\ebooks\lit\reader.py", line 174, in binary_to_text
File "site-packages\calibre\ebooks\lit\reader.py", line 241, in binary_to_text_inner
LitError: Extra closing tag None at 4371


Is there anyway I can fix it?
mfsav2 is offline   Reply With Quote
Old 04-12-2013, 11:16 AM   #2
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: 74,071
Karma: 129333562
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
It could be a corrupted LIT file.
JSWolf is offline   Reply With Quote
Advert
Old 04-12-2013, 11:37 AM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,874
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
It is a corrupted lit file. You'll have to obtain it in another format.
kovidgoyal is offline   Reply With Quote
Old 04-13-2013, 01:41 PM   #4
mfsav2
Member
mfsav2 began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Jan 2013
Device: Kindle
The Reader opens it without any problem...
mfsav2 is offline   Reply With Quote
Old 04-13-2013, 09:13 PM   #5
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,590
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by mfsav2 View Post
The Reader opens it without any problem...
Have you tried How to Convert an MS Lit File to Html

Calibre can read & convert HTML - and if there's a problem with it, then someone conversant with HTML can probably help to straighten it out.

If that doesn't work search the web with "convert lit file" and you'll find some other alternatives

BR
BetterRed is offline   Reply With Quote
Advert
Old 04-13-2013, 09:16 PM   #6
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: 74,071
Karma: 129333562
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by mfsav2 View Post
The Reader opens it without any problem...
MS Reader is known to read some LIT that are corrupt.
JSWolf is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
opening up a lit file p3aul Other formats 13 05-20-2012 04:01 PM
Error opening Lit books in the reader rwmcafee Calibre 1 05-12-2012 01:38 AM
Opening a lit file returns error fiery Calibre 1 12-24-2010 02:05 PM
0.3.2 Opening Error soulartist Sigil 9 12-01-2010 08:03 AM
Error when opening lit file thfc2008 Other formats 7 11-25-2008 06:55 PM


All times are GMT -4. The time now is 11:01 AM.


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