View Single Post
Old 03-08-2011, 10:32 AM   #1
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,079
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Never .ending RAR convert

I tried to convert a RAR archive to EPUB and ran over night with no progress.
The subject should have bee a 'quick convert' as others in the group were done in a minute.
The log indicated a loop (about 20K lines of this )

Spoiler:
Traceback (most recent call last):
File "site-packages\calibre\customize\ui.py", line 352, in get_file_type_metadata
File "site-packages\calibre\customize\builtins.py", line 347, in get_metadata
File "site-packages\calibre\ebooks\metadata\rar.py", line 41, in get_metadata
ValueError: No ebook found in RAR archive
Traceback (most recent call last):
File "site-packages\calibre\customize\ui.py", line 352, in get_file_type_metadata
File "site-packages\calibre\customize\builtins.py", line 347, in get_metadata
File "site-packages\calibre\ebooks\metadata\rar.py", line 41, in get_metadata
ValueError: No ebook found in RAR archive


What I found, after opening the RAR, was it just contained other RAR's, each with a 'chapter' (each were a valid HTML package).
I realize that the Outer Archive (wrapper) did not enclose a valid book ( Would having an index.html make it valid? ), .
Is a Rar within a RAR, even valid?
Shouldn't Convert have aborted the convert on it's own?

Is Calibre 'too Liberal' on allowing drag and drop (main library) of Archives without a whimper on content (metadata was constructed from file name)?
theducks is offline   Reply With Quote