phillipberndt / autorandr

Auto-detect the connected display hardware and load the appropriate X11 setup using xrandr
2.51k stars 124 forks source link

Unhandled exception (local variable 'output' referenced before assignment) #367

Closed multiplie-fr closed 9 months ago

multiplie-fr commented 1 year ago

Unhandled exception (local variable 'output' referenced before assignment). Please report this as a bug at https://github.com/phillipberndt/autorandr/issues. Traceback (most recent call last): File "/usr/local/bin/autorandr", line 8, in sys.exit(exception_handled_main()) File "/usr/local/lib/python3.9/dist-packages/autorandr.py", line 1686, in exception_handled_main main(sys.argv) File "/usr/local/lib/python3.9/dist-packages/autorandr.py", line 1564, in main detected_profiles = find_profiles(config, profiles) File "/usr/local/lib/python3.9/dist-packages/autorandr.py", line 769, in find_profiles closeness = max(match_asterisk(output.edid, current_config[name].edid), match_asterisk( UnboundLocalError: local variable 'output' referenced before assignment

multiplie-fr commented 1 year ago

--save works but when I try to load or just type autorandr I get that message.