[opensuse] Calibre from KDE:Extra doesn't work, from OSS is OK
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? Sincerely, Vojtěch
-- Vojtěch Zeisek Komunita openSUSE GNU/Linuxu Community of the openSUSE GNU/Linux http://www.opensuse.org/ http://trapa.cz/
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
Dne Po 29. prosince 2014 15:29:59, Stanislav Baiduzhyi napsal(a):
On Monday 29 December 2014 15:21:20 Vojtěch Zeisek wrote: 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 E:/Extra/KDE_Qt5_openSUSE_13.2/
No, I don't have KDE:Qt5. I have Qt 5.3 from OSS. I'm using KDE4. -- Vojtěch Zeisek Komunita openSUSE GNU/Linuxu Community of the openSUSE GNU/Linux http://www.opensuse.org/ http://trapa.cz/
On Monday 29 December 2014 15:40:23 Vojtěch Zeisek wrote:
Dne Po 29. prosince 2014 15:29:59, Stanislav Baiduzhyi napsal(a):
On Monday 29 December 2014 15:21:20 Vojtěch Zeisek wrote: 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 E:/Extra/KDE_Qt5_openSUSE_13.2/
No, I don't have KDE:Qt5. I have Qt 5.3 from OSS. I'm using KDE4.
Hm, that's unfortunate. Now when I look at it, the error is actually different from what I had, I had only assertion error but you have PyQt4 error before that. I would try to do the following in your case: 1. Uninstall calibre and make sure nothing is left of it in bot /usr/lib64 and /usr/share. 2. Uninstall PyQt4. 3. Install Calibre 2.xx back and try again. But no idea if that will actually help. -- Regards, Stas -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Dne Po 29. prosince 2014 16:12:33, Stanislav Baiduzhyi napsal(a):
On Monday 29 December 2014 15:40:23 Vojtěch Zeisek wrote:
Dne Po 29. prosince 2014 15:29:59, Stanislav Baiduzhyi napsal(a):
On Monday 29 December 2014 15:21:20 Vojtěch Zeisek wrote: No, I don't have KDE:Qt5. I have Qt 5.3 from OSS. I'm using KDE4.
Hm, that's unfortunate. Now when I look at it, the error is actually different from what I had, I had only assertion error but you have PyQt4 error before that. I would try to do the following in your case: 1. Uninstall calibre and make sure nothing is left of it in bot /usr/lib64 and /usr/share. 2. Uninstall PyQt4. 3. Install Calibre 2.xx back and try again.
But no idea if that will actually help.
No, this doesn't work... No surprise. -- Vojtěch Zeisek Komunita openSUSE GNU/Linuxu Community of the openSUSE GNU/Linux http://www.opensuse.org/ http://trapa.cz/
On Monday 29 December 2014 16:58:48 Vojtěch Zeisek wrote:
Dne Po 29. prosince 2014 16:12:33, Stanislav Baiduzhyi napsal(a):
On Monday 29 December 2014 15:40:23 Vojtěch Zeisek wrote:
Dne Po 29. prosince 2014 15:29:59, Stanislav Baiduzhyi napsal(a):
On Monday 29 December 2014 15:21:20 Vojtěch Zeisek wrote: No, I don't have KDE:Qt5. I have Qt 5.3 from OSS. I'm using KDE4.
Hm, that's unfortunate. Now when I look at it, the error is actually different from what I had, I had only assertion error but you have PyQt4 error before that. I would try to do the following in your case: 1. Uninstall calibre and make sure nothing is left of it in bot /usr/lib64 and /usr/share. 2. Uninstall PyQt4. 3. Install Calibre 2.xx back and try again.
But no idea if that will actually help.
No, this doesn't work... No surprise.
Had error changed after uninstalling PyQt4? Still complains about it, or only about assertions now? -- Regards, Stas -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Dne 29.12.2014 v 20:22 Stanislav Baiduzhyi napsal(a):
On Monday 29 December 2014 16:58:48 Vojtěch Zeisek wrote:
Dne Po 29. prosince 2014 16:12:33, Stanislav Baiduzhyi napsal(a):
On Monday 29 December 2014 15:40:23 Vojtěch Zeisek wrote:
Dne Po 29. prosince 2014 15:29:59, Stanislav Baiduzhyi napsal(a):
On Monday 29 December 2014 15:21:20 Vojtěch Zeisek wrote: No, I don't have KDE:Qt5. I have Qt 5.3 from OSS. I'm using KDE4.
Hm, that's unfortunate. Now when I look at it, the error is actually different from what I had, I had only assertion error but you have PyQt4 error before that. I would try to do the following in your case: 1. Uninstall calibre and make sure nothing is left of it in bot /usr/lib64 and /usr/share. 2. Uninstall PyQt4. 3. Install Calibre 2.xx back and try again.
But no idea if that will actually help.
No, this doesn't work... No surprise.
Had error changed after uninstalling PyQt4? Still complains about it, or only about assertions now?
It is still same error... -- Vojtěch Zeisek Komunita openSUSE GNU/Linuxu Community of the openSUSE GNU/Linux http://www.opensuse.org/ http://trapa.cz/cs
Hi all, AFAIK, calibre as provided in the different distros is often broken. Try to install it from the calibre homepage (calibre-ebook.com). It always worked/works for me. Just copy that long command line script into a terminal and hit enter. Regards, Albert Idézet (Vojtěch Zeisek <vojtech.zeisek@opensuse.org>):
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? Sincerely, Vojtěch
-- Vojtěch Zeisek
Komunita openSUSE GNU/Linuxu Community of the openSUSE GNU/Linux
---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Dne Po 29. prosince 2014 16:39:45, oszko@chem.u-szeged.hu napsal(a):
Hi all,
AFAIK, calibre as provided in the different distros is often broken. Try to install it from the calibre homepage (calibre-ebook.com). It always worked/works for me. Just copy that long command line script into a terminal and hit enter.
That is sad. I prefer advantages of package management rather than Windows- like way of tones of applications, each with independent updating tool...
Regards, Albert
Idézet (Vojtěch Zeisek <vojtech.zeisek@opensuse.org>): -- Vojtěch Zeisek
Komunita openSUSE GNU/Linuxu Community of the openSUSE GNU/Linux http://www.opensuse.org/ http://trapa.cz/
* Vojtěch Zeisek <vojtech.zeisek@opensuse.org> [12-29-14 11:05]:
Dne Po 29. prosince 2014 16:39:45, oszko@chem.u-szeged.hu napsal(a):
Hi all,
AFAIK, calibre as provided in the different distros is often broken. Try to install it from the calibre homepage (calibre-ebook.com). It always worked/works for me. Just copy that long command line script into a terminal and hit enter.
That is sad. I prefer advantages of package management rather than Windows- like way of tones of applications, each with independent updating tool...
I have calibre-2.14.0-247.1.x86_64 from http://download.opensuse.org/repositories/KDE:/Extra/openSUSE_Tumbleweed/ working w/o any problem I have noticed. And for the last six monthos or so, have had no problem with calibre updates. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (4)
-
oszko@chem.u-szeged.hu
-
Patrick Shanahan
-
Stanislav Baiduzhyi
-
Vojtěch Zeisek