-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
Ran tests on Manjaro Linux, and after doing a force reinstall of PyMonCtl. Reason is I was testing the newest version of OBS Zoom and Follow script, which was giving an error ModuleNotFoundError: No module named 'pymonctl' in OBS. But I see that PyMonCtl is indeed running. So I decided to run the test script for PyMonCtl with python test_pymonctl.py.
I do see it going through the various changes on each monitor. At some point, though, it mirrored my monitor 2 to the display on monitor 3. When it exits the test run, it ended with this output below, but had lost the original config of my monitor order, and monitor 2 was off and no longer recognised by the OS (I imagine it will restore after a reboot):
IS ATTACHED?: True
DETACH
IS ATTACHED?: False
ATTACH
IS ATTACHED?: True
NAME DP-4
HANDLE/ID: 475
IS PRIMARY: False
SIZE: None
POSITION: None
Traceback (most recent call last):
File "/home/danie/Downloads/OBS Studio/PyMonCtl-master/tests/test_pymonctl.py", line 38, in <module>
print("FREQUENCY:", monitor.frequency)
File "/home/danie/.pyenv/versions/3.10.11/lib/python3.10/site-packages/pymonctl/_pymonctl_linux.py", line 366, in frequency
crtcInfo = randr.get_crtc_info(display, outputInfo.crtc, res.config_timestamp)
File "/home/danie/.pyenv/versions/3.10.11/lib/python3.10/site-packages/Xlib/ext/randr.py", line 758, in get_crtc_info
return GetCrtcInfo (
File "/home/danie/.pyenv/versions/3.10.11/lib/python3.10/site-packages/Xlib/protocol/rq.py", line 1368, in __init__
self.reply()
File "/home/danie/.pyenv/versions/3.10.11/lib/python3.10/site-packages/Xlib/protocol/rq.py", line 1388, in reply
raise self._error
Xlib.error.XError: <class 'Xlib.error.XError'>: code = 148, resource_id = 0, sequence_number = 307, major_opcode = 140, minor_opcode = 20
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed