#๐Ÿ”’ .exe created with pyinstaller does not run as expected.

7 messages ยท Page 1 of 1 (latest)

subtle hull
#

I have written my code in VSCode. I have ran the program through VSCode and it wokrked. I have debugged and am happy with the program. I created an exe file with PyInstaller and used noconsole. I am running the code and testing. 3 out of my 5 functions do not work. I tested them again using VSCode and Python shell and it worked.
I used tkinter for the GUI. I use sqlite3 for the database. Fernet for encryption.
I have a function to Add to database. To show all data found in one colum. Function that searches rows, updates, or deletes do not work in exe. But they worked when testing.

wispy perchBOT
#

@subtle hull

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

inner forge
#

will need to know the error log to give any advise

quaint fog
subtle hull
#

There should be no error log. Written in vscode. ran program using vscode and i was having no errors. I would be a tkiner program. Tho when the exe was first created the command line was oppening first, then the gui. So I used --nosole when creating the exe

wispy perchBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.