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
Hello when i run my program from the prompt it works fine but when I compile and run it I get the error below. Can you shed some light on this? Thanks
Say something!
Exception in Tkinter callback
Traceback (most recent call last):
File "tkinter_init_.py", line 1550, in call
File "pygui\main.py", line 58, in combined_func
File "pygui\main.py", line 43, in main
File "pygui\listen.py", line 12, in tts
File "site-packages\pyvona.py", line 150, in speak
TypeError: Unrecognized argument (type SpooledTemporaryFile)
The text was updated successfully, but these errors were encountered:
When i run from cmd " python main.py" it works perfectly. But when i create an exe with "pyinstaller --onefile main.py " I get the main.exe and when i try to run it i get the error above. Thanks for this great module too.
It looks to me like pyinstaller is not properly bundling TCL into the "compiled" package. This is a known issue: pyinstaller/pyinstaller#1957. People seem to report that downgrading to pyinstaller 3.1 fixed the issue for them, so I would try that and see how it goes. I'm going to close this issue, but feel free to comment on it again if you've got more questions.
Hello when i run my program from the prompt it works fine but when I compile and run it I get the error below. Can you shed some light on this? Thanks
Say something!
Exception in Tkinter callback
Traceback (most recent call last):
File "tkinter_init_.py", line 1550, in call
File "pygui\main.py", line 58, in combined_func
File "pygui\main.py", line 43, in main
File "pygui\listen.py", line 12, in tts
File "site-packages\pyvona.py", line 150, in speak
TypeError: Unrecognized argument (type SpooledTemporaryFile)
The text was updated successfully, but these errors were encountered: