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

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 03-11-2010, 06:27 AM   #1
eksor
Connoisseur
eksor ought to be getting tired of karma fortunes by now.eksor ought to be getting tired of karma fortunes by now.eksor ought to be getting tired of karma fortunes by now.eksor ought to be getting tired of karma fortunes by now.eksor ought to be getting tired of karma fortunes by now.eksor ought to be getting tired of karma fortunes by now.eksor ought to be getting tired of karma fortunes by now.eksor ought to be getting tired of karma fortunes by now.eksor ought to be getting tired of karma fortunes by now.eksor ought to be getting tired of karma fortunes by now.eksor ought to be getting tired of karma fortunes by now.
 
eksor's Avatar
 
Posts: 94
Karma: 999884
Join Date: Jun 2009
Device: prs700, i-mate JAMin, smartq v7, GeeksPhone Zero, iPad 3rd Gen
website crashes ebook-convert after web2disk

Hi:

Firstly, thanks to Mr. Kovid Goyal for such a fine piece of software, without it I could trashcan my prs-700.

This site http://homepages.inf.ed.ac.uk/rbf/CV...BMVA96Tut.html and similar ones obtained with latex2html crashes ebook-convert and even web2disk is not working well:

X:\convertir>web2disk http://homepages.inf.ed.ac.uk/rbf/CV...OCAL_COPIES/BM
VA96Tut/BMVA96Tut.html
.<<<<single dot

Directory listing:

11/03/2010 12:16 <DIR> links
11/03/2010 12:16 <DIR> images
11/03/2010 12:16 5.399 BMVA96Tut.xhtml
11/03/2010 12:16 <DIR> stylesheets

All the sub directories are empty, increasing levels of recursion has no effect.

ebook-convert output:

X:\convertir>ebook-convert BMVA96Tut.xhtml BMVA96Tut.lrf
1% Convirtiendo entrada a HTML...
InputFormatPlugin: HTML Input running
on X:\convertir\BMVA96Tut.xhtml
Language not specified
Creator not specified
Building file list...
34% Aplicando transformaciones al libro electrónico...
Merging user specified metadata...
Detecting structure...
Auto generated TOC with 0 entries.
Flattening CSS and remapping font sizes...
Python function terminated unexpectedly
max() arg is an empty sequence (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 816, in run
File "site-packages\calibre\ebooks\oeb\transforms\flatcss.py" , line 123, in __
call__
File "site-packages\calibre\ebooks\oeb\transforms\flatcss.py" , line 167, in ba
seline_spine
ValueError: max() arg is an empty sequence

I have tried to download the site with wget (with --convert-links in order to make the links point to the local files) instead of web2disk. Ebook-convert crashes again. Editing BMVA96Tut.html (removing #manynumbers from links) was partially a success, the conversion process ended but images were not found.

Any suggestions would be greatly appreciated.

Regards.
eksor is offline   Reply With Quote
Old 03-11-2010, 06:58 AM   #2
eksor
Connoisseur
eksor ought to be getting tired of karma fortunes by now.eksor ought to be getting tired of karma fortunes by now.eksor ought to be getting tired of karma fortunes by now.eksor ought to be getting tired of karma fortunes by now.eksor ought to be getting tired of karma fortunes by now.eksor ought to be getting tired of karma fortunes by now.eksor ought to be getting tired of karma fortunes by now.eksor ought to be getting tired of karma fortunes by now.eksor ought to be getting tired of karma fortunes by now.eksor ought to be getting tired of karma fortunes by now.eksor ought to be getting tired of karma fortunes by now.
 
eksor's Avatar
 
Posts: 94
Karma: 999884
Join Date: Jun 2009
Device: prs700, i-mate JAMin, smartq v7, GeeksPhone Zero, iPad 3rd Gen
Quote:
Originally Posted by eksor View Post
Hi:

Firstly, thanks to Mr. Kovid Goyal for such a fine piece of software, without it I could trashcan my prs-700.

This site http://homepages.inf.ed.ac.uk/rbf/CV...BMVA96Tut.html and similar ones obtained with latex2html crashes ebook-convert and even web2disk is not working well:

X:\convertir>web2disk http://homepages.inf.ed.ac.uk/rbf/CV...OCAL_COPIES/BM
VA96Tut/BMVA96Tut.html
.<<<<single dot

Directory listing:

11/03/2010 12:16 <DIR> links
11/03/2010 12:16 <DIR> images
11/03/2010 12:16 5.399 BMVA96Tut.xhtml
11/03/2010 12:16 <DIR> stylesheets

All the sub directories are empty, increasing levels of recursion has no effect.

ebook-convert output:

X:\convertir>ebook-convert BMVA96Tut.xhtml BMVA96Tut.lrf
1% Convirtiendo entrada a HTML...
InputFormatPlugin: HTML Input running
on X:\convertir\BMVA96Tut.xhtml
Language not specified
Creator not specified
Building file list...
34% Aplicando transformaciones al libro electrónico...
Merging user specified metadata...
Detecting structure...
Auto generated TOC with 0 entries.
Flattening CSS and remapping font sizes...
Python function terminated unexpectedly
max() arg is an empty sequence (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 816, in run
File "site-packages\calibre\ebooks\oeb\transforms\flatcss.py" , line 123, in __
call__
File "site-packages\calibre\ebooks\oeb\transforms\flatcss.py" , line 167, in ba
seline_spine
ValueError: max() arg is an empty sequence

I have tried to download the site with wget (with --convert-links in order to make the links point to the local files) instead of web2disk. Ebook-convert crashes again. Editing BMVA96Tut.html (removing #manynumbers from links) was partially a success, the conversion process ended but images were not found.

Any suggestions would be greatly appreciated.

Regards.
Solved, I apologize for complaining to quickly, hope this works for everybody:

Just filter through tidy -m -c all the linked html files and everything went smooth.

Thanks!
eksor is offline   Reply With Quote
Advert
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to convert a whole downloaded website into something that can be read by kindledx drtom Calibre 5 01-23-2011 10:59 PM
Can Calibre convert a website article? flyash Calibre 6 06-10-2010 06:49 PM
web2disk kovidgoyal Sony Reader 6 02-28-2009 01:49 PM
Reader connect crashes Sony eBook Software Yosa Sony Reader 1 12-30-2008 02:26 AM
ebook library software crashes macgeek21 Sony Reader 3 04-10-2008 09:30 PM


All times are GMT -4. The time now is 03:50 AM.


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