bitrate16 / httprd

Single-script remote desktop via web browser
GNU General Public License v3.0
73 stars 7 forks source link

Windows OSError: screen grab failed #1

Open peratik opened 1 year ago

peratik commented 1 year ago

Hi,

OS Windows Server 2019 Standard Python 3.11.5

Error:

Traceback (most recent call last):
  File "C:\Users\Administrator\Desktop\httprd\httprd.py", line 274, in async_worker
    image = PIL.ImageGrab.grab()
            ^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Administrator\Desktop\httprd\env\Lib\site-packages\PIL\ImageGrab.py", line 47, in grab
    offset, size, data = Image.core.grabscreen_win32(
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: screen grab failed

Please advise.

bitrate16 commented 1 year ago

@peratik May be related to https://stackoverflow.com/a/61151739