On Tue, Mar 2, 2010 at 4:01 PM, Ville M. Vainio <[email protected]> wrote:
> Added the diaper. Now, even badly behaving plugins (with
> exception-raising hooks) can't screw up other plugins. The error is
> also very loud, so mistakes like this won't go unnoticed.
When loading test.leo with the Tk gui enabled, I get this on rev 3023:
Traceback (most recent call last):
File "c:\leo.repo\trunk\leo\core\leoGlobals.py", line 5624, in importModule
module = imp.load_module(moduleName,theFile,pathname,description)
File "C:\leo.repo\trunk\leo\extensions\Pmw\__init__.py", line 30, in <module>
_instdirs.sort()
AttributeError: 'filter' object has no attribute 'sort'
exception importing plugin leo.plugins.contextmenu
Traceback (most recent call last):
File "c:\leo.repo\trunk\leo\core\leoPlugins.py", line 447, in loadOnePlugin
toplevel = __import__(moduleName)
File "c:\leo.repo\trunk\leo\plugins\contextmenu.py", line 58, in <module>
g.assertUi('qt')
File "c:\leo.repo\trunk\leo\core\leoGlobals.py", line 5863, in assertUi
if not g.app.gui.guiName() == uitype:
AttributeError: 'NoneType' object has no attribute 'guiName'
It appears that the initial error is in Pmw.
Any idea what new change has caused this?
Edward
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/leo-editor?hl=en.