On Tue, Oct 13, 2015 at 9:23 PM, gbed1952 <[email protected]> wrote:
>
> I was never able to get Leo to work from the Idle console. What finally
> worked for me was a modification of a suggestion on the Running Leo page.
> I created a .bat file containing two commands:
>
> cd c://python34
> python launchLeo.py
>
> I put a shortcut to this bat file on my Desktop and that works. Note that
> the Running Leo page says launchLeo.py on the second line should have "%*"
> at the end. With "%* the .bat file didn't work. On a hunch, but without
> really understanding what I was doing, I tried removing it, then everything
> worked fine.
>
Interesting. I get the following in a console with %* or "%*" at the end:
c:\leo.repo\leo-editor>c:\python27\python.exe launchLeo.py "%*"
leoID=ekr (in c:\Users\edreamleo\.leo)
reading settings in C:\leo.repo\leo-editor\leo\config\leoSettings.leo
reading settings in c:\Users\edreamleo\.leo\myLeoSettings.leo
Traceback (most recent call last):
File "launchLeo.py", line 8, in <module>
leo.core.runLeo.run()
File "c:\leo.repo\leo-editor\leo\core\runLeo.py", line 63, in run
g.app.loadManager.load(fileName, pymacs)
File "c:\leo.repo\leo-editor\leo\core\leoApp.py", line 2724, in load
ok = lm.doPostPluginsInit()
File "c:\leo.repo\leo-editor\leo\core\leoApp.py", line 3058, in
doPostPluginsInit
c = lm.loadLocalFile(fn, gui=g.app.gui, old_c=None)
File "c:\leo.repo\leo-editor\leo\core\leoApp.py", line 3287, in
loadLocalFile
c = lm.openFileByName(fn, gui, old_c, previousSettings)
File "c:\leo.repo\leo-editor\leo\core\leoApp.py", line 3311, in
openFileByName
previousSettings=previousSettings)
File "c:\leo.repo\leo-editor\leo\core\leoApp.py", line 1857, in
newCommander
return leoCommands.Commands(fileName, relativeFileName, gui,
previousSettings)
File "c:\leo.repo\leo-editor\leo\core\leoCommands.py", line 58, in
__init__
c.initObjects(self.gui)
File "c:\leo.repo\leo-editor\leo\core\leoCommands.py", line 311, in
initObjects
self.cacher.initFileDB(self.mFileName)
File "c:\leo.repo\leo-editor\leo\core\leoCache.py", line 67, in initFileDB
self.db = PickleShareDB(dbdirname)
File "c:\leo.repo\leo-editor\leo\core\leoCache.py", line 396, in __init__
self._makedirs(self.root)
File "c:\leo.repo\leo-editor\leo\core\leoCache.py", line 489, in _makedirs
os.makedirs(fn, mode)
File "c:\python27\lib\os.py", line 157, in makedirs
mkdir(name, mode)
WindowsError: [Error 123] The filename, directory name, or volume label
syntax is incorrect:
u'c:\\Users\\edreamleo\\.leo\\db\\%*_d730a4b1be818c4bfbba
65d9e7a65788'
I am having trouble tracking down a reference for %*. Clearly, something
is wrong. I'll look into this.
Edward
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.