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

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 03-27-2018, 03:04 PM   #1
yJan1986
Member
yJan1986 began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Mar 2018
Device: pocketbook Touch HD 2
Calibre conversion - undetectable error

Hello!

a problem with a long history, here is it:
Since a long time across multiple calibre versions, I can't convert an ebook to mobipocket - exiting always by the same error : "Error in xpath expression".

I thought I might be lucky because when showing the details I could see an xpath expression. I changed the path to "//*" but that didn't help. Later, I tried the debug option, but the output directory stayed empty except for a text file instructing me about the stages of the conversion process.

Calibre Version: 3.20.0 Win 10 x64

Thank you very much for any help!

Link to the complete Conversion Output:
https://pastebin.com/4j1Ptv3g

Last edited by yJan1986; 03-27-2018 at 03:17 PM.
yJan1986 is offline   Reply With Quote
Old 03-27-2018, 11:26 PM   #2
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,795
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That's a weird error, I dont see how it is possible, since the XPath referenced in the error is '//h:a[@href]|//h:i|//h:b|//h:u' which is valid and used in all calibre conversions.
kovidgoyal is offline   Reply With Quote
Old 03-28-2018, 07:07 AM   #3
yJan1986
Member
yJan1986 began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Mar 2018
Device: pocketbook Touch HD 2
And the error remains after a Reinstallation - I will try next
to circumvent the problem using my old laptop which runs live-usb ubuntu and try to reproduce the steps.

BTW: My new computer raised the error after 1:47 conversion time ( 4 GHz ) and my old laptop still runs after 20 Minutes ( 2,4 Ghz ) which is a good sign.

Last edited by yJan1986; 03-28-2018 at 09:10 AM.
yJan1986 is offline   Reply With Quote
Old 03-28-2018, 01:11 PM   #4
yJan1986
Member
yJan1986 began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Mar 2018
Device: pocketbook Touch HD 2
After ~1h40m the laptop triggers the same result: xpath error. Then, I guess after calibre remains a black box, the question is: What can I do to get a working, convertible .htmlz of the book? What is the range for the use of xpath expressions, or can you single out the function in the sourcecode?
yJan1986 is offline   Reply With Quote
Old 03-28-2018, 02:03 PM   #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,795
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The source is not going to help you, because as I said the XPath is valid, but feel free to check for yourself, the source file and line are mentioned in line 141 of your pastebin.
kovidgoyal is offline   Reply With Quote
Old 03-28-2018, 03:59 PM   #6
yJan1986
Member
yJan1986 began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Mar 2018
Device: pocketbook Touch HD 2
Ok, I just recieved an extremely polite mail from the german pocketbook support. They verified the problem with the epub bible and converted it to fb2 AND handed it over to me.

AND they cared for my other problems too.

Very cool dudes indeed

Last edited by yJan1986; 03-28-2018 at 04:16 PM.
yJan1986 is offline   Reply With Quote
Reply

Tags
calibre, conversion, xpath

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Conversion error - calibre 1.4.8 Bobby21 Conversion 6 05-29-2016 03:34 PM
Calibre 133 conversion error Turner77 Calibre 1 04-19-2014 10:34 AM
calibre unexpected conversion error imageraw Conversion 4 01-17-2013 10:11 AM
Calibre Conversion Error jhanlon Conversion 5 02-29-2012 02:06 PM
Calibre Conversion Error eucalyptus Calibre 1 11-17-2010 11:09 AM


All times are GMT -4. The time now is 06:19 AM.


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