FS#22534 - Upon launching calibre an exception is raised

Attached to Project: Community Packages
Opened by Dan Saul (dan.saul) - Thursday, 20 January 2011, 23:57 GMT
Last edited by Andrea Scarpino (BaSh) - Friday, 21 January 2011, 14:02 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Upon launching calibre an exception is raised, latest versions of pyqt and python2-qt are installed.

Additional info:
* 0.7.40-2
* pacman -Ql > http://pastebin.ubuntu.com/556375/


Steps to reproduce:

$ calibre
Traceback (most recent call last):
File "/usr/bin/calibre", line 18, in <module>
from calibre.gui2.main import main
File "/usr/lib/calibre/calibre/gui2/__init__.py", line 8, in <module>
from PyQt4.Qt import QVariant, QFileInfo, QObject, SIGNAL, QBuffer, Qt, \
ImportError: cannot import name QVariant
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Friday, 21 January 2011, 14:02 GMT
Reason for closing:  Fixed
Additional comments about closing:  python2-sip 4.12-4
python2-qt 4.8.2-4
Comment by Ionut Biru (wonder) - Friday, 21 January 2011, 00:12 GMT
is this happening after you updated to python2-qt?
Comment by Andrea Scarpino (BaSh) - Friday, 21 January 2011, 00:17 GMT
please wait for python2-qt 4.8.2-4
Comment by Dan Saul (dan.saul) - Friday, 21 January 2011, 02:21 GMT
I downloaded and installed python2-qt 4.8.2-4, unfortunately I am receiving the same error.

Error:

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

Package Information:

$ pacman -Qi python2-qt
Name : python2-qt
Version : 4.8.2-4
Comment by Andrea Scarpino (BaSh) - Friday, 21 January 2011, 09:29 GMT
Works here.

Did you manually installed it? If so you need python2-sip 4.12-4 too
Comment by Dan Saul (dan.saul) - Friday, 21 January 2011, 13:49 GMT
I did manually install it. Downloading python2-sip 4.12-4 corrected the problem. Thanks for your assistance :)

Loading...