ActiveState Community

Unable to press OK button on project properties (5.2.2)

Posted by sorin on 2009-11-06 13:41

When something goes wrong when saving project properties Komodo does not say a thing but the OK button will to nothing.

Here is the pystderr.log (build 5.2.2)

[2009-11-06 22:30:34,348] [ERROR] prefs: 
-- EXCEPTION START --
+ message (string) 'checkValidInterpreterSetting is not defined'
+ fileName (string) 'chrome://komodo/content/pref/pref-python.js'
+ lineNumber (number) 15
+ stack (string) 389 chars
+ name (string) 'ReferenceError'
*
OnPreferencePageOK([object XPCWrappedNative_NoHelper])@chrome://komodo/content/pref/pref-python.js:15
()@chrome://komodo/content/pref/koPrefWindow.js:192
()@chrome://komodo/content/pref/koPrefWindow.js:243
()@chrome://komodo/content/pref/koPrefWindow.js:269
doOk()@chrome://komodo/content/pref/project.xul:164
oncommand([object XULCommandEvent])@chrome://komodo/content/pref/project.xul:1
-- EXCEPTION END --

[2009-11-06 22:30:35,861] [ERROR] prefs: 
-- EXCEPTION START --
+ message (string) 'checkValidInterpreterSetting is not defined'
+ fileName (string) 'chrome://komodo/content/pref/pref-python.js'
+ lineNumber (number) 15
+ stack (string) 389 chars
+ name (string) 'ReferenceError'
*
OnPreferencePageOK([object XPCWrappedNative_NoHelper])@chrome://komodo/content/pref/pref-python.js:15
()@chrome://komodo/content/pref/koPrefWindow.js:192
()@chrome://komodo/content/pref/koPrefWindow.js:243
()@chrome://komodo/content/pref/koPrefWindow.js:269
doOk()@chrome://komodo/content/pref/project.xul:164
oncommand([object XULCommandEvent])@chrome://komodo/content/pref/project.xul:1
-- EXCEPTION END --

toddw | Fri, 2009-11-06 16:31

You've found a Komodo bug - it looks like the project language preferences are busted, bug logged on this here:
http://bugs.activestate.com/show_bug.cgi?id=85220

Note: You should still be able to modify the other project preferences (as long as you don't load/view the language parts).

Cheers,
Todd