PySimpleGUI icon indicating copy to clipboard operation
PySimpleGUI copied to clipboard

[Bug] psgupgrade command - problem with an interpreter specified in PySimpleGUI settings

Open PySimpleGUI opened this issue 4 years ago • 2 comments

Type of Issue (Enhancement, Error, Bug, Question)

Bug


Environment

Operating System

Windows version 10

PySimpleGUI Port (tkinter, Qt, Wx, Web)

tkinter


Versions

Python version (sg.sys.version)

3.9.7 (tags/v3.9.7:1016ef3, Aug 30 2021, 20:19:38) [MSC v.1929 64 bit (AMD64)]

PySimpleGUI Version (sg.__version__)

4.56.0.2

GUI Version (tkinter (sg.tclversion_detailed), PySide2, WxPython, Remi)

8.6.9


Troubleshooting

These items may solve your problem. Please check those you've done by changing - [ ] to - [X]

  • [X] Searched main docs for your problem www.PySimpleGUI.org
  • [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

Noticed that upgrading PySimpleGUI to the github version had trouble when there is a Python interpreter specified in the PySimpleGUI settings. Removing the interpreter caused it towk function correctly.

Code was added a few releases back to handle this specific situation so something about that code isn't quite right.

PySimpleGUI avatar Jan 09 '22 13:01 PySimpleGUI

image

PySimpleGUI avatar Jan 18 '22 12:01 PySimpleGUI