Since upgrading to calibre 0.9.34, one of my custom recipes fails with the following error:
Code:
Converting XHTML to Mobipocket markup...
Python function terminated unexpectedly
'builtin_function_or_method' object has no attribute 'rpartition' (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 132, in main
File "site.py", line 109, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 189, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 25, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 1160, in run
File "site-packages\calibre\ebooks\conversion\plugins\mobi_output.py", line 205, in convert
File "site-packages\calibre\ebooks\conversion\plugins\mobi_output.py", line 237, in write_mobi
File "site-packages\calibre\ebooks\mobi\mobiml.py", line 113, in __call__
File "site-packages\calibre\ebooks\mobi\mobiml.py", line 124, in mobimlize_spine
File "site-packages\calibre\ebooks\mobi\mobiml.py", line 543, in mobimlize_elem
File "site-packages\calibre\ebooks\mobi\mobiml.py", line 543, in mobimlize_elem
File "site-packages\calibre\ebooks\mobi\mobiml.py", line 543, in mobimlize_elem
File "site-packages\calibre\ebooks\mobi\mobiml.py", line 493, in mobimlize_elem
AttributeError: 'builtin_function_or_method' object has no attribute 'rpartition'
Anyone have any idea what this is or how I can fix it?
I've attached the recipe, although the recipe itself seems to run just fine. I can run it from the command line using this:
Code:
ebook-convert "Boston Globe Subscription_1005.recipe" .EPUB -vv --debug-pipeline debug --username ***** --password *****
It creates the EPUB correctly. It seems to be the EPUB-to-MOBI conversion that is failing. I've also attached the full job details.