leo from devel fail to start on windows

32 views
Skip to first unread message

gar

unread,
Oct 1, 2019, 12:18:20 AM10/1/19
to leo-editor
python launchLeo.py --no-dock

--global-docks: False

duplicate, (not conflicting) key bindings in myLeoSettings.leo
  tree Tab focus-to-body
   all Tab indent-region
  text Tab newline-and-indent
Leo 6.1-devel, devel branch, build 4e9d54b82e
2019-09-30 17:09:04 -0500
leo_excepthook Uncaught Python exception: [WinError 3] The system cannot find the path specified: 'D:/bin/chocolatey/lib/python3/tools/lib/site-packages/leo/scripts/scripts.leo'

NoneType: None


E:\git\leo-editor>python --version
Python 3.7.4


CLI args are sufficient.
This can definitely be caused by python version upgrade (seems like that path points to old python's path) - but got no idea how.
Leo installed with PIP works fine.
Version from git launched ok before I pulled the changes.

Brian Theado

unread,
Oct 1, 2019, 6:57:15 AM10/1/19
to leo-editor
Try looking in your %HOME%/.leo/db directory (or whatever it is on windows). See if there is a file with scripts.leo in its name. If so, then move the db directory to db.bak and try starting leo again. I encountered a similar issue the other day and I didn't realize it might be due to new leo code.

I'm not clear on the nature of the files in the db directory. Maybe someone else can explain.

--
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 leo-editor+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/6ea068e0-1e25-4192-b546-5cf4ceb4b479%40googlegroups.com.

gar

unread,
Oct 1, 2019, 8:45:41 AM10/1/19
to leo-e...@googlegroups.com
Nothing with name "script*" in .leo/ except scriptFile.py.
Renaming db/ helped, but all settings (like layouts) gone away.
What a pity.

Something's wrong in .leo\db\g_app_db. Removing it lets leo to start, but layouts are lost.

вт, 1 окт. 2019 г. в 13:57, Brian Theado <brian....@gmail.com>:

Edward K. Ream

unread,
Oct 1, 2019, 9:25:26 AM10/1/19
to leo-editor
On Tue, Oct 1, 2019 at 7:45 AM gar <gar...@gmail.com> wrote:


Something's wrong in .leo\db\g_app_db. Removing it lets leo to start, but layouts are lost.

That's because .leo\db contains the layouts.

Just put the layouts the way you like them.  Saving Leo will restore the layout in .leo\db.

Edward

Matt Wilkie

unread,
Oct 1, 2019, 4:19:18 PM10/1/19
to leo-editor
This happens to me from time to time as well. I haven't figured out what precipitates it. So far `pip uninstall leo && pip install --editable path\to\leo-code` has fixed it.

-matt
Reply all
Reply to author
Forward
0 new messages