Package: python-qscintilla2
Version: 2.4.3-1+b1
Severity: important

After upgrading python-qt4 from 4.8.3-1 to 4.8.3-2, QsciScintilla raises
unexpected TypeError:

Traceback (most recent call last):
  File "./scintilla.py", line 9, in <module>
    sci = QsciScintilla(w)
TypeError: QsciScintilla(QWidget parent=None): argument 1 has unexpected type 
'QWidget'

Rebuilding python-qscintilla2 package fixed this issue on my environment.

Here's the minimal repro script:

import sys
from PyQt4.QtCore import *
from PyQt4.QtGui import *
from PyQt4.Qsci import QsciScintilla

app = QApplication(sys.argv)
w = QWidget()
sci = QsciScintilla(w)
w.show()
app.exec_()

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (510, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-qscintilla2 depends on:
ii  libc6                   2.11.2-13        Embedded GNU C Library: Shared lib
ii  libgcc1                 1:4.5.2-6        GCC support library
ii  libqscintilla2-5        2.4.3-1+b1       The Qt4 port of the Scintilla sour
ii  libqtcore4              4:4.7.2-1        Qt 4 core module
ii  libqtgui4               4:4.7.2-1        Qt 4 GUI module
ii  libstdc++6              4.5.2-6          The GNU Standard C++ Library v3
ii  python                  2.6.6-3+squeeze6 interactive high-level object-orie
ii  python-qt4              4.8.3-2          Python bindings for Qt4
ii  python-sip [sip-api-8.1 4.12.1-1         Python/C++ bindings generator runt
ii  python-support          1.0.11           automated rebuilding support for P

python-qscintilla2 recommends no packages.

python-qscintilla2 suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to