Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Error when activating Zoom & Follow #132

Open
enriquelizalugo opened this issue Sep 17, 2023 · 3 comments
Open

Error when activating Zoom & Follow #132

enriquelizalugo opened this issue Sep 17, 2023 · 3 comments

Comments

@enriquelizalugo
Copy link

Got this exception as soon as I use the hotkey assigned to activate zoom & Follow:

[zoom_and_follow_mouse.py] {'monitor_id': '\\?\DISPLAY#SAM0D1A#5&3245783f&0&UID28933#{e6f07b5f-ee97-4a90-b076-33f57bf4eaa7}', 'force_sdr': False, 'capture_cursor': True, 'method': 1}
[zoom_and_follow_mouse.py] Traceback (most recent call last):
[zoom_and_follow_mouse.py] File "Insert Python path here\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 "Insert Python path here\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'

I'm currently using Python 3.6, trying to zoom on a 1920x1080 monitor.

Am I doing something wrong?

@tryptech
Copy link
Owner

  1. The code will break at some other point when you aren't using at least Python 3.10
  2. I need other details:
    • what version of the script
    • what version of OBS
    • what OS/version are you on

@enriquelizalugo
Copy link
Author

enriquelizalugo commented Sep 17, 2023

Thanks for the quick response.

  1. I'm using the script's latest version (I downloaded it today)
  2. I'm using OBS 29.1.3
  3. I'm using Windows 10

I'll try installing Python 3.10 to see if it changes anything.

Once again, thanks.

@Spyco7
Copy link

Spyco7 commented Sep 20, 2023

Hello, i have the exact same problem as soon as I use the hotkey assigned to activate.
script's latest version / OBS 29.1.3 / Windows 11 / 2560x1440 monitor

And once the error has been displayed, I have several navigating problems in windows (some keys that don't respond properly, the screen capture function no longer works, I have to restart...).
I'm reinstalling my OBS because I've just formatted my computer, so my windows is clean.

Thank you for helping.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants