You are not logged in.

#1 2013-06-17 23:57:31

giuseppe
Member
From: Bari, Italy
Registered: 2013-06-17
Posts: 11
Website

[SOLVED] python-pyqt -> python-pyqt4 update breaks calibre

Well I have updated python-pyqt to python-pyqt4 but now calibre doesn't work anymore (crashes on startup)
I've also opened a bug (#35840)

Here's the output of the command 'calibre'

$ calibre
Traceback (most recent call last):
  File "/usr/bin/calibre", line 20, in <module>
    sys.exit(main())
  File "/usr/lib/calibre/calibre/gui2/main.py", line 415, in main
    app, opts, args, actions = init_qt(args)
  File "/usr/lib/calibre/calibre/gui2/main.py", line 85, in init_qt
    from calibre.gui2.ui import Main
  File "/usr/lib/calibre/calibre/gui2/ui.py", line 31, in <module>
    from calibre.gui2.widgets import ProgressIndicator
  File "/usr/lib/calibre/calibre/gui2/widgets.py", line 21, in <module>
    from calibre.gui2.progress_indicator import ProgressIndicator as _ProgressIndicator
  File "/usr/lib/calibre/calibre/gui2/progress_indicator/__init__.py", line 15, in <module>
    pi_error)
RuntimeError: Failed to load the Progress Indicator plugin: the sip module implements API v10.0 but the progress_indicator module requires API v9.2

May someone help me, please?

Last edited by giuseppe (2013-06-18 13:37:10)

Offline

#2 2013-06-18 00:06:02

progandy
Member
Registered: 2012-05-17
Posts: 5,184

Re: [SOLVED] python-pyqt -> python-pyqt4 update breaks calibre

recompile calibre (fetch from abs, makepkg, install)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#3 2013-06-18 10:44:34

beber75
Member
Registered: 2009-07-16
Posts: 24
Website

Re: [SOLVED] python-pyqt -> python-pyqt4 update breaks calibre

progandy wrote:

recompile calibre (fetch from abs, makepkg, install)

Hi,

I have the same problem. I'm sorry but I did not understand what you are meaning.

I've did a 'pacman -Rs calibre' followed by a 'pacman -S calibre' without success.
Is it the same as you suggested or I should delete some kind of cached files and force a 'rebuild' in some way?

Could you guide me?

Regards

Offline

#4 2013-06-18 11:41:50

progandy
Member
Registered: 2012-05-17
Posts: 5,184

Re: [SOLVED] python-pyqt -> python-pyqt4 update breaks calibre

You need to get the sourcecode and create the package: https://wiki.archlinux.org/index.php/Arch_Build_System


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#5 2013-06-18 13:01:30

nourathar
Member
From: Bxl
Registered: 2013-04-26
Posts: 109

Re: [SOLVED] python-pyqt -> python-pyqt4 update breaks calibre

I have a similar problem with the python kdebindings and I hope here is the right place to post: after the latest update I get:

from PyKDE4.kdecore import KCmdLineArgs, ki18n, KAboutData
RuntimeError: the sip module implements API v10.0 but the PyKDE4.kdecore module requires API v9.2

and after downgrading python2-sip i get:

from PyQt4 import Qt, QtGui, QtCore
RuntimeError: the sip module implements API v9.0 to v9.2 but the PyQt4.QtGui module requires API v10.0

right.. smile

I am a relative newbie to arch, should I flag the kdebindings-python2 package (in extra) as out of date ?

Last edited by nourathar (2013-06-18 13:11:58)

Offline

#6 2013-06-18 13:13:08

progandy
Member
Registered: 2012-05-17
Posts: 5,184

Re: [SOLVED] python-pyqt -> python-pyqt4 update breaks calibre

Broken package equals bug in bugtracker. (change in pkgrel) Out of Date is only for new software versions. (change in pkgver)

Last edited by progandy (2013-06-18 13:13:37)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#7 2013-06-18 13:19:42

nourathar
Member
From: Bxl
Registered: 2013-04-26
Posts: 109

Re: [SOLVED] python-pyqt -> python-pyqt4 update breaks calibre

thanks for pointing that out !

solved my problem (temporarily ?) by installing the version in KDE-unstable:

https://www.archlinux.org/packages/kde- … s-python2/

(and apologies for hijacking this thread if my issue was unrelated after all)

Last edited by nourathar (2013-06-18 13:49:26)

Offline

#8 2013-06-18 14:01:32

giuseppe
Member
From: Bari, Italy
Registered: 2013-06-17
Posts: 11
Website

Re: [SOLVED] python-pyqt -> python-pyqt4 update breaks calibre

solved with calibre-0.9.35-2
FS#35840 closed

Offline

#9 2013-06-18 21:47:58

beber75
Member
Registered: 2009-07-16
Posts: 24
Website

Re: [SOLVED] python-pyqt -> python-pyqt4 update breaks calibre

Thanks for your support.

As stated the updated Calibre package solved my problem smile

Regards

Last edited by beber75 (2013-06-18 21:48:11)

Offline

#10 2013-06-26 07:06:28

virusso80
Member
From: Italy
Registered: 2007-03-09
Posts: 325

Re: [SOLVED] python-pyqt -> python-pyqt4 update breaks calibre

beber75 wrote:

Thanks for your support.

As stated the updated Calibre package solved my problem smile

Regards

I have the same problem. Just updated to calibre-0.9.36-1 and it does not start. I think it's a slightly different issue. This is my traceback:

Traceback (most recent call last):
  File "/usr/bin/calibre", line 19, in <module>
    from calibre.gui2.main import main
  File "/usr/lib/calibre/calibre/gui2/__init__.py", line 7, in <module>
    from PyQt4.Qt import (QVariant, QFileInfo, QObject, SIGNAL, QBuffer, Qt,
ImportError: cannot import name QVariant

Any help?

thanks

Offline

#11 2013-06-26 07:09:43

virusso80
Member
From: Italy
Registered: 2007-03-09
Posts: 325

Re: [SOLVED] python-pyqt -> python-pyqt4 update breaks calibre

I tried uninstalling (pacman -Rs calibre) and re-installing and i got the following different traceback:

Traceback (most recent call last):
  File "/usr/bin/calibre", line 19, in <module>
    from calibre.gui2.main import main
  File "/usr/lib/calibre/calibre/gui2/main.py", line 18, in <module>
    from calibre.library.database2 import LibraryDatabase2
  File "/usr/lib/calibre/calibre/library/database2.py", line 18, in <module>
    from calibre.ebooks.metadata.opf2 import metadata_to_opf
  File "/usr/lib/calibre/calibre/ebooks/metadata/opf2.py", line 14, in <module>
    from lxml import etree
ImportError: /usr/lib/libxml2.so.2: version `LIBXML2_2.9.0' not found (required by /usr/lib/python2.7/site-packages/lxml/etree.so)

Am I missing something?

Thanks

Offline

#12 2013-06-26 08:47:23

virusso80
Member
From: Italy
Registered: 2007-03-09
Posts: 325

Re: [SOLVED] python-pyqt -> python-pyqt4 update breaks calibre

SOLVED! it was the old version of  the libxml2
Shouldn't it be checked into pkgbuild? I had installed the 2.8.0-1

thanks

Offline

#13 2013-06-26 14:14:45

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,463

Re: [SOLVED] python-pyqt -> python-pyqt4 update breaks calibre

virusso80 wrote:

SOLVED! it was the old version of  the libxml2
Shouldn't it be checked into pkgbuild? I had installed the 2.8.0-1

thanks

No. Partial updates are not supported, so you should always have the latest version

Offline

#14 2013-06-26 16:09:28

virusso80
Member
From: Italy
Registered: 2007-03-09
Posts: 325

Re: [SOLVED] python-pyqt -> python-pyqt4 update breaks calibre

Scimmia wrote:
virusso80 wrote:

SOLVED! it was the old version of  the libxml2
Shouldn't it be checked into pkgbuild? I had installed the 2.8.0-1

thanks

No. Partial updates are not supported, so you should always have the latest version

well, I agree. What I meant is that the check of correct version of required libs could be performed before upgrading, as almost always happens.

Btw, thanks

Offline

#15 2013-06-26 17:16:48

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,463

Re: [SOLVED] python-pyqt -> python-pyqt4 update breaks calibre

If you always have the latest, what would be the point of having it check the version of the lib?

Offline

#16 2013-08-03 17:25:52

new_user_thanks```
Member
Registered: 2013-08-03
Posts: 2

Re: [SOLVED] python-pyqt -> python-pyqt4 update breaks calibre

Scimmia wrote:

If you always have the latest, what would be the point of having it check the version of the lib?

You suck, dude. He was saying thanks.

Offline

#17 2013-08-03 17:26:54

new_user_thanks```
Member
Registered: 2013-08-03
Posts: 2

Re: [SOLVED] python-pyqt -> python-pyqt4 update breaks calibre

Scimmia wrote:

If you always have the latest, what would be the point of having it check the version of the lib?

And your comment was unhelpful.

Offline

#18 2013-08-04 01:07:39

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] python-pyqt -> python-pyqt4 update breaks calibre

new_user_thanks: trolling is unwelcome here: please don't do it again, if you do intend to revisit the boards.
https://wiki.archlinux.org/index.php/Fo … ther_Users



Closing


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB