Skip to content
This repository was archived by the owner on Oct 5, 2024. It is now read-only.
This repository was archived by the owner on Oct 5, 2024. It is now read-only.

libgamma_error.LibgammaError: LIBGAMMA_GAMMA_RAMP_WRITE_FAILED #21

@max-te

Description

@max-te

Since updating my system yesterday (including updating xorg-* to 1.20), blueshift does not start for me, but crashes with this output:

$ blueshift -c /usr/share/doc/blueshift/examples/bedtime
Traceback (most recent call last):
  File "/usr/bin/blueshift/__main__.py", line 467, in continuous_run
  File "/usr/bin/blueshift/__main__.py", line 360, in p
  File "/usr/share/doc/blueshift/examples/bedtime", line 287, in periodically
    apply_curves()
  File "/usr/bin/blueshift/monitor.py", line 147, in randr
  File "/usr/bin/blueshift/monitor.py", line 80, in set_gamma
  File "/usr/lib/python3.6/libgamma_method.py", line 1116, in set_gamma
    raise create_error(r)
libgamma_error.LibgammaError: LIBGAMMA_GAMMA_RAMP_WRITE_FAILED

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/bin/blueshift/__main__.py", line 742, in <module>
  File "/usr/bin/blueshift/__main__.py", line 546, in continuous_run
  File "/usr/share/doc/blueshift/examples/bedtime", line 310, in reset
    apply_curves()
  File "/usr/bin/blueshift/monitor.py", line 147, in randr
  File "/usr/bin/blueshift/monitor.py", line 80, in set_gamma
  File "/usr/lib/python3.6/libgamma_method.py", line 1116, in set_gamma
    raise create_error(r)
libgamma_error.LibgammaError: LIBGAMMA_GAMMA_RAMP_WRITE_FAILED
Exception ignored in: <bound method Site.__del__ of <libgamma_method.Site object at 0x7f6e9ad14fd0>>
Traceback (most recent call last):
  File "/usr/lib/python3.6/libgamma_method.py", line 947, in __del__
ImportError: sys.meta_path is None, Python is likely shutting down
Exception ignored in: <bound method Partition.__del__ of <libgamma_method.Partition object at 0x7f6e9ac7d3c8>>
Traceback (most recent call last):
  File "/usr/lib/python3.6/libgamma_method.py", line 1000, in __del__
ImportError: sys.meta_path is None, Python is likely shutting down
Exception ignored in: <bound method CRTC.__del__ of <libgamma_method.CRTC object at 0x7f6e9ac7d470>>
Traceback (most recent call last):
  File "/usr/lib/python3.6/libgamma_method.py", line 1046, in __del__
ImportError: sys.meta_path is None, Python is likely shutting down

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions