Bug 755355 - [abrt] veusz-1.11-2.fc15: points.py:29:<module>:RuntimeError: the PyQt4.QtCore module is version 1 but the qtloops module requires version -1
Summary: [abrt] veusz-1.11-2.fc15: points.py:29:<module>:RuntimeError: the PyQt4.QtCor...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: veusz
Version: 15
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jeremy Sanders
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:e7181ca364ad5855cc497357500...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-20 21:27 UTC by martin
Modified: 2011-12-02 21:30 UTC (History)
3 users (show)

Fixed In Version: qscintilla-2.4.6-3.fc15
Clone Of:
Environment:
Last Closed: 2011-12-02 21:30:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description martin 2011-11-20 21:27:25 UTC
abrt version: 2.0.3
architecture:   x86_64
cmdline:        
component:      veusz
executable:     /usr/bin/veusz
kernel:         2.6.41.1-1.fc15.x86_64
os_release:     Fedora release 15 (Lovelock)
package:        veusz-1.11-2.fc15
reason:         points.py:29:<module>:RuntimeError: the PyQt4.QtCore module is version 1 but the qtloops module requires version -1
time:           Sun Nov 20 18:41:26 2011
uid:            500
username:       martin

backtrace:
:points.py:29:<module>:RuntimeError: the PyQt4.QtCore module is version 1 but the qtloops module requires version -1
:
:Traceback (most recent call last):
:  File "/usr/bin/veusz", line 25, in <module>
:    import veusz.veusz_main
:  File "/usr/lib64/python2.7/site-packages/veusz/veusz_main.py", line 42, in <module>
:    import veusz.utils as utils
:  File "/usr/lib64/python2.7/site-packages/veusz/utils/__init__.py", line 29, in <module>
:    from points import *
:  File "/usr/lib64/python2.7/site-packages/veusz/utils/points.py", line 29, in <module>
:    from veusz.helpers.qtloops import plotPathsToPainter
:RuntimeError: the PyQt4.QtCore module is version 1 but the qtloops module requires version -1
:
:Local variables in innermost frame:
:qt4: None
:__builtins__: {'bytearray': <type 'bytearray'>, 'IndexError': <type 'exceptions.IndexError'>, 'all': <built-in function all>, 'help': Type help() for interactive help, or help(object) for help about object., 'vars': <built-in function vars>, 'SyntaxError': <type 'exceptions.SyntaxError'>, 'unicode': <type 'unicode'>, 'UnicodeDecodeError': <type 'exceptions.UnicodeDecodeError'>, 'memoryview': <type 'memoryview'>, 'isinstance': <built-in function isinstance>, 'copyright': Copyright (c) 2001-2010 Python Software Foundation.
:All Rights Reserved.
:
:Copyright (c) 2000 BeOpen.com.
:All Rights Reserved.
:
:Copyright (c) 1995-2001 Corporation for National Research Initiatives.
:All Rights Reserved.
:
:Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.
:All Rights Reserved., 'NameError': <type 'exceptions.NameError'>, 'BytesWarning': <type 'exceptions.BytesWarning'>, 'dict': <type 'dict'>, 'input': <built-in function input>, 'oct': <built-in function oct>, 'bin': <built-in function bin>, 'SystemExit': <type 'exceptions.SystemExit'>, 'StandardError': <type 'exceptions.StandardError'>, 'format': <built-in function format>, 'repr': <built-in function repr>, 'sorted': <built-in function sorted>, 'False': False, 'RuntimeWarning': <type 'exceptions.RuntimeWarning'>, 'list': <type 'list'>, 'iter': <built-in function iter>, 'reload': <built-in function reload>, 'Warning': <type 'exceptions.Warning'>, '__package__': None, 'round': <built-in function round>, 'dir': <built-in function dir>, 'cmp': <built-in function cmp>, 'set': <type 'set'>, 'bytes': <type 'str'>, 'reduce': <built-in function reduce>, 'intern': <built-in function intern>, 'issubclass': <built-in function issubclass>, 'Ellipsis': Ellipsis, 'EOFError': <type 'exceptions.EOFError'>, 'locals': <built-in function locals>, 'BufferError': <type 'exceptions.BufferError'>, 'slice': <type 'slice'>, 'FloatingPointError': <type 'exceptions.FloatingPointError'>, 'sum': <built-in function sum>, 'getattr': <built-in function getattr>, 'abs': <built-in function abs>, 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'print': <built-in function print>, 'True': True, 'FutureWarning': <type 'exceptions.FutureWarning'>, 'ImportWarning': <type 'exceptions.ImportWarning'>, 'None': None, 'hash': <built-in function hash>, 'ReferenceError': <type 'exceptions.ReferenceError'>, 'len': <built-in function len>, 'credits':     Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands
:    for supporting Python development.  See www.python.org for more information., 'frozenset': <type 'frozenset'>, '__name__': '__builtin__', 'ord': <built-in function ord>, 'super': <type 'super'>, 'TypeError': <type 'exceptions.TypeError'>, 'license': See http://www.python.org/2.7/license.html, 'KeyboardInterrupt': <type 'exceptions.KeyboardInterrupt'>, 'UserWarning': <type 'exceptions.UserWarning'>, 'filter': <built-in function filter>, 'range': <built-in function range>, 'staticmethod': <type 'staticmethod'>, 'SystemError': <type 'exceptions.SystemError'>, 'BaseException': <type 'exceptions.BaseException'>, 'pow': <built-in function pow>, 'RuntimeError': <type 'exceptions.RuntimeError'>, 'float': <type 'float'>, 'MemoryError': <type 'exceptions.MemoryError'>, 'StopIteration': <type 'exceptions.StopIteration'>, 'globals': <built-in function globals>, 'divmod': <built-in function divmod>, 'enumerate': <type 'enumerate'>, 'apply': <built-in function apply>, 'LookupError': <type 'exceptions.LookupError'>, 'open': <built-in function open>, 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'basestring': <type 'basestring'>, 'UnicodeError': <type 'exceptions.UnicodeError'>, 'zip': <built-in function zip>, 'hex': <built-in function hex>, 'long': <type 'long'>, 'next': <built-in function next>, 'ImportError': <type 'exceptions.ImportError'>, 'chr': <built-in function chr>, 'xrange': <type 'xrange'>, 'type': <type 'type'>, '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", 'Exception': <type 'exceptions.Exception'>, 'tuple': <type 'tuple'>, 'UnicodeTranslateError': <type 'exceptions.UnicodeTranslateError'>, 'reversed': <type 'reversed'>, 'UnicodeEncodeError': <type 'exceptions.UnicodeEncodeError'>, 'IOError': <type 'exceptions.IOError'>, 'hasattr': <built-in function hasattr>, 'delattr': <built-in function delattr>, 'setattr': <built-in function setattr>, 'raw_input': <built-in function raw_input>, 'SyntaxWarning': <type 'exceptions.SyntaxWarning'>, 'compile': <built-in function compile>, 'ArithmeticError': <type 'exceptions.ArithmeticError'>, 'str': <type 'str'>, 'property': <type 'property'>, 'GeneratorExit': <type 'exceptions.GeneratorExit'>, 'int': <type 'int'>, '__import__': <built-in function __import__>, 'KeyError': <type 'exceptions.KeyError'>, 'coerce': <built-in function coerce>, 'PendingDeprecationWarning': <type 'exceptions.PendingDeprecationWarning'>, 'file': <type 'file'>, 'EnvironmentError': <type 'exceptions.EnvironmentError'>, 'unichr': <built-in function unichr>, 'id': <built-in function id>, 'OSError': <type 'exceptions.OSError'>, 'DeprecationWarning': <type 'exceptions.DeprecationWarning'>, 'min': <built-in function min>, 'UnicodeWarning': <type 'exceptions.UnicodeWarning'>, 'execfile': <built-in function execfile>, 'any': <built-in function any>, 'complex': <type 'complex'>, 'bool': <type 'bool'>, 'ValueError': <type 'exceptions.ValueError'>, 'NotImplemented': NotImplemented, 'map': <built-in function map>, 'buffer': <type 'buffer'>, 'max': <built-in function max>, 'object': <type 'object'>, 'TabError': <type 'exceptions.TabError'>, 'callable': <built-in function callable>, 'ZeroDivisionError': <type 'exceptions.ZeroDivisionError'>, 'eval': <built-in function eval>, '__debug__': True, 'IndentationError': <type 'exceptions.IndentationError'>, 'AssertionError': <type 'exceptions.AssertionError'>, 'classmethod': <type 'classmethod'>, 'UnboundLocalError': <type 'exceptions.UnboundLocalError'>, 'NotImplementedError': <type 'exceptions.NotImplementedError'>, 'AttributeError': <type 'exceptions.AttributeError'>, 'OverflowError': <type 'exceptions.OverflowError'>}
:__file__: None
:__doc__: None
:N: None
:__name__: None
:__package__: None
:izip: None

comment:
:trying to start veusz
:happens everytime
:
:I could use veusz few weeks ago

Comment 1 Kevin Kofler 2011-11-21 09:59:28 UTC
Can you please post the output of:
rpm -q qt qt-x11 PyQt4 sip python
? (This will list the versions of the listed packages.)

Comment 2 martin 2011-11-21 10:25:36 UTC
(In reply to comment #1)
> Can you please post the output of:
> rpm -q qt qt-x11 PyQt4 sip python
> ? (This will list the versions of the listed packages.)

[martin@valaraukar ~]$ rpm -q qt qt-x11 PyQt4 sip python
qt-4.7.4-6.fc15.x86_64
qt-4.7.4-6.fc15.i686
qt-x11-4.7.4-6.fc15.x86_64
qt-x11-4.7.4-6.fc15.i686
PyQt4-4.8.6-1.fc15.x86_64
sip-4.13-1.fc15.x86_64
python-2.7.1-7.fc15.x86_64

Comment 3 Kevin Kofler 2011-11-21 10:50:42 UTC
Looks like https://admin.fedoraproject.org/updates/FEDORA-2011-15608 (currently in updates-testing) introduces some ABI breakage.

Interestingly, F16 seems fine, though that had newer sip and PyQt4 versions to begin with. The F15 build of veusz (which as per this report doesn't work with the new sip and PyQt4) was built against sip-4.12.1-3.fc15 and PyQt4-4.8.3-2.fc15, the F16 build of veusz (which does work with the new sip and PyQt4 from FEDORA-2011-15775, I verified that) was built against sip-4.12.3-1.fc16 and PyQt4-4.8.4-3.fc16.

Comment 4 Rex Dieter 2011-11-21 11:13:17 UTC
I'll test a veusz rebuilt, probably add that to the update here.

Comment 5 Rex Dieter 2011-11-21 11:25:29 UTC
while I'm at it, try to see if there's some way to track PyQt abi (apparently there is one, may or may not be related to sip)

Comment 6 Rex Dieter 2011-11-21 11:36:21 UTC
nevermind, that error comes from siplib.c, apparently using the same checks that we track, though when -1 is returned, seems it's hard to tell what went wrong unfortunately.

Comment 7 Fedora Update System 2011-11-21 15:31:20 UTC
qscintilla-2.4.6-3.fc15, PyQt4-4.8.6-1.fc15, sip-4.13-1.fc15, kdebindings-4.6.5-2.fc15, calibre-0.8.0-1.fc15.1, veusz-1.11-2.fc15.1 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/FEDORA-2011-15608/calibre-0.8.0-1.fc15.1,veusz-1.11-2.fc15.1,kdebindings-4.6.5-2.fc15,qscintilla-2.4.6-3.fc15,PyQt4-4.8.6-1.fc15,sip-4.13-1.fc15

Comment 8 Fedora Update System 2011-11-21 22:56:28 UTC
Package qscintilla-2.4.6-3.fc15, PyQt4-4.8.6-1.fc15, sip-4.13-1.fc15, kdebindings-4.6.5-2.fc15, calibre-0.8.0-1.fc15.1, veusz-1.11-2.fc15.1, avogadro-1.0.3-2.fc15.1:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing qscintilla-2.4.6-3.fc15 PyQt4-4.8.6-1.fc15 sip-4.13-1.fc15 kdebindings-4.6.5-2.fc15 calibre-0.8.0-1.fc15.1 veusz-1.11-2.fc15.1 avogadro-1.0.3-2.fc15.1'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-15608/avogadro-1.0.3-2.fc15.1,calibre-0.8.0-1.fc15.1,veusz-1.11-2.fc15.1,kdebindings-4.6.5-2.fc15,qscintilla-2.4.6-3.fc15,PyQt4-4.8.6-1.fc15,sip-4.13-1.fc15
then log in and leave karma (feedback).

Comment 9 Fedora Update System 2011-12-02 21:30:48 UTC
qscintilla-2.4.6-3.fc15, PyQt4-4.8.6-1.fc15, sip-4.13-1.fc15, kdebindings-4.6.5-2.fc15, calibre-0.8.0-1.fc15.1, veusz-1.11-2.fc15.1, avogadro-1.0.3-2.fc15.1 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.


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