You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GUI Version (tkinter (sg.tclversion_detailed), PySide2, WxPython, Remi)
Unknown
Your Experience In Months or Years (optional)
Python programming experience
Programming experience overall
Have used another Python GUI Framework? (tkinter, Qt, etc) (yes/no is fine)
This project and the users!
Troubleshooting
These items may solve your problem. Please check those you've done by changing - [ ] to - [X]
Looked for Demo Programs that are similar to your goal Demos.PySimpleGUI.org
If not tkinter - looked for Demo Programs for specific port
For non tkinter - Looked at readme for your specific port if not PySimpleGUI (Qt, WX, Remi)
Run your program outside of your debugger (from a command line)
Searched through Issues (open and closed) to see if already reported Issues.PySimpleGUI.org
Tried using the PySimpleGUI.py file on GitHub. Your problem may have already been fixed but not released
Detailed Description
One of my projects uses PySimpleGUI as a backend and during your recent release of v5.0.0 a few days ago our pipeline broke. Error looks inscrutable to me but we aren't using anything in a fancy way. Similar error on python 3.7, 3.9, and 3.12:
============================= test session starts ==============================
platform linux -- Python 3.7.17, pytest-7.4.4, pluggy-1.2.0
rootdir: /home/runner/work/sigmf-python/sigmf-python
configfile: pyproject.toml
plugins: hypothesis-6.79.4, cov-4.1.0
collected 41 items / 1 error
==================================== ERRORS ====================================
______________________ ERROR collecting sigmf/apps/gui.py ______________________
sigmf/apps/gui.py:11: in<module>
from PySimpleGUI import *
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/PySimpleGUI/__init__.py:1: in<module>
from .PySimpleGUI import *
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/PySimpleGUI/PySimpleGUI.py:25954: in<module>
exec(exec(marshal.loads(base64.b64decode(...incredibly long bit omitted...)
obf_Cleaned_PySimpleGUI50_source.py:1423: in<module>???
obf_Cleaned_PySimpleGUI50_source.py:1163: in __3I645HSK
???
obf_Cleaned_PySimpleGUI50_source.py:262: in __CUrwMBp
???
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/PySimpleGUI/PySimpleGUI.py:9903: in __init__
self.Finalize()
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/PySimpleGUI/PySimpleGUI.py:10609: in finalize
self.Read(timeout=1)
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/PySimpleGUI/PySimpleGUI.py:10374: inread
results = self._read(timeout=timeout, timeout_key=timeout_key)
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/PySimpleGUI/PySimpleGUI.py:10452: in _read
self._Show()
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/PySimpleGUI/PySimpleGUI.py:10185: in _Show
StartupTK(self)
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/PySimpleGUI/PySimpleGUI.py:17394: in StartupTK
_get_hidden_master_root()
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/PySimpleGUI/PySimpleGUI.py:17334: in _get_hidden_master_root
Window.hidden_master_root = tk.Tk()
/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/tkinter/__init__.py:2023: in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
E _tkinter.TclError: no display name and no $DISPLAY environment variable
-- generated xml file: /home/runner/work/sigmf-python/sigmf-python/pytest.xml --
=========================== short test summary info ============================
ERROR sigmf/apps/gui.py - _tkinter.TclError: no display name and no $DISPLAY environment variable
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 3.55s ===============================
Feel free to close if this is unhelpful; I did search for similar errors but didn't find anything. For now I'm pinning to <5.0.0.
Code To Duplicate
None
Screenshot, Sketch, or Drawing
The text was updated successfully, but these errors were encountered:
Type of Issue (Enhancement, Error, Bug, Question)
Question
Environment
Operating System
Linux
PySimpleGUI Port (tkinter, Qt, Wx, Web)
tkinter
Versions
Python version (
sg.sys.version
)3.7.17 (3.7, 3.9, 3.12)
PySimpleGUI Version (
sg.__version__
)V5.0.0
GUI Version (tkinter (
sg.tclversion_detailed
), PySide2, WxPython, Remi)Unknown
Your Experience In Months or Years (optional)
Python programming experience
Programming experience overall
Have used another Python GUI Framework? (tkinter, Qt, etc) (yes/no is fine)
This project and the users!
Troubleshooting
These items may solve your problem. Please check those you've done by changing - [ ] to - [X]
Detailed Description
One of my projects uses PySimpleGUI as a backend and during your recent release of v5.0.0 a few days ago our pipeline broke. Error looks inscrutable to me but we aren't using anything in a fancy way. Similar error on python 3.7, 3.9, and 3.12:
Feel free to close if this is unhelpful; I did search for similar errors but didn't find anything. For now I'm pinning to
<5.0.0
.Code To Duplicate
None
Screenshot, Sketch, or Drawing
The text was updated successfully, but these errors were encountered: