|
|
#1 |
|
Enthusiast
![]() Posts: 33
Karma: 10
Join Date: Dec 2013
Device: Kobo Glo
|
RuntimeError:wrapped C/C++ object of type QAction has been deleted
getting this error, everytime i try and change between libraries
RuntimeError:wrapped C/C++ object of type QAction has been deleted Spoiler:
|
|
|
|
|
|
#2 |
|
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,015
Karma: 30277294
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Try running with no plugins, at command line: calibre --ignore-plugins
BR |
|
|
|
|
|
#3 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609
Karma: 28549044
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That's an error in the open with plugin. I sggest uninstalling it. calibre anyway has builtin open with functionality.
|
|
|
|
|
|
#4 | |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
I'm also not able to reproduce the problem here with various versions of calibre. The code in question is: Code:
for action in self.menu_actions:
self.gui.keyboard.unregister_shortcut(action.calibre_shortcut_unique_name)
# starting in calibre 2.10.0, actions are registers at
# the top gui level for OSX' benefit.
if calibre_version >= (2,10,0):
self.gui.removeAction(action)
The OP has three other plugins installed that use the above. And they should be called when the library changes. Is this something we shouldn't be doing then? |
|
|
|
|
|
|
#5 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609
Karma: 28549044
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
What's that code supposed to be doing?? Why does open with need to rebuild menus on library change? A minimal change to avoid the exception would be to add
Code:
try:
from PyQt5 import sip
except ImportError:
import sip
if sip.isdeleted(action):
continue
|
|
|
|
|
|
#6 | ||
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
I'll have to look at the other plugins that do this. Some might be using the library specific options to build the menu. Quote:
@dgparryuk: The updates should be available later. When calibre announces it, install it and it should fix things. |
||
|
|
|
|
|
#7 |
|
Enthusiast
![]() Posts: 33
Karma: 10
Join Date: Dec 2013
Device: Kobo Glo
|
amazing, will check later on and update and will pop back and let you all know :-)
|
|
|
|
|
|
#8 |
|
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,015
Karma: 30277294
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
New Open With should be available now
BR |
|
|
|
|
|
#9 |
|
Enthusiast
![]() Posts: 33
Karma: 10
Join Date: Dec 2013
Device: Kobo Glo
|
and that's fixed it :-)
cheers all :-) |
|
|
|
|
|
#10 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,776
Karma: 150249619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| RuntimeError: Failed to load ImageMagick | chris1412 | Calibre | 2 | 07-14-2012 05:58 AM |
| RuntimeError: maximum recursion depth exceeded while calling a Python object | suecsi | Calibre | 6 | 01-25-2011 12:53 AM |
| wrapped text around an image | Ambar | ePub | 2 | 07-05-2010 09:55 AM |
| Calibre RuntimeError on Ubuntu 8.04 Server | alexbt | Calibre | 3 | 10-13-2009 05:26 AM |