[Python-modules-team] Bug#827417: unmatching types with qscintilla

VA bugs at indigo.re
Wed Jun 15 22:48:30 UTC 2016


Package: python-pyqt5.qsci
Version: 2.9.2+dfsg-1

I just upgraded Qt5 libraries and now functions from PyQt5.Qsci taking a
QString cannot take anything from Python:

from PyQt5.QtWidgets import QApplication
from PyQt5.Qsci import QsciScintilla
app = QApplication([])
s = QsciScintilla()
s.show()
s.setText('foo')
app.exec_()

Raises:

TypeError: setText(self, str): argument 1 has unexpected type 'str'

Using an unicode string equally fails.
Non-Qsci widgets (for example QtWidgets.QLineEdit) seem unaffected by
this issue.

ii  libqt5clucene5:i386                     5.6.1-2
ii  libqt5concurrent5:i386                  5.6.1+dfsg-2
ii  libqt5core5a:i386                       5.6.1+dfsg-2
ii  libqt5dbus5:i386                        5.6.1+dfsg-2
ii  libqt5designer5:i386                    5.6.1-2
ii  libqt5designercomponents5:i386          5.6.1-2
ii  libqt5gui5:i386                         5.6.1+dfsg-2
ii  libqt5help5:i386                        5.6.1-2
ii  libqt5keychain0:i386                    0.5.0-1
ii  libqt5multimedia5:i386                  5.6.1-2
ii  libqt5multimedia5-plugins:i386          5.6.1-2
ii  libqt5multimediaquick-p5:i386           5.6.1-2
ii  libqt5multimediawidgets5:i386           5.6.1-2
ii  libqt5network5:i386                     5.6.1+dfsg-2
ii  libqt5opengl5:i386                      5.6.1+dfsg-2
ii  libqt5printsupport5:i386                5.6.1+dfsg-2
ii  libqt5qml5:i386                         5.6.1-3
ii  libqt5quick5:i386                       5.6.1-3
ii  libqt5quickwidgets5:i386                5.6.1-3
ii  libqt5scintilla2-12v5                   2.9.2+dfsg-1
ii  libqt5scintilla2-12v5-dbg               2.9.2+dfsg-1
ii  libqt5scintilla2-l10n                   2.9.2+dfsg-1
ii  libqt5script5:i386                      5.6.1+dfsg-2
ii  libqt5sql5:i386                         5.6.1+dfsg-2
ii  libqt5sql5-sqlite:i386                  5.6.1+dfsg-2
ii  libqt5svg5:i386                         5.6.1-2
ii  libqt5test5:i386                        5.6.1+dfsg-2
ii  libqt5webkit5:i386                      5.6.1+dfsg-3
ii  libqt5widgets5:i386                     5.6.1+dfsg-2
ii  libqt5x11extras5:i386                   5.6.1-2
ii  libqt5xml5:i386                         5.6.1+dfsg-2
ii  phonon4qt5:i386                         4:4.9.0-3
ii  phonon4qt5-backend-vlc:i386             0.9.0-1
ii  pyqt5-dev                               5.6+dfsg-1
ii  pyqt5-dev-tools                         5.6+dfsg-1+b1
ii  pyqt5.qsci-dev                          2.9.2+dfsg-1
ii  python-pyqt5                            5.6+dfsg-1+b1
ii  python-pyqt5-dbg                        5.6+dfsg-1+b1
ii  python-pyqt5.qsci                       2.9.2+dfsg-1
ii  python-pyqt5.qsci-dbg                   2.9.2+dfsg-1
ii  python-pyqt5.qtmultimedia               5.6+dfsg-1+b1
ii  python-pyqt5.qtsvg                      5.6+dfsg-1+b1
ii  python-pyqt5.qtwebkit                   5.6+dfsg-1+b1
ii  python3-pyqt5                           5.6+dfsg-1+b1
ii  python3-pyqt5.qsci                      2.9.2+dfsg-1
ii  qt5-qmake:i386                          5.6.1+dfsg-2



More information about the Python-modules-team mailing list