MobileRead Forums

MobileRead Forums (https://www.mobileread.com/forums/index.php)
-   Calibre (https://www.mobileread.com/forums/forumdisplay.php?f=166)
-   -   Strange error with Edit ToC (https://www.mobileread.com/forums/showthread.php?t=255679)

paulfiera 02-08-2015 07:52 AM

Strange error with Edit ToC
 
I'm getting a strange error when editing ToC

Spoiler:


calibre, version 2.19.0
ERROR: Unhandled exception: <b>TypeError</b>:__init__() takes exactly 3 arguments (2 given)

calibre 2.19 [64bit] isfrozen: True is64bit: True
Windows-2012Server-6.2.9200 Windows ('64bit', 'WindowsPE')
('Windows', '2012Server', '6.2.9200')
Python 2.7.9
Windows: ('2012Server', '6.2.9200', '', 'Multiprocessor Free')
Successfully initialized third party plugins: Barnes & Noble && Modify ePub && Fantastic Fiction && Open With && Reading List && Quality Check && Find Duplicates && Search The Internet && Goodreads
Traceback (most recent call last):
File "site-packages\calibre\gui2\actions\toc_edit.py", line 146, in edit_books
File "site-packages\calibre\gui2\actions\toc_edit.py", line 129, in do_edit
File "site-packages\calibre\gui2\actions\toc_edit.py", line 136, in do_one
File "site-packages\calibre\gui2\toc\main.py", line 877, in __init__
TypeError: __init__() takes exactly 3 arguments (2 given)


Looks like it started with the newest version: 2.19. Happens with all the books.

Thanks.

Edit to add system specs: Windows Server Essentials 64bit.

kovidgoyal 02-08-2015 08:31 AM

https://bugs.launchpad.net/calibre/+bug/1418960

paulfiera 02-08-2015 08:33 AM

Quote:

Originally Posted by kovidgoyal (Post 3042863)

Brilliant, as always.

Many thanks, Kovid.

theducks 02-08-2015 12:05 PM

I was just about to report that.

BTW the TOC editor works from WITHIN the book editor

paulfiera 02-09-2015 08:21 AM

Quote:

Originally Posted by theducks (Post 3043006)
I was just about to report that.

BTW the TOC editor works from WITHIN the book editor

Thanks, theducks.

Didn't think of trying that.

theducks 02-09-2015 01:11 PM

Quote:

Originally Posted by paulfiera (Post 3043478)
Thanks, theducks.

Didn't think of trying that.

I was thinking something had gone south on my main rig,so I was trying to find what else was broke :chinscratch:

(some shortcuts were not working via Remote desktop connection)

Calibre is not the only thing that gets frequent updates. A/V, :swear:Flash....


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

Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.