Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 07-21-2009, 04:01 PM   #616
ronin712
Junior Member
ronin712 began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jul 2009
Device: stanza
I'm having a problem with calibre-created epubs in Stanza. The first screen of each xhtml file in the epub shows up, but the rest of the file is empty. If you continue to page past all the empty pages, once you come to the content of the next xhtml file you again get the first screen, and then blank pages.

After some experimentation, I've narrowed it down to one line in the css file. If I comment out "position: relative;" from the ".s" block all pages show up correctly.

Using b15, and I think this was also a problem in 0.5.14.
ronin712 is offline  
Old 07-21-2009, 04:21 PM   #617
slm
Fool
slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.
 
Posts: 471
Karma: 4113712
Join Date: Feb 2003
Device: Kindle: Voyage,PW1,KOA, Kobo: Clara Colour, Nook GLP, Pocketbook verse
Quote:
Originally Posted by kovidgoyal View Post
@kemi: Use ebook-convert

.
The help text for ebook-convert didn't help me to figure out how to use it instead of feeds2disk. Is there a simple example somewhere?

Sorry if I'm just being dense. I tried specifying a recipe file as the input and a dummy output and asking form help, but it didn't seem to work.
slm is offline  
Advert
Old 07-21-2009, 04:23 PM   #618
kemi
Junior Member
kemi began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Aug 2008
Device: pocket pc, iphone, pc, mac
I previously used feeds2disk to test and create recipes.
ebook-convert doesn't like a .py file for input.
How do I send it a script/recipe?

thanks!
kemi is offline  
Old 07-21-2009, 04:43 PM   #619
GRiker
Comparer of the Ephemeris
GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.
 
Posts: 1,496
Karma: 424697
Join Date: Mar 2009
Device: iPad
Use <recipe>.recipe instead of .py:

ebook-convert YourRecipe.recipe YourResult.outputformat
GRiker is offline  
Old 07-21-2009, 05:17 PM   #620
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: 45,423
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
@ronin: claibre does not insert postion:relative if it's there in the epub it was present in the source file
kovidgoyal is offline  
Advert
Old 07-21-2009, 05:17 PM   #621
kemi
Junior Member
kemi began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Aug 2008
Device: pocket pc, iphone, pc, mac
Thanks GRiker. Adding -h even gives help.
e.g.
ebook-convert YourRecipe.recipe YourResult.outputformat -h
kemi is offline  
Old 07-21-2009, 06:16 PM   #622
Colaveare
Member
Colaveare began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Apr 2009
Device: iphone
@kovidgoyal
I'm not even going to need to open a ticket anymore.
Seems that the bug for not being able to edit the metadata on some files was solved with 0.6.0b16.
Colaveare is offline  
Old 07-21-2009, 06:39 PM   #623
Sonist
Apeist
Sonist ought to be getting tired of karma fortunes by now.Sonist ought to be getting tired of karma fortunes by now.Sonist ought to be getting tired of karma fortunes by now.Sonist ought to be getting tired of karma fortunes by now.Sonist ought to be getting tired of karma fortunes by now.Sonist ought to be getting tired of karma fortunes by now.Sonist ought to be getting tired of karma fortunes by now.Sonist ought to be getting tired of karma fortunes by now.Sonist ought to be getting tired of karma fortunes by now.Sonist ought to be getting tired of karma fortunes by now.Sonist ought to be getting tired of karma fortunes by now.
 
Sonist's Avatar
 
Posts: 2,126
Karma: 381090
Join Date: Oct 2008
Location: The sunny part of California
Device: Generic virtual reality story-experiential device
Quote:
Originally Posted by Sonist View Post
OS X, latest, fully updated.

P.S. It's still happening with Beta 6...15.

It happens, for example, with the PRC file Cloud of Witness.

Here is the error, just in case:

Sayers_Clouds of Witness.prc
Traceback (most recent call last):
File "calibre/ebooks/metadata/worker.pyo", line 38, in read_metadata_
File "calibre/ebooks/metadata/opf2.pyo", line 934, in render
File "calibre/utils/genshi/template/__init__.pyo", line 20, in <module>
File "calibre/utils/genshi/template/markup.pyo", line 24, in <module>
File "calibre/utils/genshi/template/eval.pyo", line 17, in <module>
File "compiler/__init__.pyo", line 28, in <module>
File "compiler/visitor.pyo", line 1, in <module>
ImportError: cannot import name ast
Improvement:-)

In Beta 16, here is no error message, but all the metadata is gone from the above file, when imported into Calibre.
Sonist is offline  
Old 07-21-2009, 06:41 PM   #624
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: 45,423
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by Sonist View Post
Improvement:-)

In Beta 16, here is no error message, but all the metadata is gone from the above file, when imported into Calibre.
As far as I can tell, there is no metadata in that file (i.e. it has no EXTH section)
kovidgoyal is offline  
Old 07-21-2009, 07:53 PM   #625
Sonist
Apeist
Sonist ought to be getting tired of karma fortunes by now.Sonist ought to be getting tired of karma fortunes by now.Sonist ought to be getting tired of karma fortunes by now.Sonist ought to be getting tired of karma fortunes by now.Sonist ought to be getting tired of karma fortunes by now.Sonist ought to be getting tired of karma fortunes by now.Sonist ought to be getting tired of karma fortunes by now.Sonist ought to be getting tired of karma fortunes by now.Sonist ought to be getting tired of karma fortunes by now.Sonist ought to be getting tired of karma fortunes by now.Sonist ought to be getting tired of karma fortunes by now.
 
Sonist's Avatar
 
Posts: 2,126
Karma: 381090
Join Date: Oct 2008
Location: The sunny part of California
Device: Generic virtual reality story-experiential device
Quote:
Originally Posted by kovidgoyal View Post
As far as I can tell, there is no metadata in that file (i.e. it has no EXTH section)
Duh, I suppose I should never assume....

Thanks!
Sonist is offline  
Old 07-21-2009, 11:39 PM   #626
Abisha
Connoisseur
Abisha knows what time it isAbisha knows what time it isAbisha knows what time it isAbisha knows what time it isAbisha knows what time it isAbisha knows what time it isAbisha knows what time it isAbisha knows what time it isAbisha knows what time it isAbisha knows what time it isAbisha knows what time it is
 
Abisha's Avatar
 
Posts: 86
Karma: 2272
Join Date: Sep 2008
Location: Milwaukee, WI, U.S.A.
Device: Sony PRS-505, Sony PRS-950
b16:

Code:
Parsing all content...
Parsing OEBPS/9781439123508_ch01.html ...
Parsing OEBPS/9781439123508_ch04.html ...
Parsing OEBPS/9781439123508.css ...
Property: Invalid value for "CSS Level 2.1" property: sup [1006:2: vertical-align]
Property: Invalid value for "CSS Level 2.1" property: sup [1691:2: vertical-align]
Parsing OEBPS/9781439123508_ch07.html ...
Parsing OEBPS/9781439123508_col01.html ...
Parsing OEBPS/9781439123508_tit01.html ...
Parsing OEBPS/9781439123508_cop.html ...
Parsing OEBPS/9781439123508_ded01.html ...
Parsing OEBPS/9781439123508_ch03.html ...
Parsing OEBPS/9781439123508_con01.html ...
Parsing OEBPS/9781439123508_ch02.html ...
Parsing OEBPS/9781439123508_cov.html ...
Parsing OEBPS/9781439123508_ch05.html ...
Parsing OEBPS/9781439123508_ch06.html ...
Parsing OEBPS/9781439123508_hal.html ...
Parsing OEBPS/9781439123508_ch08.html ...
Parsing OEBPS/9781439123508_ch09.html ...
Parsing OEBPS/9781439123508_ch10.html ...
Parsing OEBPS/9781439123508_ch11.html ...
Parsing OEBPS/9781439123508_ch12.html ...
Parsing OEBPS/9781439123508_epi.html ...
Parsing OEBPS/9781439123508_ack.html ...
Traceback (most recent call last):
  File "worker.py", line 103, in <module>
  File "worker.py", line 90, in main
  File "calibre\gui2\convert\gui_conversion.pyo", line 17, in gui_convert
  File "calibre\ebooks\conversion\plumber.pyo", line 640, in run
  File "calibre\ebooks\conversion\plumber.pyo", line 744, in create_oebbook
  File "calibre\ebooks\oeb\reader.pyo", line 73, in __call__
  File "calibre\ebooks\oeb\reader.pyo", line 584, in _all_from_opf
  File "calibre\ebooks\oeb\reader.pyo", line 244, in _manifest_from_opf
  File "calibre\ebooks\oeb\reader.pyo", line 177, in _manifest_add_missing
  File "calibre\ebooks\oeb\base.pyo", line 955, in fget
  File "lxml.etree.pyx", line 2440, in lxml.etree.fromstring (src/lxml/lxml.etree.c:23985)
  File "parser.pxi", line 1510, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:63925)
  File "parser.pxi", line 1389, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:62857)
  File "parser.pxi", line 931, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:60016)
  File "parser.pxi", line 542, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:56659)
  File "parser.pxi", line 628, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:57504)
  File "parser.pxi", line 568, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:56902)
lxml.etree.XMLSyntaxError: Entity 'rsquo' not defined, line 21, column 84
Abisha is offline  
Old 07-22-2009, 01:10 AM   #627
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: 45,423
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
@Abisha: What document is this with? It looks like it is an EPUB file that misidentifies one of its component files.
kovidgoyal is offline  
Old 07-22-2009, 01:48 AM   #628
djgreedo
Addict
djgreedo ought to be getting tired of karma fortunes by now.djgreedo ought to be getting tired of karma fortunes by now.djgreedo ought to be getting tired of karma fortunes by now.djgreedo ought to be getting tired of karma fortunes by now.djgreedo ought to be getting tired of karma fortunes by now.djgreedo ought to be getting tired of karma fortunes by now.djgreedo ought to be getting tired of karma fortunes by now.djgreedo ought to be getting tired of karma fortunes by now.djgreedo ought to be getting tired of karma fortunes by now.djgreedo ought to be getting tired of karma fortunes by now.djgreedo ought to be getting tired of karma fortunes by now.
 
djgreedo's Avatar
 
Posts: 285
Karma: 640696
Join Date: Feb 2009
Location: Perth, Australia
Device: Kindle Touch 3G, HP Touchpad (Android), Samsung Omnia 7
Quick bug report:
When I reconnect my reader after unplugging it from the PC with Calibre loaded, Calibre failes to communicate with it. I need to shut down Calibre and try again. I can reproduce this pretty consistently. (Windows 7, Calibre beta.)

I don't expect you to support an unreleased OS, but maybe if someone on Vista has the same problem it can be looked into (FWIW, the official versions of Calibre work perfectly on Windows 7).
djgreedo is offline  
Old 07-22-2009, 09:46 AM   #629
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: 45,423
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Hmm works for me on XP (don't use Vista so can't test)
kovidgoyal is offline  
Old 07-22-2009, 10:38 AM   #630
Garfunkel
Member
Garfunkel began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Jun 2009
Device: iTouch
Whenever I open an Fb2 file (or convert it to epub) with calibre Ebook Viewer there's always the TOC at the beginning of the file. How do I turn that off?
Garfunkel is offline  
Closed Thread


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 04:10 PM.


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