Bug#844601: python-spyder: "from spyder.plugins.editor import Editor" hangs the machine
Dmitry Shachnev
mitya57 at debian.org
Sun Nov 27 15:22:48 UTC 2016
Hi,
On Sun, Nov 27, 2016 at 03:16:36PM +0000, PICCA Frederic-Emmanuel wrote:
> > The QFontDatabase method will definitely not work properly without a
> > Q(Gui)Application instance.
>
> thanks for this analyze.
>
> so if I understand correctly, the problem is in the QFontDatabse method
> which should raise an exception instead of segfaulting.
>
> right ?
>
> so I should clone this bug and assign it to python{3}-pyqt5
> sice it is a segfault maybe the culprite is around sip...
No. This has nothing to do with PyQt5. The C++ code using Qt Gui classes
without a Q(Gui)Application will also crash. That is an expected behavior.
Such code should not be run on module *import* time, it should be run
when the spyder code is first *used*.
--
Dmitry Shachnev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20161127/8a56250f/attachment.sig>
More information about the debian-science-maintainers
mailing list