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

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 08-12-2019, 02:12 PM   #1
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,227
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Exception at calibre start-up

Hi,

I have a library that, sometimes, when calibre starts, throws this exception: "TypeError: QAction(): arguments did not match any overloaded call"

Spoiler:
calibre, version 3.46.0
ERROR: Excepción no considerada: <b>TypeError</b>:QAction(): arguments did not match any overloaded call:
overload 1: argument 1 has unexpected type 'unicode'
overload 2: not enough arguments
overload 3: argument 1 has unexpected type 'unicode'

calibre 3.46 [64bit] embedded-python: True is64bit: True
Windows-10-10.0.18362-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.18362')
Python 2.7.15+
Windows: ('10', '10.0.18362', 'SP0', u'Multiprocessor Free')
Interface language: es
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 17, 1) && DeDRM (6, 6, 1) && Package KFX (from KFX Input) (1, 17, 1) && Extract ToCs (1, 0, 0) && Ex Libris (1, 0, 20) && Overdrive Link (2, 33, 0) && Virtual Library Switcher (1, 0, 0) && Reading List (1, 6, 6) && KoboTouchExtended (3, 1, 5) && Goodreads Sync (1, 12, 10) && Search The Internet (1, 7, 6) && NormComment (0, 0, 2) && User Category (1, 5, 3) && Save Composite Custom Columns (1, 1, 0) && Kobo Books (1, 7, 0) && KFX metadata reader (from KFX Input) (1, 17, 1) && KFX Input (1, 17, 1) && GetFileName (0, 0, 13) && EpubSplit (2, 7, 0) && Favourites Menu (1, 0, 4) && Goodreads (1, 4, 0) && SmartEject (2, 2, 0) && KindleUnpack - The Plugin (0, 81, 5) && Quality Check (1, 9, 11) && Kobo Utilities (2, 8, 1) && Search Switcher (1, 0, 0) && EpubMerge (2, 5, 0) && Annotations (1, 9, 3) && Modify ePub (1, 4, 4) && View Manager (1, 4, 3) && Diaps Editing Toolbag (0, 3, 5) && Edit Columns (0, 0, 1) && JS_Editor_Tools (0, 2, 18) && My Tools (0, 0, 37) && FictionDB (1, 2, 0) && Extract ISBN (1, 4, 5) && Clean Comments (0, 0, 4) && Owned Books Goodreads (0, 0, 6) && Generate Cover (1, 5, 21) && Barnes & Noble (1, 2, 15) && Import List (1, 4, 0) && Count Pages (1, 8, 2) && Find Duplicates (1, 6, 4) && Smashwords Metadata (1, 0, 0) && Fantastic Fiction (1, 3, 0) && GoodreadsAuthor (0, 0, 1) && Overdrive Link* (2, 33, 0)
Traceback (most recent call last):
File "calibre_plugins.search_switcher.ui", line 57, in about_to_show_menu
TypeError: QAction(): arguments did not match any overloaded call:
overload 1: argument 1 has unexpected type 'unicode'
overload 2: not enough arguments
overload 3: argument 1 has unexpected type 'unicode'


and calibre ends. The next time it starts there is no problem. It only happens in a specific library (I have more than 10 with the same plugins, although not the same virtual libraries or views).

I don't know what to look at.
Terisa de morgan is offline   Reply With Quote
Old 08-12-2019, 02:54 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,773
Karma: 54401244
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
any special characters in that Library name (that are not in the others). ASCII PATHS are the most robust
theducks is offline   Reply With Quote
Old 08-12-2019, 05:26 PM   #3
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,544
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Some of those plugins have library specific settings that are reflected in the drop down menu list (Actions) - e.g. View Manager list views by name, and they are library specific.

Aside: I also notice you have plugins named NormComment (0.0.2) and Clean Comment (0.0.4) - are they the same thing?

Added : try starting with the --ignore-plugins switch; if its OK, its a plugin issue, otherwise its not.

BR

Last edited by BetterRed; 08-12-2019 at 09:20 PM.
BetterRed is offline   Reply With Quote
Old 08-12-2019, 09:37 PM   #4
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by Terisa de morgan View Post
Hi,

I have a library that, sometimes, when calibre starts, throws this exception: "TypeError: QAction(): arguments did not match any overloaded call"

Spoiler:
calibre, version 3.46.0
ERROR: Excepción no considerada: <b>TypeError</b>:QAction(): arguments did not match any overloaded call:
overload 1: argument 1 has unexpected type 'unicode'
overload 2: not enough arguments
overload 3: argument 1 has unexpected type 'unicode'

calibre 3.46 [64bit] embedded-python: True is64bit: True
Windows-10-10.0.18362-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.18362')
Python 2.7.15+
Windows: ('10', '10.0.18362', 'SP0', u'Multiprocessor Free')
Interface language: es
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 17, 1) && DeDRM (6, 6, 1) && Package KFX (from KFX Input) (1, 17, 1) && Extract ToCs (1, 0, 0) && Ex Libris (1, 0, 20) && Overdrive Link (2, 33, 0) && Virtual Library Switcher (1, 0, 0) && Reading List (1, 6, 6) && KoboTouchExtended (3, 1, 5) && Goodreads Sync (1, 12, 10) && Search The Internet (1, 7, 6) && NormComment (0, 0, 2) && User Category (1, 5, 3) && Save Composite Custom Columns (1, 1, 0) && Kobo Books (1, 7, 0) && KFX metadata reader (from KFX Input) (1, 17, 1) && KFX Input (1, 17, 1) && GetFileName (0, 0, 13) && EpubSplit (2, 7, 0) && Favourites Menu (1, 0, 4) && Goodreads (1, 4, 0) && SmartEject (2, 2, 0) && KindleUnpack - The Plugin (0, 81, 5) && Quality Check (1, 9, 11) && Kobo Utilities (2, 8, 1) && Search Switcher (1, 0, 0) && EpubMerge (2, 5, 0) && Annotations (1, 9, 3) && Modify ePub (1, 4, 4) && View Manager (1, 4, 3) && Diaps Editing Toolbag (0, 3, 5) && Edit Columns (0, 0, 1) && JS_Editor_Tools (0, 2, 18) && My Tools (0, 0, 37) && FictionDB (1, 2, 0) && Extract ISBN (1, 4, 5) && Clean Comments (0, 0, 4) && Owned Books Goodreads (0, 0, 6) && Generate Cover (1, 5, 21) && Barnes & Noble (1, 2, 15) && Import List (1, 4, 0) && Count Pages (1, 8, 2) && Find Duplicates (1, 6, 4) && Smashwords Metadata (1, 0, 0) && Fantastic Fiction (1, 3, 0) && GoodreadsAuthor (0, 0, 1) && Overdrive Link* (2, 33, 0)
Traceback (most recent call last):
File "calibre_plugins.search_switcher.ui", line 57, in about_to_show_menu
TypeError: QAction(): arguments did not match any overloaded call:
overload 1: argument 1 has unexpected type 'unicode'
overload 2: not enough arguments
overload 3: argument 1 has unexpected type 'unicode'


and calibre ends. The next time it starts there is no problem. It only happens in a specific library (I have more than 10 with the same plugins, although not the same virtual libraries or views).

I don't know what to look at.
The highlighted line is were the error is happening. It looks like it is a plugin called "Search Switcher". In a method called "about_to_show_menu". I don't recognise the plugin name, but, that method is usually something that builds the menu for the plugin. I'd say that the problem is that something is producing an unicode string instead of whatever was there before. With the recent work for Python 3 compatibility, there have been a few of these. Without being able to see the plugin code, I could only guess that there is something in the plugins configuration that is causing the problem. If "Search Switcher" is a quick way to swap between searches, then it could be that a search or title has some characters that the menu creation doesn't like.
davidfor is offline   Reply With Quote
Old 08-13-2019, 02:47 AM   #5
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,544
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Maybe something to do with - Virtual Library Switcher (1, 0, 0), which I assume is a TdeM special.

BR
BetterRed is offline   Reply With Quote
Old 08-13-2019, 03:43 AM   #6
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,227
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Thank you, I'll check, I don't understand why a library called "Bingo" should give me a problem but I'll check all your options (mainly trying to identify which the plugin is). BTW, yes, I know my plugin collection is a mess but it's miiiiine
Terisa de morgan is offline   Reply With Quote
Old 08-13-2019, 03:49 AM   #7
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,544
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
AutoCopy tripped me up, I searched for search_switcher

BR
BetterRed is offline   Reply With Quote
Old 08-13-2019, 03:55 AM   #8
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,227
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Quote:
Originally Posted by BetterRed View Post
Maybe something to do with - Virtual Library Switcher (1, 0, 0), which I assume is a TdeM special.

BR
The name is a bit misleading.... It allows you to add the saved searches to the book menu. Thank you for the hint. It's something related to the searches, because the searches menu doesn't appear in the right zone (I don't remember the name, where the tags are), and the exception appears when the mouse hover over the searches in the book menu.

EDIT: Thank you, problem solved: the plugin doesn't handle well when there is no saved search.
Terisa de morgan is offline   Reply With Quote
Old 08-13-2019, 04:40 AM   #9
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,544
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Terisa de morgan View Post
(I don't remember the name, where the tags are)
I call it the Cat(egory) Tree, but most folks refer to it as the Tag Browser

BR
BetterRed is offline   Reply With Quote
Old 08-13-2019, 05:15 AM   #10
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,227
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Quote:
Originally Posted by BetterRed View Post
I call it the Cat(egory) Tree, but most folks refer to it as the Tag Browser

BR
That! And yes, I think the problem is the number of saved searches (0). BTW, this plugin allows me to use the searches with the keyboard, what I wanted.
Terisa de morgan is offline   Reply With Quote
Old 08-13-2019, 08:25 AM   #11
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,227
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
BTW, thank you for your comments and sorry for having brought here a problem created by my own... but I had forgotten about this plugin (that it's previous to the changes to the libraries that allow to include them in the book context menu).
Terisa de morgan is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre throwing a Memory Exception Thisiswhatiam Calibre 6 06-17-2012 02:44 AM
Calibre wont start (first time start up) Mike Railton Devices 15 05-25-2012 02:14 AM
Database Exception Error Calibre markyfr Calibre 0 04-16-2012 07:39 AM
Mildly annoying calibre unhandled exception chaley Calibre 2 01-21-2010 04:00 PM
ERROR: Unhandled exception when opening Calibre-0.4.80 megacoupe Calibre 1 08-05-2008 06:23 PM


All times are GMT -4. The time now is 12:59 PM.


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