You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
randrctl stopped working after Python 3.10 upgrade:
# randrctl auto
Traceback (most recent call last):
File "/usr/sbin/randrctl", line 10, in <module>
sys.exit(main())
File "/usr/lib/python3.10/site-packages/randrctl/cli.py", line 311, in main
return cmd(randrctl, args)
File "/usr/lib/python3.10/site-packages/randrctl/cli.py", line 181, in cmd_auto
randrctl.switch_auto()
File "/usr/lib/python3.10/site-packages/randrctl/ctl.py", line 77, in switch_auto
profiles = self.profile_manager.read_all()
File "/usr/lib/python3.10/site-packages/randrctl/profile.py", line 32, in read_all
profiles.append(self.read_file(profile_file))
File "/usr/lib/python3.10/site-packages/randrctl/profile.py", line 63, in read_file
if v.get('mode'):
AttributeError: 'str' object has no attribute 'get'
This is the line in question. While I know the project is on pause, this is a question that needs to be asked. Is there a possibility for a fix or is randrctl finished?
The text was updated successfully, but these errors were encountered:
Oh, I see now. It's related with my testing in #32 and it happens if pos or panning field values are not quoted, but interestingly, the same doesn't hold true for the similar scale field. I've done a randrctl dump with the new Python version and reformatted profiles accordingly - it works now and closes this. Sorry for wasting your time.
randrctl
stopped working after Python 3.10 upgrade:This is the line in question. While I know the project is on pause, this is a question that needs to be asked. Is there a possibility for a fix or is
randrctl
finished?The text was updated successfully, but these errors were encountered: