Bug 1046613 - [abrt] eric: __init__.py:25:<module>:RuntimeError: the sip module implements API v10.0 to v10.1 but the PyQt4.Qsci module requires API v9.2
Summary: [abrt] eric: __init__.py:25:<module>:RuntimeError: the sip module implements ...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: eric
Version: 19
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:09e1701adc9a68d6e2de3b5d2c1...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-26 10:20 UTC by a.thiaville
Modified: 2014-12-29 19:31 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-12-29 19:31:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (6.84 KB, text/plain)
2013-12-26 10:20 UTC, a.thiaville
no flags Details
File: environ (4.02 KB, text/plain)
2013-12-26 10:20 UTC, a.thiaville
no flags Details

Description a.thiaville 2013-12-26 10:20:39 UTC
Description of problem:
starting eric4 : i.e eric4 in a a konsole

Version-Release number of selected component:
eric-4.5.15-1.fc19

Additional info:
reporter:       libreport-2.1.10
cmdline:        /usr/bin/python /usr/lib/python2.7/site-packages/eric4/eric4.py
executable:     /usr/lib/python2.7/site-packages/eric4/eric4.py
kernel:         3.11.10-200.fc19.x86_64
runlevel:       N 5
type:           Python
uid:            1001

Truncated backtrace:
#1 <module> in /usr/lib/python2.7/site-packages/eric4/Preferences/__init__.py:25
#2 <module> in /usr/lib/python2.7/site-packages/eric4/KdeQt/__init__.py:20
#3 <module> in /usr/lib/python2.7/site-packages/eric4/eric4.py:57

Comment 1 a.thiaville 2013-12-26 10:20:44 UTC
Created attachment 841862 [details]
File: backtrace

Comment 2 a.thiaville 2013-12-26 10:20:46 UTC
Created attachment 841863 [details]
File: environ

Comment 3 Rex Dieter 2013-12-26 19:38:10 UTC
$ rpm -q sip PyQt4 qscintilla-python

please.

I can confirm this combination works for me:
eric-4.5.15-1.fc19.x86_64
sip-4.14.6-1.fc19.x86_64
PyQt4-4.10.1-4.fc19.x86_64
qscintilla-python-2.7.1-1.fc19.x86_64

Comment 4 Rex Dieter 2013-12-26 19:44:37 UTC
I ask because the backtrace here:

__init__.py:25:<module>:RuntimeError: the sip module implements API v10.0 to v10.1 but the PyQt4.Qsci module requires API v9.2

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/eric4/eric4.py", line 57, in <module>
    from KdeQt.KQApplication import KQApplication
  File "/usr/lib/python2.7/site-packages/eric4/KdeQt/__init__.py", line 20, in <module>
    import Preferences
  File "/usr/lib/python2.7/site-packages/eric4/Preferences/__init__.py", line 25, in <module>
    from PyQt4 import Qsci
RuntimeError: the sip module implements API v10.0 to v10.1 but the PyQt4.Qsci module requires API v9.2

implies you have a different version of sip installed somewhere.

Comment 5 a.thiaville 2013-12-26 20:20:11 UTC
[Alain@alix /]$ sorry but it's not NOT A BUG: IT was caused by a more recent QtCore.so library in /usr/lib64/python2.7/site-package/Qt4 which overwrites the one from the rpm PyQt4
 rpm -q sip PyQt4 qscintilla-python pykde4 eric
sip-4.14.6-1.fc19.x86_64
PyQt4-4.10.1-4.fc19.x86_64
qscintilla-python-2.7.1-1.fc19.x86_64
pykde4-4.11.4-2.fc19.x86_64
eric-4.5.15-1.fc19.x86_64
[Alain@alix /]$ python
Python 2.7.5 (default, Nov 12 2013, 16:18:42) 
[GCC 4.8.2 20131017 (Red Hat 4.8.2-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from PyQt4 import QtCore
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
RuntimeError: the sip module implements API v9.0 to v9.2 but the PyQt4.QtCore module requires API v10.1
I fixed if with
sudo rm /usr/lib64/python2.7/site-packages/PyQt4/QtCore.so
and
sudo yum reinstall PyQt4

Comment 6 a.thiaville 2013-12-26 20:25:35 UTC
yes, you can close this "false" bug I reinstall sip and PyQT4 which where overwritten .


Note You need to log in before you can comment on or make changes to this bug.