Python Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPython Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old February 8th, 2004, 11:34 AM
Cuboidz Cuboidz is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 11 Cuboidz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unhappy 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

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPython Programming > eric3 QT python editor exception...


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway