Hello Edward, hello Matt,

I just noticed something interesting/ strange/ weird.

Actually two issues:

First: Leo requires that the tkinter module is configured in the Python 
installation.

(Backgound: I just upgraded to Python 3.7.6 - and - decided to de-select 
everything but pip ...)

Second: I noticed this only, when I started w/o an existing '~/.leo' 
directory.

The traceback I receive is:

(Leo-devel) PS C:\Users\Viktor\pyve\github\Leo-devel> leo-m

--global-docks: False

Traceback (most recent call last):
  File "C:\Users\Viktor\PyVE\GitHub\Leo-devel\Scripts\leo-m-script.py", 
line 11, in <module>
    load_entry_point('leo', 'console_scripts', 'leo-m')()
  File 
"c:\users\viktor\pyve\github\leo-devel\devel\leo-editor-devel\leo\core\runLeo.py",
 
line 73, in run
    g.app.loadManager.load(fileName, pymacs)
  File 
"c:\users\viktor\pyve\github\leo-devel\devel\leo-editor-devel\leo\core\leoApp.py",
 
line 2512, in load
    lm.doPrePluginsInit(fileName, pymacs)
  File 
"c:\users\viktor\pyve\github\leo-devel\devel\leo-editor-devel\leo\core\leoApp.py",
 
line 2691, in doPrePluginsInit
    lm.initApp(verbose)
  File 
"c:\users\viktor\pyve\github\leo-devel\devel\leo-editor-devel\leo\core\leoApp.py",
 
line 2914, in initApp
    g.app.setLeoID(verbose=verbose)
  File 
"c:\users\viktor\pyve\github\leo-devel\devel\leo-editor-devel\leo\core\leoApp.py",
 
line 1157, in setLeoID
    self.setIdFromDialog()
  File 
"c:\users\viktor\pyve\github\leo-devel\devel\leo-editor-devel\leo\core\leoApp.py",
 
line 1244, in setIdFromDialog
    dialog = g.TkIDDialog()
  File 
"c:\users\viktor\pyve\github\leo-devel\devel\leo-editor-devel\leo\core\leoGlobals.py",
 
line 526, in __init__
    super().__init__(self.title, self.message)
  File 
"c:\users\viktor\pyve\github\leo-devel\devel\leo-editor-devel\leo\core\leoGlobals.py",
 
line 446, in __init__
    self.createTopFrame()
  File 
"c:\users\viktor\pyve\github\leo-devel\devel\leo-editor-devel\leo\core\leoGlobals.py",
 
line 538, in createTopFrame
    import tkinter as Tk
ModuleNotFoundError: No module named 'tkinter'
(Leo-devel) PS C:\Users\Viktor\pyve\github\Leo-devel>

As soon as I re-use my previously saved '~/.leo' directory, the 
ModuleFoundError disappears ...

Can you please explain 

* why the module 'tkinter' is required, although PyQt is used as the GUI 
framework - and - 

* secondly, why the problem goes away, if I'm using "old/ saved" '~/.leo' 
content ...

With kind regards,

Viktor

-- 
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/8a779c7d-b3df-442a-addf-428adb773a79%40googlegroups.com.

Reply via email to