PySimpleGUI / PySimpleGUI

Python GUIs for Humans! PySimpleGUI is the top-rated Python application development environment. Launched in 2018 and actively developed, maintained, and supported in 2024. Transforms tkinter, Qt, WxPython, and Remi into a simple, intuitive, and fun experience for both hobbyists and expert users.

Home Page:https://www.PySimpleGUI.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Question] PSG5 License Key Validation Failed

frici11 opened this issue · comments

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

Question


Environment

Operating System

Windows version ('10', '10.0.19041', 'SP0', 'Multiprocessor Free')

PySimpleGUI Port (tkinter, Qt, Wx, Web)

tkinter


Versions

Python version (sg.sys.version)

3.9.0 (tags/v3.9.0:9cf6752, Oct 5 2020, 15:34:40) [MSC v.1927 64 bit (AMD64)]

PySimpleGUI Version (sg.__version__)

4.61.0.189

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

8.6.9


Your Experience In Months or Years (optional)

Years Python programming experience
Years Programming experience overall
No Have used another Python GUI Framework? (tkinter, Qt, etc) (yes/no is fine)


Troubleshooting

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

  • Searched main docs for your problem www.PySimpleGUI.org
  • Looked for Demo Programs that are similar to your goal. It is recommend you use the Demo Browser! 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
  • Upgraded to the latest official release of PySimpleGUI on PyPI
  • Tried using the PySimpleGUI.py file on GitHub. Your problem may have already been fixed but not released

Detailed Description

I have upgraded to the new PSG5 and signed up on the webpage.
There I have received a license key and tried to use it to run a program of mine with the line PySimpleGUI_License = "...".
I got an error message (License Key Validation Failed) in a popup window where don't know how to step forward. There is an "Install" button which is inactive.

Can I repeat the sign-up process? Or can you give any suggestion?
Thank you!

Code To Duplicate

# Paste your code here

Screenshot, Sketch, or Drawing

Upgrade: It does work now, but:
1.) only with the trial version AND using the license key in the source code
2.) when I write "PySimpleGUI_license = ..." with lowercase "l". At first I have written "PySimpleGUI_License" with capital letter "L" because I 've read this info somewhere...

Ah, you're using a "Distribution Key", not a developer key, if you are adding it to your code. There are 2 keys and different ways of entering them. Thank you for the information. I'll add clarification to the documenation.

To add your key:

  • Run psgmain or call sg.main
  • Open the License Key tab
  • Paste your license key into the box
  • Click the Install button

image