$ sudo /opt/extras.ubuntu.com/cpu-g/bin/cpu-g
** (cpu-g:23663): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-G6koqVlRa7: Connection refused
/opt/extras.ubuntu.com/cpu-g/bin/cpu-g:26: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
from gi.repository import Gtk
[Errno 2] No translation file found for domain: 'cpu-g'
Traceback (most recent call last):
File "/opt/extras.ubuntu.com/cpu-g/bin/cpu-g", line 37, in <module>
cpug = CPUG()
File "/opt/extras.ubuntu.com/cpu-g/share/cpu-g/cpug.py", line 1001, in __init__
self.update_info()
File "/opt/extras.ubuntu.com/cpu-g/share/cpu-g/cpug.py", line 1160, in update_info
self.desktop_environment.set_text(inv.desktop_environment())
File "/opt/extras.ubuntu.com/cpu-g/share/cpu-g/investigator.py", line 88, in desktop_environment
elif self.is_running("xfce-mcs-manage"):
File "/opt/extras.ubuntu.com/cpu-g/share/cpu-g/investigator.py", line 104, in is_running
if re.search(process, x):
File "/usr/lib/python3.5/re.py", line 173, in search
return _compile(pattern, flags).search(string)
TypeError: cannot use a string pattern on a bytes-like object