
February 8th, 2004, 11:34 AM
|
|
Registered User
|
|
Join Date: Sep 2003
Posts: 11
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
eric3 QT python editor exception...
I recently installed eric3 because it seems really nice but I keep getting an exception when the Preferences Dialog tries to save changes...
Code:
Traceback (most recent call last):
File "/usr/local/lib/python2.3/site-packages/UI/UserInterface.py", line 1673, in handlePreferences
File "/usr/local/lib/python2.3/site-packages/Preferences/PreferencesDialog.py", line 844, in setPreferences
NotImplementedError: QextScintillaLexer.language() is abstract and must be overridden
I checked the code in the file on line 844:
Code:
# write the lexer styles to disk
for lexer in self.lexers.values():
lexer.writeSettings(Preferences.Prefs.settings, "/eric3/Scintilla")
After further investigation I found out that the class PreferencesLexer does implement QextScintillaLexer.language():
Code:
def language(self):
"""
Public method to get the lexers programming language.
@return language
"""
return self.language
So... I don't know what the problem is
I hope someone knows the solution, thanks in advance
Dieter Bercx
|