Open theswampire opened 2 years ago
Same issue on Archlinux. Was installed and working previously. Broke after upgrading packages at some point.
[xxx@arch ~]$ umonitor -a
Traceback (most recent call last):
File "/usr/bin/umonitor", line 33, in <module>
sys.exit(load_entry_point('umonitor==20181018', 'console_scripts', 'umonitor')())
File "/usr/lib/python3.9/site-packages/umonitor/__init__.py", line 23, in main
umon.run()
File "/usr/lib/python3.9/site-packages/umonitor/umonitor.py", line 38, in run
self.autoload()
File "/usr/lib/python3.9/site-packages/umonitor/umonitor.py", line 181, in autoload
self.setup_info = self.get_setup_info()
File "umonitor/screen.pyx", line 417, in screen.Screen.get_setup_info
File "umonitor/screen.pyx", line 106, in screen.Screen._get_output_info
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe6 in position 4: invalid continuation byte
Command will work correctly sometimes but will fail other times. This was within a few seconds.
I just rebuilt screen.c.
Try the newest version and see if the error still happens.
The latest rebuild fixed the issue on my distro.
Both installing from AUR and from git function now without the UnicodeDecodeError.
I just encountered this exception on a fresh install of python-umonitor. autorandr was previously installed. I have not saved any profiles yet and it prevents from doing so. On Archcraft, installed using yay. Edit: tried using
python setup.py install
but no difference.