On Fri, 17 Feb 2012 05:51:06 -0800 (PST)
"Edward K. Ream" <[email protected]> wrote:
> **Important**: the code on the trunk should be functionally identical
> to the previous rev. The transition to the new_config code base has
> *not* been made.
I set new_config, new_load, and new_modes True and got
Traceback (most recent call last):
File "/home/tbrown/Package/leo/bzr/leo.repo/trunk/launchLeo.py", line 8, in
<module>
leo.core.runLeo.run()
File
"/mnt/usr1/usr1/home/tbrown/Package/leo/bzr/leo.repo/trunk/leo/core/runLeo.py",
line 118, in run
files,options = doPrePluginsInit(fileName,pymacs)
File
"/mnt/usr1/usr1/home/tbrown/Package/leo/bzr/leo.repo/trunk/leo/core/runLeo.py",
line 147, in doPrePluginsInit
options = scanOptions()
File
"/mnt/usr1/usr1/home/tbrown/Package/leo/bzr/leo.repo/trunk/leo/core/runLeo.py",
line 332, in scanOptions
parser = optparse.OptionParser()
NameError: global name 'optparse' is not defined
With new_load False, the above went away, but the load was messed up, I
start Leo with four .leo files, I ended up with two tabs for each one,
one with content and one without, and no menus etc.
Perhaps you can't use new_config without new_load? Which has the
optparse issue.
I've reverted to the trunk version with all those things False,
everything appears normal.
Cheers -Terry
--
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.