A recent revision has broken my
<ctrl-b> (execute script)
and <alt-x> debug
It seems to result from this change
=== modified file 'leo/core/leoCommands.py'
--- leo/core/leoCommands.py 2008-10-18 16:38:52 +0000
+++ leo/core/leoCommands.py 2008-11-05 16:49:46 +0000
@@ -1716,12 +1716,12 @@
path = c.config.getString('script_file_path')
if path:
parts = path.split('/')
- path = g.app.loadDir
+ path = g.app.homeLeoDir
for part in parts:
path = c.os_path_finalize_join(path,part)
else:
path = c.os_path_finalize_join(
- g.app.loadDir,'..','test','scriptFile.py')
+ g.app.homeLeoDir,'scriptFile.py')
# Write the file.
try:
I get the following from <ctrl-b>
exception executing script
Traceback (most recent call last):
File "/home/ktenney/src/leo-editor/leo/core/leoCommands.py", line
1675, in executeScript
execfile(scriptFile,d)
TypeError: execfile() argument 1 must be string, not None
--------------------
line 1674: scriptFile = self.writeScriptFile(script)
* line 1675: execfile(scriptFile,d)
line 1676: else:
line 1677: exec(script,d)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---