Re: [Eric] Eric4 segfault
On Samstag, 27. Juni 2009, Henrik Pauli wrote: Hi all, I have a weird problem and I don't know how to begin debugging it. I have these versions of the related apps and libs installed: $ dpkg -l eric4 pyqt4 sip qt4 python qscintilla2 qscintilla2-python Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-p |end / Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: | uppercase=bad) | ||/ Name Version Description +++--=- ii eric44.3.4-1.2 Python/Ruby integrált fejlesztői környezet (IDE) ii pyqt4 4.5.1-1.50Qt4 kiegészítések Pythonhoz ii python 2.6.2-2.50Python programnyelv ii qscintilla2 2.4-1.2 A Scintilla2 C++ editor Qt4 portja ii qscintilla2-python 2.4-1.2 A Scintilla2 C++ editor pyqt4 portja ii qt4 4.5.1-1.2 Qt grafikus függvénytár ii sip 4.8.1-1.50Fejlesztőeszköz, amellyel C/C++ kódot tehetünk elérhetővé Pythonból And currently, both the build process of eric4 (which is setup.py install, give or take a few more things), and running it, results in a Segmentation fault. If you are installing eric4 by doing a setup.py install you are not using a supported package. Please download eric4 from the web site, untar the file into a directory of your choice and run python install.py inside that directory. The segfault comes from one of the libraries and not directly from eric4. You could run the steps eric4's installation routine performs manually in a Python shell. I have no idea what's going on. Can anyone help me, at least how to debug this? ___ Eric mailing list Eric@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/eric Regards, Detlev -- Detlev Offenbach det...@die-offenbachs.de ___ Eric mailing list Eric@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/eric
Re: [Eric] Eric4 segfault
Hi It seems like you are using Ubuntu, is that correct? Anyway, please try to remove the python-kde4 package since it makes eric segfault in Debian, see: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=534178 If that doesn't work please send the output of: python -v /usr/share/eric/modules/eric4.py eric_segfault.txt there is a possibility that qscintilla hasn't been recompiled on your system. On Sat, Jun 27, 2009 at 9:30 AM, Detlev Offenbach det...@die-offenbachs.dewrote: On Samstag, 27. Juni 2009, Henrik Pauli wrote: Hi all, I have a weird problem and I don't know how to begin debugging it. I have these versions of the related apps and libs installed: $ dpkg -l eric4 pyqt4 sip qt4 python qscintilla2 qscintilla2-python Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-p |end / Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: | uppercase=bad) | ||/ Name Version Description +++--=- ii eric44.3.4-1.2 Python/Ruby integrált fejlesztői környezet (IDE) ii pyqt4 4.5.1-1.50Qt4 kiegészítések Pythonhoz ii python 2.6.2-2.50Python programnyelv ii qscintilla2 2.4-1.2 A Scintilla2 C++ editor Qt4 portja ii qscintilla2-python 2.4-1.2 A Scintilla2 C++ editor pyqt4 portja ii qt4 4.5.1-1.2 Qt grafikus függvénytár ii sip 4.8.1-1.50Fejlesztőeszköz, amellyel C/C++ kódot tehetünk elérhetővé Pythonból And currently, both the build process of eric4 (which is setup.py install, give or take a few more things), and running it, results in a Segmentation fault. If you are installing eric4 by doing a setup.py install you are not using a supported package. Please download eric4 from the web site, untar the file into a directory of your choice and run python install.py inside that directory. The segfault comes from one of the libraries and not directly from eric4. You could run the steps eric4's installation routine performs manually in a Python shell. I have no idea what's going on. Can anyone help me, at least how to debug this? ___ Eric mailing list Eric@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/eric Regards, Detlev -- Detlev Offenbach det...@die-offenbachs.de ___ Eric mailing list Eric@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/eric ___ Eric mailing list Eric@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/eric
Re: [Eric] Eric4 segfault
On Saturday 27 June 2009 15:44:17 Guðjón Guðjónsson wrote: Hi It seems like you are using Ubuntu, is that correct? Anyway, please try to remove the python-kde4 package since it makes eric segfault in Debian, see: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=534178 nope :) this is UHU-Linux -- we use dpkg as our package management system, but we're entirely unrelated to any of the Debianese distributions. I guess python-kde4 is part of kdebindings, right? If that doesn't work please send the output of: python -v /usr/share/eric/modules/eric4.py eric_segfault.txt there is a possibility that qscintilla hasn't been recompiled on your system. That might have been it, actually. I saw the minor build number increase today, so somebody must have rebuilt it while I was asleep. It does work now, and kdebindings is in place (although an ancient version, 4.2.67). ___ Eric mailing list Eric@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/eric
Re: [Eric] Eric4 segfault
(resending it back to the list, I pressed the wrong reply button) On Saturday 27 June 2009 09:30:26 you wrote: If you are installing eric4 by doing a setup.py install you are not using a supported package. Please download eric4 from the web site, untar the file into a directory of your choice and run python install.py inside that directory. Sorry, I remembered wrong and didn't check, this is what our install phase does: mkdir -p $UB_INSTALLDIR/usr/lib/qt4/qsci/api/ruby python install.py \ -i $UB_INSTALLDIR \ -d /usr/lib/python2.6/site-packages \ -b /usr/bin And that's all... The segfault comes from one of the libraries and not directly from eric4. You could run the steps eric4's installation routine performs manually in a Python shell. Yeah, I guessed this... I just don't know what library it might be, and I'd love to have this fixed :/ Great. Now I tried the build and it built. And I installed the rebuilt Eric, and it runs. Agh! If I knew which of the components was allergic to something for a moment there! ___ Eric mailing list Eric@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/eric