![]() |
#1 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 74
Karma: 10000010
Join Date: Jan 2012
Device: Android Tablet with Calibre Companion and Moon+ Reader Pro
|
'builtin_function_or_method' object has no attribute 'rpartition'
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' 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 ***** Last edited by RobFreundlich; 06-08-2013 at 03:43 PM. Reason: Got more information |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,351
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 74
Karma: 10000010
Join Date: Jan 2012
Device: Android Tablet with Calibre Companion and Moon+ Reader Pro
|
That solved it. Thanks!
|
![]() |
![]() |
![]() |
Tags |
python error |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
'NoneType' object has no attribute '__getitem__' | Steven630 | Recipes | 2 | 07-18-2012 09:41 PM |
'NoneType' object has no attribute 'tag'? | gweminence | Calibre | 7 | 09-13-2011 10:03 AM |
Line' object has no attribute 'children | mazzeltjes | Calibre | 0 | 02-12-2010 09:30 AM |
'list' object has no attribute 'add_book' etc. | mazzeltjes | Calibre | 1 | 12-26-2008 01:12 PM |
'list' object has no attribute 'add_book' | drmathprog | Calibre | 2 | 11-13-2008 04:52 PM |