Mailinglist Archive: opensuse-bugs (4251 mails)

< Previous Next >
[Bug 1038377] New: python3-qt* tries to import non-existent __version__ property from PySide
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Wed, 10 May 2017 05:58:53 +0000
  • Message-id: <bug-1038377-21960@http.bugzilla.opensuse.org/>
http://bugzilla.opensuse.org/show_bug.cgi?id=1038377


Bug ID: 1038377
Summary: python3-qt* tries to import non-existent __version__
property from PySide
Classification: openSUSE
Product: openSUSE Tumbleweed
Version: Current
Hardware: x86-64
OS: Other
Status: NEW
Severity: Major
Priority: P5 - None
Component: Other
Assignee: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
Reporter: anpaby5@xxxxxxxxx
QA Contact: qa-bugs@xxxxxxx
Found By: ---
Blocker: ---

Applications relying on Python3 Qt bindings will fail. The qtpy module tries to
import the __version__ object from the PySide module, while this module has no
such property. The __version__ property existed in the Python2 version of
PySide, but was deprecated in its Python3 version.

The affected packages are:
python3-qt4 and/or python3-qt5
python3-pyside
spyder3 and any programs requiring the Python3 Qt bindings

Python3 traceback:
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/qtpy/__init__.py", line 119, in
<module>
from PySide import __version__ as PYSIDE_VERSION # analysis:ignore
ImportError: cannot import name '__version__'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/bin/spyder3", line 3, in <module>
start.main()
File "/usr/lib/python3.6/site-packages/spyder/app/start.py", line 103, in
main
from spyder.app import mainwindow
File "/usr/lib/python3.6/site-packages/spyder/app/mainwindow.py", line 49, in
<module>
requirements.check_qt()
File "/usr/lib/python3.6/site-packages/spyder/requirements.py", line 39, in
check_qt
import qtpy
File "/usr/lib/python3.6/site-packages/qtpy/__init__.py", line 125, in
<module>
raise PythonQtError('No Qt bindings could be found')
qtpy.PythonQtError: No Qt bindings could be found

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >
Follow Ups