[PyKDE] eric3 preferences traceback, coredump on FreeBSD 5

Phil Thompson phil at riverbankcomputing.co.uk
Sun Feb 29 17:39:01 GMT 2004


On Sunday 29 February 2004 16:16, Detlev Offenbach wrote:
> Am Sonntag, 29. Februar 2004 15:29 schrieb Phil Thompson:
> > On Friday 27 February 2004 21:42, David Niergarth wrote:
> > > > It says that because it can't find
> > > > $QTDIR/mkspecs/default/qmake.conf Is it there?
> > > >
> > > > Phil
> > >
> > > It wasn't but I was able to remedy the problem and get the sip
> > > snapshot to build and install. Unfortunately the eric3 preferences
> > > traceback and core dump on exit still happen. (I uninstalled and
> > > reinstalled eric3 in case that matters.)
> > >
> > > (%:~/src/eric-snapshot-20040218)- sip -V
> > > 4.0 (snapshot-20040216-SIP4-172)
> > >
> > > (%:~/src/eric-snapshot-20040218)- ./eric3
> > > Traceback (most recent call last):
> > >   File "/usr/local/lib/python2.3/site-packages/UI/UserInterface.py",
> > > line 1710, in handlePreferences File
> > > "/usr/local/lib/python2.3/site-packages/Preferences/PreferencesDialo
> > >g.py", line 871, in setPreferences NotImplementedError:
> > > QextScintillaLexer.language() is abstract and must be overridden
> > > zsh: segmentation fault (core dumped)  ./eric3
> >
> > This is a bug in eric. The attached patch fixes the "obvious"
> > problems, but might introduce others.
>
> Ouch, that bug is really obvious. How come, it doesn't occur under Linux
> using sip 3? Nevertheless, I will include the fix.

I suspect it does occur but, for some reason, you don't see it. Even with SIP 
4 the exception was actually being raised dozens of times - but only resulted 
in the one error message.

Phil




More information about the PyQt mailing list