Hello Vitalije,

Am Montag, 30. Dezember 2019 22:03:56 UTC+1 schrieb vitalije:
>
> This is the remaining question I'd really would like to get an explanation.
>>
>
> Most likely Tkinter is used only to ask user for leo-id if there is no one 
> to be found. It is located in the ~/.leo folder. When you restore your 
> folder, Leo knwos your leo-id and doesn't need to ask you so there is no 
> need for Tkinter.
>
> Try adding an empty ~/.leo folder and put the `.leoID.txt` file inside, 
> and in this file just write your login name.
>

You were right with your assumption. - I tried it both with Leo 6.1-final 
as well as 6.2-b1-devel - and - it works as you suspected.

In both cases it does throw a type error related to ...\spellCommands.py - 
but - it does open the workbook.leo outline.

Thanks a lot for your explanation!

With kind regards,

Viktor

PS: Just for the record - Here's the startup log for Leo 6.2-b1-devel:

Leo Log Window
Leo 6.2-b1-devel
Python 3.7.6, PyQt version 5.12.6
Windows 10 AMD64 (build 10.0.18362) SP0
current dir: C:/Users/Viktor/pyve/github/Leo-devel
load dir: C:/users/viktor/pyve/github/leo-devel/devel/leo-editor-devel/leo/
core
global config dir: C:/users/viktor/pyve/github/leo-devel/devel/leo-editor-
devel/leo/config
home dir: C:/Users/Viktor
reading settings in C:/users/viktor/pyve/github/leo-devel/devel/leo-editor-
devel/leo/config/leoSettings.leo
Do spellpyx.txt file found
unexpected error creating: None
Traceback (most recent call last):

  File 
"c:\users\viktor\pyve\github\leo-devel\devel\leo-editor-devel\leo\commands\spellCommands.py"
, line 62, in create
    f = open(fn, mode='wb')

TypeError: expected str, bytes or os.PathLike object, not NoneType

reading settings in C:/users/viktor/pyve/github/leo-devel/devel/leo-editor-
devel/leo/doc/CheatSheet.leo




-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/0214f56c-76bf-4c44-a55e-cddb740333ca%40googlegroups.com.

Reply via email to