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/PreferencesDialog.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.
Phil
--- PreferencesLexer.py.orig 2003-12-12 18:55:35.000000000 +0000
+++ PreferencesLexer.py 2004-02-29 14:23:27.000000000 +0000
@@ -58,8 +58,6 @@
raise RuntimeError, \
'Unsupported Lexer Language: %s' % language
- self.language = self.lex.language()
-
# define the local store
self.colours = {}
self.papers = {}
@@ -199,7 +197,7 @@
language
"""
- return self.language
+ return self.lex.language()
def lexer(self):
"""
@@ -209,8 +207,8 @@
reference to the lexer
"""
- return self.lex
-
+ return self.lex.lexer()
+
def description(self, style):
"""
Public method to get a descriptive string for a style.