Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 07-28-2009, 10:54 AM   #1
superanima
W2E & ePub freak
superanima began at the beginning.
 
Posts: 38
Karma: 10
Join Date: May 2009
Device: cybook gen3 + boox60
Huge problems converting from odt

Hi,
I'm having a lot of problems with the new calibre.
Until I managed them, can someone please tell me where to find the old 0.5 version, that worked smooth for me?

thanks...
superanima is offline   Reply With Quote
Old 07-28-2009, 11:04 AM   #2
superanima
W2E & ePub freak
superanima began at the beginning.
 
Posts: 38
Karma: 10
Join Date: May 2009
Device: cybook gen3 + boox60
this is an example of what I'm talking....
a regular odt file, with one image, h1 and h2 header for parts and chapters.
At first, during conversion, I managed to get calibre detect parts and chapters, but the conversion process get stuck at this point.
after a little correction fo the odt file, this is what I get during conversion:

Convert book 1 of 1 (u"-----------------")
InputFormatPlugin: ODT Input running on /Users/T/Documents/libreria calibre---------------
Extracting ODT file...
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Applications/calibre.app/Contents/console.app/Contents/Resources/lib/python2.6/site-packages.zip/calibre/utils/ipc/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 648, in run
File "calibre/customize/conversion.pyo", line 217, in __call__
File "calibre/ebooks/odt/input.pyo", line 65, in convert
File "calibre/ebooks/odt/input.pyo", line 36, in __call__
File "odf/odf2xhtml.pyo", line 1291, in odf2xhtml
File "odf/odf2xhtml.pyo", line 1299, in xhtml
File "odf/odf2xhtml.pyo", line 1284, in parseodf
File "xml/sax/expatreader.pyo", line 107, in parse
File "xml/sax/xmlreader.pyo", line 123, in parse
File "xml/sax/expatreader.pyo", line 207, in feed
File "xml/sax/expatreader.pyo", line 338, in start_element_ns
File "odf/odf2xhtml.pyo", line 486, in startElementNS
File "odf/odf2xhtml.pyo", line 476, in handle_starttag
File "odf/odf2xhtml.pyo", line 999, in s_text_h
File "odf/odf2xhtml.pyo", line 521, in classname
File "xml/sax/xmlreader.pyo", line 316, in __getitem__
KeyError: (u'urnasis:names:tcpendocument:xmlns:text:1.0' , 'style-name')
superanima is offline   Reply With Quote
Advert
Old 07-28-2009, 11:12 AM   #3
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: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Open a ticket and attach the file. And there is a sticky thread with links to old version of calibre. But looking at this error, I don't think an older version of calibre will solve your problems as the error occurs when converting IDT to HTML the code for which is the same in the 0.5.14 and 0.6.X
kovidgoyal is offline   Reply With Quote
Old 07-28-2009, 11:21 AM   #4
superanima
W2E & ePub freak
superanima began at the beginning.
 
Posts: 38
Karma: 10
Join Date: May 2009
Device: cybook gen3 + boox60
I think I get the error, i replaced the color background of some text with trasparent and the error disappeared.
But I still have the "stuck after chapter detection" situation... see attach

p.s. i need an older version for OSX
Attached Thumbnails
Click image for larger version

Name:	Immagine 8.png
Views:	260
Size:	171.9 KB
ID:	33104  
superanima is offline   Reply With Quote
Old 07-28-2009, 11:37 AM   #5
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: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Converting ODT files can take a while as they have a *lot* of CSS, give it some more time.
kovidgoyal is offline   Reply With Quote
Advert
Old 07-28-2009, 11:43 AM   #6
superanima
W2E & ePub freak
superanima began at the beginning.
 
Posts: 38
Karma: 10
Join Date: May 2009
Device: cybook gen3 + boox60
I tried to convert a little book, and it takes 5min(!)to convert to mobi, so I'll follow your advice.
But, wasn't it faster in 0.5.x?
superanima is offline   Reply With Quote
Old 07-28-2009, 11:49 AM   #7
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: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Yes, but it was less capable.
kovidgoyal is offline   Reply With Quote
Old 07-28-2009, 11:54 AM   #8
superanima
W2E & ePub freak
superanima began at the beginning.
 
Posts: 38
Karma: 10
Join Date: May 2009
Device: cybook gen3 + boox60
ok :-)

and keep up with the gook work, calibre is irrreplaceable
superanima is offline   Reply With Quote
Old 07-28-2009, 12:33 PM   #9
superanima
W2E & ePub freak
superanima began at the beginning.
 
Posts: 38
Karma: 10
Join Date: May 2009
Device: cybook gen3 + boox60
39min of near one core 100% occupation though...
Attached Thumbnails
Click image for larger version

Name:	Immagine 10.png
Views:	290
Size:	10.4 KB
ID:	33117  
superanima is offline   Reply With Quote
Old 07-28-2009, 01:21 PM   #10
superanima
W2E & ePub freak
superanima began at the beginning.
 
Posts: 38
Karma: 10
Join Date: May 2009
Device: cybook gen3 + boox60
the older version 0.5.14 took 6min... for the same conversion
superanima is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
little issue converting from odt to epub (top and bottom margin) superanima Calibre 1 02-15-2010 04:15 PM
Strange behavior converting from ODT to EPUB, lots of page-break superanima Calibre 0 01-25-2010 02:57 AM
Converting ODT to EPUB/LRF banjomike Calibre 2 10-03-2009 04:32 PM
Problem converting ODT to LRF jfalter0 Calibre 4 01-03-2009 05:01 PM


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


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