[regression] -o does not work in ad-hoc mode
Closed this issue · 0 comments
maandree commented
$ blueshift -p -o 0 -t 6500
Traceback (most recent call last):
File "/usr/lib/python3.4/runpy.py", line 170, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.4/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/bin/blueshift/__main__.py", line 664, in <module>
File "/usr/bin/blueshift/adhoc.py", line 168, in <module>
File "/usr/bin/blueshift/adhoc.py", line 132, in apply
File "/usr/bin/blueshift/adhoc.py", line 102, in <lambda>
File "/usr/bin/blueshift/monitor.py", line 147, in randr
File "/usr/bin/blueshift/monitor.py", line 73, in set_gamma
File "/usr/bin/blueshift/libgammaman.py", line 106, in get_crtc
File "/usr/lib/python3.4/libgamma_method.py", line 1035, in __init__
(self._state, n) = libgamma_native_crtc_create(partition._state, crtc)
File "libgamma_native_facade.pyx", line 1031, in libgamma_native_facade.libgamma_native_crtc_create (obj/libgamma_native_facade.c:3164)
TypeError: an integer is required
Exception ignored in: <bound method CRTC.__del__ of <libgamma_method.CRTC object at 0x7fc4f04caa58>>
Traceback (most recent call last):
File "/usr/lib/python3.4/libgamma_method.py", line 1047, in __del__
if not self._state == 0:
AttributeError: 'CRTC' object has no attribute '_state'
Exception ignored in: <bound method Site.__del__ of <libgamma_method.Site object at 0x7fc4f04ca940>>
Traceback (most recent call last):
File "/usr/lib/python3.4/libgamma_method.py", line 947, in __del__
File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
File "<frozen importlib._bootstrap>", line 2222, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 2155, in _find_spec
TypeError: 'NoneType' object is not iterable
Exception ignored in: <bound method Partition.__del__ of <libgamma_method.Partition object at 0x7fc4f04cad68>>
Traceback (most recent call last):
File "/usr/lib/python3.4/libgamma_method.py", line 1000, in __del__
File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
File "<frozen importlib._bootstrap>", line 2222, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 2155, in _find_spec
TypeError: 'NoneType' object is not iterable