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
i am using pyinstaller with tkinter for my personal application.
this code is works fine for manually, means when i run this program using command its work succefull, and as code this take snap of screen after 10 sec. but problem is when i create exe file using pyinsteller and run it gui is shown ok but after 10 seconds its open another same windows and in terminal shows error like below
Exception in Tkinter callback
Traceback (most recent call last):
File "tkinter_init_.py", line 1705, in call
File "timer.py", line 59, in start
File "timer.py", line 63, in start_timer
File "timer.py", line 106, in timer
File "site-packages\pyscreenshot_init_.py", line 43, in grab
File "site-packages\pyscreenshot_init_.py", line 29, in grab
File "site-packages\pyscreenshot\childproc.py", line 34, in childprocess_grab
File "site-packages\pyscreenshot\childproc.py", line 56, in childprocess_grab_popen
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\sunil\AppData\Local\Temp\pyscreenshotzbp2dj1\screenshot.png'
please help me on this issue.
thank you 👍
The text was updated successfully, but these errors were encountered:
3developer3i
changed the title
Pyinstaller.grab() shows error
pyscreenshot.grab() shows error
Apr 2, 2020
i am using pyinstaller with tkinter for my personal application.
this code is works fine for manually, means when i run this program using command its work succefull, and as code this take snap of screen after 10 sec. but problem is when i create exe file using pyinsteller and run it gui is shown ok but after 10 seconds its open another same windows and in terminal shows error like below
Exception in Tkinter callback
Traceback (most recent call last):
File "tkinter_init_.py", line 1705, in call
File "timer.py", line 59, in start
File "timer.py", line 63, in start_timer
File "timer.py", line 106, in timer
File "site-packages\pyscreenshot_init_.py", line 43, in grab
File "site-packages\pyscreenshot_init_.py", line 29, in grab
File "site-packages\pyscreenshot\childproc.py", line 34, in childprocess_grab
File "site-packages\pyscreenshot\childproc.py", line 56, in childprocess_grab_popen
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\sunil\AppData\Local\Temp\pyscreenshotzbp2dj1\screenshot.png'
please help me on this issue.
thank you 👍
The text was updated successfully, but these errors were encountered: