09-02-2011, 04:09 PM | #1 |
Enthusiast
Posts: 29
Karma: 244
Join Date: Aug 2011
Location: North Pole, Alaska
Device: Kindle DXG
|
calibre-0.8.14 Linux ebook-convert cpu run/endless loop?
Also, the following ebook-convert incantation seems to take forever here:
$ cp /usr/share/man/man1/convert.1.bz2 ./ $ bzip2 -d convert.1.bz2 $ man2html convert.1 $ python2.7 /usr/bin/ebook-convert ./convert.html convert.mobi --language en --output-profile kindle_dx Seems to stall/CPU run at "Applying case-transforming CSS...". Also a mess of errors. This is such a small man file (or html file after man2html), so likely a CPU run or endless loop somewhere. (Also, --language option seems to be ignored, or I'm using the wrong option due to lack of documentation?) |
09-02-2011, 04:22 PM | #2 |
Enthusiast
Posts: 29
Karma: 244
Join Date: Aug 2011
Location: North Pole, Alaska
Device: Kindle DXG
|
... as I'm converting a few HTML man pages to MOBI, things seem to be moving along now after ebook-convert *finally* got past the convert.1 man page. For some reason, just a few HTML man pages are giving ebook-convert issues, one being convert.1. They're pretty small and only text. For some reason, ebook-convert might be doing something else besides text.
|
Advert | |
|
09-02-2011, 04:40 PM | #3 |
Resident Curmudgeon
Posts: 74,027
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Have you tried 0.8.17?
|
09-02-2011, 06:08 PM | #4 |
Enthusiast
Posts: 29
Karma: 244
Join Date: Aug 2011
Location: North Pole, Alaska
Device: Kindle DXG
|
It's not in Gentoo Portage yet.
LOL. see -> http://sourceforge.net/projects/calibre/files/ 0.8.17 < 5 hours ago 312 downloads 0.8.16 2011-08-26 10,633 downloads 0.8.15 2011-08-19 6,986 downloads 0.8.14 2011-08-12 6,841 downloads 0.8.13 2011-08-05 6,851 downloads 0.8.12 2011-07-29 7,271 downloads 0.8.11 2011-07-22 7,470 downloads It takes Gentoo Bugs about 2 weeks to get an EBuild (package install script) into or updated into the package management tree. (Add +6 mos. for other binary distributions.) I think you wore them out with all of your snapshot releases, as Gentoo usually does have the latest and greatest whilst everybody else is stuck with 6+ mos. old binaries. But, this is such a common task that any Linux folk should be able to reproduce. I'm seeing similar with the display.1 man file too. Seems like all of imagemagicks man files are doing this. (See the error "Failed to find image: ../images/annotate.png" wha?? we're in terminal and man files are text only! ...that I know of.) Transformed CSS selector h|DIV.tabs h|A to h|div.tabs h|a Transformed CSS selector h|DIV.tabs h|SPAN to h|div.tabs h|span Transformed CSS selector h|DIV.tabs h|INPUT to h|div.tabs h|input Transformed CSS selector h|DIV.tabs h|TD to h|div.tabs h|td Transformed CSS selector h|DIV.tabs h|SPAN to h|div.tabs h|span Transformed CSS selector h|DIV.tabs h|LI.current h|A to h|div.tabs h|li.current h|a Transformed CSS selector h|DIV.tabs h|LI.current h|SPAN to h|div.tabs h|li.current h|span CSSStylesheet: CSSImportRule not allowed here. [3:1: @import] CSSStylesheet: CSSImportRule not allowed here. [3:1: @import] CSSStylesheet: CSSImportRule not allowed here. [3:1: @import] CSSStylesheet: CSSImportRule not allowed here. [3:1: @import] CSSStylesheet: CSSImportRule not allowed here. [3:1: @import] CSSStylesheet: CSSImportRule not allowed here. [3:1: @import] CSSStylesheet: CSSImportRule not allowed here. [3:1: @import] CSSStylesheet: CSSImportRule not allowed here. [3:1: @import] CSSStylesheet: CSSImportRule not allowed here. [3:1: @import] Source base font size is 12.00000pt Removing fake margins... Cleaning up manifest... Trimming unused files from manifest... Trimming u'background.jpg' from manifest Trimming u'tab_l1.gif' from manifest Trimming u'tab_b.gif' from manifest Trimming u'tab_r1.gif' from manifest Trimming u'tab_b1.gif' from manifest Trimming u'tab_l.gif' from manifest Trimming u'tab_r.gif' from manifest Creating MOBI Output... 67% Creating MOBI Output Generating in-line TOC... Applying case-transforming CSS... Rasterizing SVG images... Converting XHTML to Mobipocket markup... Failed to find image: ../images/annotate.png |
09-02-2011, 06:11 PM | #5 |
Enthusiast
Posts: 29
Karma: 244
Join Date: Aug 2011
Location: North Pole, Alaska
Device: Kindle DXG
|
ps ax doesn't show anything else but the "python ebook-convert" process. So it's probably pulling in a lib and doing something recursively somewhere. I'd hate to stop converting all man pages man1/ folder, just to switch on the verbose option for imagemagicks man pages. I'll probably stop it later this evening, once complete with man1 folder and switch on any debug options, if there are any. If I can reproduce, which I should, I can then run through strace, gdb, ... the full range of debuggers.
|
Advert | |
|
09-02-2011, 06:16 PM | #6 |
Enthusiast
Posts: 29
Karma: 244
Join Date: Aug 2011
Location: North Pole, Alaska
Device: Kindle DXG
|
Ah, just finished after hours... here's the output for FYI, and there are none of those Hyperlink targets within this "bzcat display.1.bz2 | man2html > display.html" file:
Serializing markup content... Hyperlink target 'command-line-options.html#optimize' not found Hyperlink target 'composite1.html#CompositeImage' not found Hyperlink target 'magick-vector-graphics.html#fuzz' not found Hyperlink target 'module.html#ExecuteModuleProcess' not found Hyperlink target 'command-line-options.html#blackpoint-compensation' not found Hyperlink target 'advanced-windows-installation.html#install' not found Hyperlink target 'command-line-options.html#origin' not found Hyperlink target 'command-line-options.html#matte' not found Hyperlink target 'cache.html#SetImageVirtualPixelMethod' not found Hyperlink target 'sitemap.html#formats' not found Hyperlink target 'cache.html#GetAuthenticIndexes' not found Hyperlink target 'cache.html#GetVirtualIndexes' not found Hyperlink target 'perl-magick.html#misc' not found Hyperlink target 'command-line-options.html#stream-map' not found Hyperlink target 'command-line-options.html#pen' not found Hyperlink target 'command-line-options.html#disimilarity-threshold' not found Hyperlink target 'command-line-options.html#affinity' not found Hyperlink target 'command-line-options.html#box' not found Hyperlink target 'formats.html#SHTML' not found Hyperlink target 'advanced-windows-installation.html#build' not found Hyperlink target 'command-line-options.html#evaluate-seqence' not found Hyperlink target 'formats.html#BMP' not found Hyperlink target 'command-line-options.html#animate' not found Hyperlink target 'command-line-options.html#-function' not found Hyperlink target 'formats.html#TIFF' not found Hyperlink target 'command-line-options.html#scenes' not found Hyperlink target 'formats.html#MIFF' not found Hyperlink target 'command-line-options.html#unique' not found Compressing markup content... Generating flat CTOC ... CNCX utilization: 1 record, 1% full Indexing navPoints ... Generating INDX ... Serializing images... MOBI output written to /home/roger/Documents/Books/ManPages-HTML/man1/display.mobi Output saved to /home/roger/Documents/Books/ManPages-HTML/man1/display.mobi |
09-02-2011, 08:39 PM | #7 |
Resident Curmudgeon
Posts: 74,027
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
So if there is a later version of Calibre available even if it's not the latest, try that before posting bug reports on an older version.
|
09-02-2011, 10:56 PM | #8 |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Distribution versions of calibre aren't supported. You can follow the binary install instructions on this page to load the current version.
I'd like to help you with your error but I don't run linux and you haven't chose to express your error/trouble in terms I understand. Good Luck. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
=calibre-0.8.14 Linux No X ebook-convert bug | rogerx | Conversion | 2 | 09-02-2011 07:41 PM |
Run Error Suse Linux | dsc3507 | Calibre | 10 | 01-11-2011 12:25 PM |
ebook-convert for linux | Patton | Calibre | 5 | 02-10-2010 09:57 PM |
any one have run linux on A81/W1060? | u2mr | Alternative Devices | 4 | 12-22-2009 08:11 PM |
manga reader for linux with MIPS CPU | spawnraf | Alternative Devices | 2 | 12-01-2009 05:53 AM |