[PyQt] Fwd: Bug#667910: python-qt4: Raises "underlying C/C++ object has been deleted" while it has not been created

Phil Thompson phil at riverbankcomputing.com
Sat Apr 14 11:57:01 BST 2012


On Sat, 07 Apr 2012 19:10:58 -0400, Scott Kitterman <debian at kitterman.com>
wrote:
> Forwarding this suggestion from a Debian user.
> 
> Scott K

Fixed in tonight's snapshot.

Thanks,
Phil

> ----------  Forwarded Message  ----------
> 
> Subject: Bug#667910: python-qt4: Raises "underlying C/C++ object has
been 
> deleted" while it has not been created
> Date: Saturday, April 07, 2012, 03:15:19 PM
> From: Valentin Lorentz <progval at progval.net>
> To: submit at bugs.debian.org
> 
> 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
> -----------------------------------------
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt


More information about the PyQt mailing list