DeltaE / delta-e-utils

This repo hosts Delta-E utility functions
https://delta-e.readthedocs.io
MIT License
0 stars 1 forks source link

GUI Display on Windows #24

Open trevorb1 opened 1 year ago

trevorb1 commented 1 year ago

Running on Linux, a user may run into the following issue:

(delta-e-utils) tniet@SRYE-5143-01L:~/repositories/delta-e-utils$ python3 input.py
Traceback (most recent call last):
  File "/home/tniet/repositories/delta-e-utils/input.py", line 482, in <module>
    FormUI()
  File "/home/tniet/repositories/delta-e-utils/input.py", line 144, in __init__
    self.window = tk.Tk()
                  ^^^^^^^
  File "/home/tniet/miniconda3/envs/delta-e-utils/lib/python3.11/tkinter/__init__.py", line 2326, in __init__
    [self.tk](http://self.tk/) = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_tkinter.TclError: no display name and no $DISPLAY environment variable

The solution may be helpful for resolving the issue. It will be okay in instructions to just describe to the user what to install, we just need the steps

harnoors commented 1 year ago

I apologize for any inconvenience caused. Unfortunately, I could not reproduce the reported issue as I am currently operating on a non-Windows platform and do not have access to a Windows machine. However, I am optimistic that the updated executable should effectively address this issue on Windows systems.