[Python-modules-team] Bug#779369: pyqt5-examples missing dependencies python3-pyqt5.{qtquick, qtopengl, qtmultimedia, qtsvg} etc.
Chris Bainbridge
chris.bainbridge at gmail.com
Fri Feb 27 19:43:08 UTC 2015
Package: pyqt5-examples
Version: 5.3.2+dfsg-3
Severity: normal
Dear Maintainer,
pyqt5-examples should depend on all the libraries necessary to run the
examples.
For example:
$ /usr/share/doc/pyqt5-examples/examples/qtdemo/qtdemo.py
Click on Quick > Animation > Launch : Nothing happens
$ python3
/usr/share/doc/pyqt5-examples/examples/quick/animation/animation.py
Traceback (most recent call last):
File "/usr/share/doc/pyqt5-examples/examples/quick/animation/animation.py",
line 49, in <module>
from PyQt5.QtQuick import QQuickView
ImportError: No module named 'PyQt5.QtQuick'
etc.
Also note there is another missing dependency: python3-pyqt5.qtopengl should
depend on python3-opengl (the opengl demos need python3-opengl but even after
install python3-pyqt5.qtopengl it is not installed). Even after that, an opengl
demo seems to not work:
$ /usr/share/doc/pyqt5-examples/examples/qtdemo/qtdemo.py
Click on OpenGL > OpenGL Window > Launch: Crash/Hang (?)
$ python3 /usr/share/doc/pyqt5-examples/examples/opengl/openglwindow.py
Traceback (most recent call last):
File "/usr/share/doc/pyqt5-examples/examples/opengl/openglwindow.py",
line 115, in exposeEvent
self.renderNow()
File "/usr/share/doc/pyqt5-examples/examples/opengl/openglwindow.py",
line 95, in renderNow
self.m_gl = self.m_context.versionFunctions()
ImportError: No module named 'PyQt5._QOpenGLFunctions_3_0'
Traceback (most recent call last):
File "/usr/share/doc/pyqt5-examples/examples/opengl/openglwindow.py",
line 115, in exposeEvent
self.renderNow()
File "/usr/share/doc/pyqt5-examples/examples/opengl/openglwindow.py",
line 100, in renderNow
self.render(self.m_gl)
File "/usr/share/doc/pyqt5-examples/examples/opengl/openglwindow.py",
line 165, in render
gl.glViewport(0, 0, self.width(), self.height())
AttributeError: 'NoneType' object has no attribute 'glViewport'
-- System Information:
Debian Release: 8.0
APT prefers testing-updates
APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages pyqt5-examples depends on:
ii libjs-jquery 1.7.2+dfsg-3.2
ii python3-pyqt5 5.3.2+dfsg-3
pyqt5-examples recommends no packages.
Versions of packages pyqt5-examples suggests:
pn qt5-doc <none>
-- no debconf information
More information about the Python-modules-team
mailing list