On Monday 29 December 2014 15:21:20 Vojtěch Zeisek wrote:
Hello, Calibre 2.14 (oS 13.2) from KDE:Extra repo doesn't start. Command line output: $ calibre QML debugging is enabled. Only use this in a safe environment. Failed to unpickle stored object: Traceback (most recent call last): File "/usr/lib64/calibre/calibre/utils/config.py", line 215, in refresh d = cPickle.loads(raw) if raw.strip() else {} File "/usr/lib64/calibre/calibre/startup.py", line 36, in load_module raise ImportError('Importing PyQt4 is not allowed as calibre uses PyQt5') ImportError: (ImportError('Importing PyQt4 is not allowed as calibre uses PyQt5',), <built-in function _unpickle_enum>, ('PyQt4.QtCore', 'SortOrder', 1)) python2: siplib.c:8514: sip_api_can_convert_to_type: Assertion `(((td)-
td_flags & 0x0007) == 0x0000) || (((td)->td_flags & 0x0007) == 0x0002)'
failed. SIGABRT Version 1.48 from OSS works perfectly. I also tried version from home:ecsos and I have got same error as above. Same problem was reported some time ago at http://lists.opensuse.org/opensuse/2014-12/msg00116.html but the error is different. All dependencies are met, PyQt 4 and 5 are available. Any idea how to debug it to help packagers to fix it?
Let me guess, you're using Qt5 from KDE:Qt5 repository instead of the one that comes with openSUSE out of the box, am I right? If yes then the fix is mindbogglingly simple - just rebuild for KDE:Qt5 repository. Or install it from my branch where I already did it: http://download.opensuse.org/repositories/home:/TheIndifferent:/branches:/KD... If that does not work - there is some other issue I'm not aware of. -- Regards, Stas -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org