Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 04-12-2013, 12:06 PM   #1
mfsav2
Member
mfsav2 began at the beginning.
 
Posts: 19
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, 12:16 PM   #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: 38,474
Karma: 19300555
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2), Sony PRS-650, Sony PRS-T1, nook STR, iPad 1, iPhone 5
It could be a corrupted LIT file.
JSWolf is offline   Reply With Quote
Old 04-12-2013, 12:37 PM   #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: 26,433
Karma: 5383257
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, 02:41 PM   #4
mfsav2
Member
mfsav2 began at the beginning.
 
Posts: 19
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, 10:13 PM   #5
BetterRed
null operator
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: 3,963
Karma: 2925589
Join Date: Mar 2012
Location: NSW 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
Old 04-13-2013, 10: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: 38,474
Karma: 19300555
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2), Sony PRS-650, Sony PRS-T1, nook STR, iPad 1, iPhone 5
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


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


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