tryptech / obs-zoom-and-follow

Dynamic zoom and mouse tracking script for OBS Studio
Apache License 2.0
375 stars 62 forks source link

script not working #99

Closed TheGamersCubeNL closed 1 year ago

TheGamersCubeNL commented 1 year ago

error

[zoom_and_follow_mouse.py] {'monitor_id': '\\?\DISPLAY#BNQ78E4#5&396a6378&0&UID4352#{e6f07b5f-ee97-4a90-b076-33f57bf4eaa7}'} [zoom_and_follow_mouse.py] Traceback (most recent call last): [zoom_and_follow_mouse.py] File "D:\OBS PYTHON\zoom_and_follow_mouse.py", line 371, in toggle_zoom [zoom_and_follow_mouse.py] zoom.update_source_size() [zoom_and_follow_mouse.py] File "D:\OBS PYTHON\zoom_and_follow_mouse.py", line 66, in update_source_size [zoom_and_follow_mouse.py] data = loads(data)['monitor'] [zoom_and_follow_mouse.py] KeyError: 'monitor'

SlightlyWilson commented 1 year ago

I'm getting the same Error currently

MikhailSchmalz commented 1 year ago

I am getting this error as well. Running OBS 29.0.2 with portable python 3.6.

hernancasillas commented 1 year ago

Same here

JORGETECH commented 1 year ago

I have the script working with OBS 29.0.2 and Python 3.10.10 under Windows 10 (installed in the system, not portable). I suspect the newer versions of the script are incompatible with Python 3.6.

chuthehuan commented 1 year ago

i use portable python 3.6 with 28.1.2 and it works well. Both display capture and window capture. You should give it a try!

REALtony4twenty commented 1 year ago

me and another user in discord are trying to get the latest version possible for OBS 29. I now have it working. Was getting the same monitor issue but seemed to be fixed when I updated everything when these settings appeared in the script settings

image

tryptech commented 1 year ago

If this is still an issue, please reproduce and resubmit with current working versions of python, OBS, script and dependencies.