Bug#844601: python-spyder: "from spyder.plugins.editor import Editor" hangs the machine

2016-11-28 Thread Carlos Pascual
On Sunday, November 27, 2016 6:22:48 PM CET Dmitry Shachnev wrote: > Such code should not be run on module *import* time, it should be run > when the spyder code is first *used*. I completely agree with this. Also, I second the opinion that segfaults when using Qt code without a QApplication is

Bug#844601: python-spyder: "from spyder.plugins.editor import Editor" hangs the machine

2016-11-27 Thread Lisandro Damián Nicanor Pérez Meyer
And qt also does not produces exceptions, and that's by design. -- Lisandro Damián Nicanor Pérez Meyer http://perezmeyer.com.ar/ http://perezmeyer.blogspot.com/ -- debian-science-maintainers mailing list debian-science-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/ma

Bug#844601: python-spyder: "from spyder.plugins.editor import Editor" hangs the machine

2016-11-27 Thread Dmitry Shachnev
On Sun, Nov 27, 2016 at 06:22:52PM +, PICCA Frederic-Emmanuel wrote: > > In other words: if you want to use Qt you *need* a QApplication instance. > > That's Qt basics. Not using it is a bug. > > I understand, > > Nervertheless I think that the python binding should fail gracefully with > an ex

Bug#844601: python-spyder: "from spyder.plugins.editor import Editor" hangs the machine

2016-11-27 Thread Lisandro Damián Nicanor Pérez Meyer
In other words: if you want to use Qt you *need* a QApplication instance. That's Qt basics. Not using it is a bug. -- Lisandro Damián Nicanor Pérez Meyer http://perezmeyer.com.ar/ http://perezmeyer.blogspot.com/ -- debian-science-maintainers mailing list debian-science-maintainers@lists.alioth.d

Bug#844601: python-spyder: "from spyder.plugins.editor import Editor" hangs the machine

2016-11-27 Thread PICCA Frederic-Emmanuel
> In other words: if you want to use Qt you *need* a QApplication instance. > That's Qt basics. Not using it is a bug. I understand, Nervertheless I think that the python binding should fail gracefully with an exception instead of segfaulting... Cheers -- debian-science-maintainers mailing l

Bug#844601: python-spyder: "from spyder.plugins.editor import Editor" hangs the machine

2016-11-27 Thread Dmitry Shachnev
Hi, On Sun, Nov 27, 2016 at 03:16:36PM +, 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 sho

Bug#844601: python-spyder: "from spyder.plugins.editor import Editor" hangs the machine

2016-11-27 Thread PICCA Frederic-Emmanuel
Hello Dmitry > 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

Bug#844601: python-spyder: "from spyder.plugins.editor import Editor" hangs the machine

2016-11-25 Thread Dmitry Shachnev
Hi all, and sorry for the late response. On Sat, Nov 19, 2016 at 11:48:51AM -0300, Lisandro Damián Nicanor Pérez Meyer wrote: > I'm CCing the pyqt5 maintainer and expert. Python is not my realm really. The problem with python-spyder is that it tries to use Qt widgets without a QApplication insta

Bug#844601: python-spyder: "from spyder.plugins.editor import Editor" hangs the machine

2016-11-19 Thread picca
Hello libqt5gui5 maintainer, I will reassign this bug to you since it seems that the segfault is in your library. It can be caused by a missued of your library but nevertheless it should not segfault :). -- debian-science-maintainers mailing list debian-science-maintainers@lists.alioth.debian.o

Bug#844601: python-spyder: "from spyder.plugins.editor import Editor"

2016-11-19 Thread picca
Here I attach a full backtrace with the debug symbols Already logging to "backtrace". #0 registerFont (fnt=0xbfffdd24) at text/qfontdatabase.cpp:1025 #1 QFontDatabasePrivate::addAppFont (this=, fontData=..., fileName=...) at text/qfontdatabase.cpp:2436 #2 0xb47ea5dd in QFontDatabase::addApplic

Bug#844601: python-spyder: "from spyder.plugins.editor import Editor" hangs the machine

2016-11-17 Thread Zbigniew Reszela
Package: python-spyder Version: 3.0.1+dfsg1-1 Severity: normal Tags: upstream Dear Maintainer, We have tried the spyder package from unstable and we have found a problem. The steps to reproduce it are: apt-get update apt-get install -y python-spyder export USER= python -c "from s