[Python-modules-team] Bug#667910: python-qt4: Raises "underlying C/C++ object has been deleted" while it has not been created
Valentin Lorentz
progval at progval.net
Sat Apr 7 13:15:19 UTC 2012
Package: python-qt4
Version: 4.9.1-1
Severity: wishlist
Tags: upstream
Hi,
When you subclass a QObject, overwrite the constructor, and forget to
call super(MyClass, self).__init__(), you get this error:
RuntimeError: underlying C/C++ object has been deleted
However, in this case, we get it because the object has not even been
created, so I think you should add another message for that (it took me
some time to figure out why I was getting this error).
Regards,
Valentin Lorentz
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages python-qt4 depends on:
ii libc6 2.13-27
ii libgcc1 1:4.7.0-1
ii libpython2.7 2.7.3~rc2-1
ii libqt4-dbus 4:4.7.4-3
ii libqt4-declarative 4:4.7.4-3
ii libqt4-designer 4:4.7.4-3
ii libqt4-help 4:4.7.4-3
ii libqt4-network 4:4.7.4-3
ii libqt4-script 4:4.7.4-3
ii libqt4-scripttools 4:4.7.4-3
ii libqt4-svg 4:4.7.4-3
ii libqt4-test 4:4.7.4-3
ii libqt4-xml 4:4.7.4-3
ii libqt4-xmlpatterns 4:4.7.4-3
ii libqtassistantclient4 4.6.3-3
ii libqtcore4 4:4.7.4-3
ii libqtgui4 4:4.7.4-3
ii libqtwebkit4 2.2.0-3
ii libstdc++6 4.7.0-1
ii python 2.7.2-10
ii python-sip [sip-api-8.1] 4.13.2-1
ii python2.6 2.6.7-4
ii python2.7 2.7.3~rc2-1
python-qt4 recommends no packages.
Versions of packages python-qt4 suggests:
pn python-qt4-dbg <none>
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20120407/65183b23/attachment.pgp>
More information about the Python-modules-team
mailing list