Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] PSG5 License Key Validation Failed #6682

Closed
1 of 8 tasks
frici11 opened this issue Feb 17, 2024 · 12 comments
Closed
1 of 8 tasks

[Question] PSG5 License Key Validation Failed #6682

frici11 opened this issue Feb 17, 2024 · 12 comments
Labels
Done - Install Dev Build (see docs for how) See https://docs.pysimplegui.com/en/latest/documentation/installing_licensing/upgrading/ PySimpleGUI 5 PySimpleGUI 5

Comments

@frici11
Copy link

frici11 commented Feb 17, 2024

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

@frici11
Copy link
Author

frici11 commented Feb 17, 2024

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...

@PySimpleGUI
Copy link
Owner

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.

@frici11
Copy link
Author

frici11 commented Feb 18, 2024 via email

@PySimpleGUI
Copy link
Owner

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

@frici11
Copy link
Author

frici11 commented Feb 18, 2024 via email

@PySimpleGUI
Copy link
Owner

Can you try following these steps?

psgmain.registration.mp4

@PySimpleGUI PySimpleGUI added the PySimpleGUI 5 PySimpleGUI 5 label Feb 22, 2024
@frici11
Copy link
Author

frici11 commented Feb 22, 2024 via email

@PySimpleGUI
Copy link
Owner

Can you please forward the email you received when registering to license@PySimpleGUI.com?

I'm very very grateful for your patience!
image

@PySimpleGUI
Copy link
Owner

Can you try upgrading to the Development Build 5.0.2.9 using psgmain or psghome (or psgupgrade will do it too)? I've added a fix that should get past this problem. I'll get a fix to PyPI as soon as possible after I confirm that the 2 or 3 of you with a problem are up and running and that this fix I've added is the right long-term solution.

@PySimpleGUI PySimpleGUI added the Done - Install Dev Build (see docs for how) See https://docs.pysimplegui.com/en/latest/documentation/installing_licensing/upgrading/ label Feb 29, 2024
@frici11
Copy link
Author

frici11 commented Feb 29, 2024 via email

@PySimpleGUI
Copy link
Owner

image

Awesome!

Thank you for being very patient. I'm also happy to have found a resolution! We've got a bit more work to do on this and am going to get a release to PyPI right away.

I appreciate you getting back to us as well as posting instructions for others that upgrade and get this fix.

@PySimpleGUI
Copy link
Owner

Fix for this license key problem is in 5.0.3 on PyPI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Done - Install Dev Build (see docs for how) See https://docs.pysimplegui.com/en/latest/documentation/installing_licensing/upgrading/ PySimpleGUI 5 PySimpleGUI 5
Projects
None yet
Development

No branches or pull requests

2 participants