When I Ctrl+b a node with this in the body:
import leo.core.leoInspect as inspect
g.es(1)
m = inspect.module('leoEditCommands.py')
g.es(2)
for a in m.assignments_to('w'):
print(a.format())
---- End Body ---
I see this in the Log pane:
1
exception executing script
AttributeError: 'module' object has no attribute 'arg'
--------------------
line 95: a.alias: self.do_alias,
* line 96: a.arg: self.do_arg,
line 97: a.arguments: self.do_arguments,
line 98: a.comprehension: self.do_comprehension,
--- End Log pane ---
This indicates that
import leo.core.leoInspect as inspect
Error terminates.
Test System:
Ubuntu 11.10 with Fluxbox window manager
Leo Log Window
Leo 4.10 b1, build 5148, 2012-03-15 20:27:35
Python 2.7.2, qt version 4.7.3
linux2
setting leoID from os.getenv('USER'): 'bob'
load dir: /home/ldi/bzr/LeoLatest/leo/core
global config dir: /home/ldi/bzr/LeoLatest/leo/config
home dir: /home/bob
reading settings in /home/ldi/bzr/LeoLatest/leo/config/leoSettings.leo
reading settings in /home/bob/.leo/myLeoSettings.leo
reading settings in /home/bob/.leo/workbook.leo
reading: /home/bob/.leo/workbook.leo
--
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.