![]() |
#286 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
|
@user_none, I'm still seeing the same issues with build 8. can't build eReader files. Later in the week I'll try the same command with linux.
=X= |
![]() |
![]() |
#287 | |
Sigil & calibre developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
Quote:
Code:
ebook-convert Week\,\ Business\ -\ Sprint\ PCS_PURIFIED.html w.pdb --format ereader --title="Sprint PCS" --authors="Business Week" --language="english" --page-breaks-before="PAGE_BREAKS_BEFORE" --preprocess-html --book-producer="BookCreator" --margin-left=3 --margin-right=3 --margin-top=3 --margin-bottom=0 --chapter-mark="pagebreak" --chapter "//h:p[re:test(@class, 'TWOCHAPTERTITLE', 'i')]" --level1-toc="//h:p[re:test(@class, 'TWOCHAPTERTITLE', 'i')]" --level2-toc="//h:p[re:test(@class, 'TWOONECHAPTERSUBTITLE', 'i')]" --level3-toc="//h:p[re:test(@class, 'TWOTWOCHAPTERSUBTITLE', 'i')]" --max-levels=2 Can someone else on Windows try converting to ereader pdb? |
|
![]() |
![]() |
#288 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
|
Quote:
My point on the previous post is I will run the same command using "Linux" to see if I get the same results. =X= |
|
![]() |
![]() |
#289 |
Wearer of Pants
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,050
Karma: 7634
Join Date: Jan 2008
Location: Norman, OK
Device: Amazon Kindle DX / iPhone
|
With both 6.0b7 and 6.0b8 I have suddenly began to have errors importing mobi files (PRC and MOBI). I get this error everytime:
Code:
Traceback (most recent call last): File "calibre/gui2/add.pyo", line 128, in update File "calibre/ebooks/metadata/opf2.pyo", line 457, in __init__ File "lxml.etree.pyx", line 2435, in lxml.etree.fromstring (src/lxml/lxml.etree.c:24170) File "parser.pxi", line 1511, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:64170) File "parser.pxi", line 1383, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:63041) File "parser.pxi", line 892, in lxml.etree._BaseParser._parseUnicodeDoc (src/lxml/lxml.etree.c:59878) File "parser.pxi", line 538, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:56751) File "parser.pxi", line 624, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:57595) File "parser.pxi", line 575, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:57140) XMLSyntaxError: None I've opened a ticket. I'm also seeing MANY python processes (and they are calibre) running in the activity monitor when Calibre is closed. I've also ticketed this issue. This may have been fixed in 6.08b. |
![]() |
![]() |
#290 |
Provocateur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,859
Karma: 505847
Join Date: Feb 2009
Location: Columbus, OH
Device: Kindle Touch, Kindle 2, Kindle DX, iPhone 3GS
|
|
![]() |
![]() |
#291 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
|
Quote:
=X= |
|
![]() |
![]() |
#292 |
Provocateur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,859
Karma: 505847
Join Date: Feb 2009
Location: Columbus, OH
Device: Kindle Touch, Kindle 2, Kindle DX, iPhone 3GS
|
Without the files in question it would not be a replicated test.
|
![]() |
![]() |
#293 |
Sigil & calibre developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
The source HTML file is in the pdb zip archive. There is also a file with the command line options =X= used. Could you also try converting a few books to pdb with and without the --format=ereader option as well?
|
![]() |
![]() |
#294 |
Provocateur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,859
Karma: 505847
Join Date: Feb 2009
Location: Columbus, OH
Device: Kindle Touch, Kindle 2, Kindle DX, iPhone 3GS
|
The first two tests, creating the two PDB files, worked fine. Adding --format=ereader appeared to make no difference but I did not inspect the resulting files that closely.
The third test, creating the PDF file, appeared to work fine, but the PDF is just small, blank pages. Adding --format=ereader to the attempted PDF conversion resulted in an error. Code:
Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Program Files\calibre 0.6>ebook-convert.exe "Mobi - LRF TEST_PURIFIED.html" "Mobi - LRF TEST.pdb" --title="LRF TEST" --authors="Mobi" --language="english" --page-breaks-before="PAGE_BREAKS_BEFORE" --preprocess-html --book-producer="Boo kCreator" --tags="eZine" --margin-left=3 --margin-right=3 --margin-top=3 --marg in-bottom=0 --chapter-mark="pagebreak" --chapter "//h:p[re:test(@class, 'TWOCHAP TERTITLE', 'i')]" --level1-toc="//h:p[re:test(@class, 'TWOCHAPTERTITLE', 'i')]" --level2-toc="//h:p[re:test(@class, 'TWOONECHAPTERSUBTITLE', 'i')]" --level3-toc ="//h:p[re:test(@class, 'TWOTWOCHAPTERSUBTITLE', 'i')]" --max-levels=2 1% Converting input to HTML... InputFormatPlugin: HTML Input running on C:\Program Files\calibre 0.6\Mobi - LRF TEST_PURIFIED.html Language not specified Creator not specified Building file list... Parsing file u'Mobi%20-%20LRF%20TEST_PURIFIED.html' as HTML 34% Running transforms on ebook... Merging user specified metadata... Detecting structure... Detected chapter: [QUOTE=MOBIUSER;428712] Detected chapter: [QUOTE=MOBIUSER;428712] Detected chapter: [QUOTE=MOBIUSER;428712] Auto generated TOC with 3 entries. Flattening CSS and remapping font sizes... Property: Unknown Property name. [7:2: panose-1] Property: Unknown Property name. [10:2: panose-1] Source base font size is 12.00000pt Cleaning up manifest... Trimming unused files from manifest... Creating PDB Output... 67% Creating PDB Output Compessing data... PDB output written to C:\Program Files\calibre 0.6\Mobi - LRF TEST.pdb Output saved to C:\Program Files\calibre 0.6\Mobi - LRF TEST.pdb C:\Program Files\calibre 0.6>ebook-convert.exe "Mobi - LRF TEST_PURIFIED.html" "Mobi - LRF TEST.pdb" --title="LRF TEST" --authors="Mobi" --language="english" --page-breaks-before="PAGE_BREAKS_BEFORE" --preprocess-html --book-producer="Boo kCreator" --tags="eZine" --margin-left=3 --margin-right=3 --margin-top=3 --marg in-bottom=0 --chapter-mark="pagebreak" --chapter "//h:p[re:test(@class, 'TWOCHAP TERTITLE', 'i')]" --level1-toc="//h:p[re:test(@class, 'TWOCHAPTERTITLE', 'i')]" --level2-toc="//h:p[re:test(@class, 'TWOONECHAPTERSUBTITLE', 'i')]" --level3-toc ="//h:p[re:test(@class, 'TWOTWOCHAPTERSUBTITLE', 'i')]" --max-levels=2 --format= ereader 1% Converting input to HTML... InputFormatPlugin: HTML Input running on C:\Program Files\calibre 0.6\Mobi - LRF TEST_PURIFIED.html Language not specified Creator not specified Building file list... Parsing file u'Mobi%20-%20LRF%20TEST_PURIFIED.html' as HTML 34% Running transforms on ebook... Merging user specified metadata... Detecting structure... Detected chapter: [QUOTE=MOBIUSER;428712] Detected chapter: [QUOTE=MOBIUSER;428712] Detected chapter: [QUOTE=MOBIUSER;428712] Auto generated TOC with 3 entries. Flattening CSS and remapping font sizes... Property: Unknown Property name. [7:2: panose-1] Property: Unknown Property name. [10:2: panose-1] Source base font size is 12.00000pt Cleaning up manifest... Trimming unused files from manifest... Creating PDB Output... 67% Creating PDB Output Converting XHTML to PML markup... PDB output written to C:\Program Files\calibre 0.6\Mobi - LRF TEST.pdb Output saved to C:\Program Files\calibre 0.6\Mobi - LRF TEST.pdb C:\Program Files\calibre 0.6>ebook-convert.exe "Week, Business - Sprint PCS_PURI FIED.html" "Week, Business - Sprint PCS.pdb" --title="Sprint PCS" --authors="B usiness Week" --language="english" --page-breaks-before="PAGE_BREAKS_BEFORE" --p reprocess-html --book-producer="BookCreator" --margin-left=3 --margin-right=3 -- margin-top=3 --margin-bottom=0 --chapter-mark="pagebreak" --chapter "//h:p[re:te st(@class, 'TWOCHAPTERTITLE', 'i')]" --level1-toc="//h:p[re:test(@class, 'TWOCHA PTERTITLE', 'i')]" --level2-toc="//h:p[re:test(@class, 'TWOONECHAPTERSUBTITLE', 'i')]" --level3-toc="//h:p[re:test(@class, 'TWOTWOCHAPTERSUBTITLE', 'i')]" --max -levels=2 1% Converting input to HTML... InputFormatPlugin: HTML Input running on C:\Program Files\calibre 0.6\Week, Busi ness - Sprint PCS_PURIFIED.html Language not specified Creator not specified Building file list... Parsing file u'Week%2c%20Business%20-%20Sprint%20PCS_PURIFIED.html' as HTML 34% Running transforms on ebook... Merging user specified metadata... Detecting structure... Detected chapter: Story Auto generated TOC with 1 entries. Flattening CSS and remapping font sizes... Property: Unknown Property name. [7:2: panose-1] Property: Unknown Property name. [10:2: panose-1] Source base font size is 12.00000pt Cleaning up manifest... Trimming unused files from manifest... Creating PDB Output... 67% Creating PDB Output Compessing data... PDB output written to C:\Program Files\calibre 0.6\Week, Business - Sprint PCS.p db Output saved to C:\Program Files\calibre 0.6\Week, Business - Sprint PCS.pdb C:\Program Files\calibre 0.6>ebook-convert.exe "Week, Business - Sprint PCS_PURI FIED.html" "Week, Business - Sprint PCS.pdb" --title="Sprint PCS" --authors="B usiness Week" --language="english" --page-breaks-before="PAGE_BREAKS_BEFORE" --p reprocess-html --book-producer="BookCreator" --margin-left=3 --margin-right=3 -- margin-top=3 --margin-bottom=0 --chapter-mark="pagebreak" --chapter "//h:p[re:te st(@class, 'TWOCHAPTERTITLE', 'i')]" --level1-toc="//h:p[re:test(@class, 'TWOCHA PTERTITLE', 'i')]" --level2-toc="//h:p[re:test(@class, 'TWOONECHAPTERSUBTITLE', 'i')]" --level3-toc="//h:p[re:test(@class, 'TWOTWOCHAPTERSUBTITLE', 'i')]" --max -levels=2 --format=ereader 1% Converting input to HTML... InputFormatPlugin: HTML Input running on C:\Program Files\calibre 0.6\Week, Busi ness - Sprint PCS_PURIFIED.html Language not specified Creator not specified Building file list... Parsing file u'Week%2c%20Business%20-%20Sprint%20PCS_PURIFIED.html' as HTML 34% Running transforms on ebook... Merging user specified metadata... Detecting structure... Detected chapter: Story Auto generated TOC with 1 entries. Flattening CSS and remapping font sizes... Property: Unknown Property name. [7:2: panose-1] Property: Unknown Property name. [10:2: panose-1] Source base font size is 12.00000pt Cleaning up manifest... Trimming unused files from manifest... Creating PDB Output... 67% Creating PDB Output Converting XHTML to PML markup... PDB output written to C:\Program Files\calibre 0.6\Week, Business - Sprint PCS.p db Output saved to C:\Program Files\calibre 0.6\Week, Business - Sprint PCS.pdb C:\Program Files\calibre 0.6>ebook-convert.exe "Week, Business - Sprint PCS_PURI FIED.html" "Week, Business - Sprint PCS.pdf" --title="Sprint PCS" --authors="B usiness Week" --language="english" --page-breaks-before="PAGE_BREAKS_BEFORE" --p reprocess-html --book-producer="BookCreator" --paper-size="a6" --orientation="p ortrait" --margin-left=3 --margin-right=3 --margin-top=3 --margin-bottom=0 --ch apter-mark="pagebreak" --chapter "//h:p[re:test(@class, 'TWOCHAPTERTITLE', 'i')] " --level1-toc="//h:p[re:test(@class, 'TWOCHAPTERTITLE', 'i')]" --level2-toc="// h:p[re:test(@class, 'TWOONECHAPTERSUBTITLE', 'i')]" --level3-toc="//h:p[re:test( @class, 'TWOTWOCHAPTERSUBTITLE', 'i')]" --max-levels=2 1% Converting input to HTML... InputFormatPlugin: HTML Input running on C:\Program Files\calibre 0.6\Week, Busi ness - Sprint PCS_PURIFIED.html Language not specified Creator not specified Building file list... Parsing file u'Week%2c%20Business%20-%20Sprint%20PCS_PURIFIED.html' as HTML 34% Running transforms on ebook... Merging user specified metadata... Detecting structure... Detected chapter: Story Auto generated TOC with 1 entries. Flattening CSS and remapping font sizes... Property: Unknown Property name. [7:2: panose-1] Property: Unknown Property name. [10:2: panose-1] Source base font size is 12.00000pt Cleaning up manifest... Trimming unused files from manifest... Creating PDF Output... 67% Creating PDF Output PDF output written to C:\Program Files\calibre 0.6\Week, Business - Sprint PCS.p df Output saved to C:\Program Files\calibre 0.6\Week, Business - Sprint PCS.pdf C:\Program Files\calibre 0.6>ebook-convert.exe "Week, Business - Sprint PCS_PURI FIED.html" "Week, Business - Sprint PCS.pdf" --title="Sprint PCS" --authors="B usiness Week" --language="english" --page-breaks-before="PAGE_BREAKS_BEFORE" --p reprocess-html --book-producer="BookCreator" --paper-size="a6" --orientation="p ortrait" --margin-left=3 --margin-right=3 --margin-top=3 --margin-bottom=0 --ch apter-mark="pagebreak" --chapter "//h:p[re:test(@class, 'TWOCHAPTERTITLE', 'i')] " --level1-toc="//h:p[re:test(@class, 'TWOCHAPTERTITLE', 'i')]" --level2-toc="// h:p[re:test(@class, 'TWOONECHAPTERSUBTITLE', 'i')]" --level3-toc="//h:p[re:test( @class, 'TWOTWOCHAPTERSUBTITLE', 'i')]" --max-levels=2 --format=ereader Usage: ebook-convert.exe input_file output_file [options] Convert an ebook from one format to another. input_file is the input and output_file is the output. Both must be specified as the first two arguments to the command. The output ebook format is guessed from the file extension of output_file. outpu t_file can also be of the special format .EXT where EXT is the output file exten sion. In this case, the name of the output file is derived the name of the input file. Note that the filenames must not start with a hyphen. Finally, if output_ file has no extension, then it is treated as a directory and an "open ebook" (OE B) consisting of HTML files is written to that directory. These files are the fi les that would normally have been passed to the output plugin. After specifying the input and output file you can customize the conversion by s pecifying various options. the available options depend on the input and output file types. To get help on them specify the input and output file and then use t he -h option. For full documentation of the conversion system see http://calibre.kovidgoyal.net/user_manual/conversion.html Whenever you pass arguments to ebook-convert.exe that have spaces in them, enclo se the arguments in quotation marks. ebook-convert.exe: error: no such option: --format C:\Program Files\calibre 0.6> |
![]() |
![]() |
#295 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jun 2009
Device: Kindle DX
|
Hi Calibre-Team,
first - thank you for your great job!! I wouldn´t have bought an eBook device if Calibre doesn´t exist. I have a Kindle DX and ran into some problems with converting Comics (.cbz). When I choose a .cbz file and convert it to .mobi (with Kindle DX as output selected) it converts the file but every second page is simply blank on the DX! Tested with calibre 0.6 beta 8 (the newest build). The rest works great! It would be great, if you could fix this! Thanks in advance! Jens |
![]() |
![]() |
#296 |
Sigil & calibre developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
@Garachico, I've decreaded the comic size for the kindle dx profile. With any luck this will fix the blank page issue.
@=X=, sirbruce is getting proper output for PDB... I'm wondering if something didn't go right when you updated to beta 8? @sirbruce, PDF does not support the format option. It is only supported by PDB because PDB is a container that can hold many different formats (palmdoc, ereader, ztxt, mobi...). @sirbruce, Any chance I can get you to run some tests for PDF output? Vary things like the paper size, orientation, and margins for instance. |
![]() |
![]() |
#297 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
|
@user_none
With spruce's success, I quit trying to build PDB with BookCreator and tried the command line options from post 182 which where (created by the BC tool). The PDB file built for me. It looks like you did fix the original problem I'll have to look into BC and see if that is the source of error. Thank you, =X= |
![]() |
![]() |
#298 |
Provocateur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,859
Karma: 505847
Join Date: Feb 2009
Location: Columbus, OH
Device: Kindle Touch, Kindle 2, Kindle DX, iPhone 3GS
|
|
![]() |
![]() |
#299 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jun 2009
Device: Kindle DX
|
Another word to the conversion of comics problem:
When I convert a .cbz to .mobi (output profile: Kindle DX) every second page is blank on the DX. But this happens only if I change pages with the "Next page-button". When I change pages with the 5-way-stick by pressing it to the right, this behavior doesn´t occur. Maybe this helps. thank you jens |
![]() |
![]() |
#300 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,902
Karma: 146918083
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I just found yet another error in converting to ePub from Mobipocket. When converting using 0.6.0b8, the resulting ePub has no ToC and the internal ToC has the links going to the wrong place.
Code:
ebook-convert "Star Trek - TOS - Troublesome Minds.prc" .epub --margin-top=0 --margin-bottom=0 --margin-left=0 --margin-right=0 Code:
any2epub margin-top=0 --margin-bottom=0 --margin-left=0 --margin-right=0 "Star Trek - TOS - Troublesome Minds.prc" Last edited by JSWolf; 06-23-2009 at 11:07 AM. |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre metadata.calibre not allowing updates | Chuckels550 | Calibre | 10 | 08-09-2010 05:12 PM |
Using Calibre as a client for another Calibre instance? | toddos | Calibre | 27 | 06-30-2010 04:57 AM |
Sigil 0.2.0 betas available | Valloric | Sigil | 98 | 05-03-2010 04:07 PM |
cannot open calibre on osx 10.6-- "Calibre is already running" message | jlip | Calibre | 4 | 01-02-2010 11:05 PM |
calibre command line utilities and calibre defaults | astrodad | Calibre | 2 | 08-07-2008 03:27 PM |