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
When trying to run this on Linux Mint 20.1, I get the following error:
Call to __main__
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
app created: '<PyQt5.QtWidgets.QApplication object at 0x7fb978c47a60>'
Traceback (most recent call last):
File "./procexp.py", line 573, in <module>
g_reader = procreader.reader.procreader(int(g_settings["updateTimer"]), int(g_settings["historySampleCount"]))
File "/path/to/procexp-master/procreader/reader.py", line 194, in __init__
for line in data[0].split("\n"):
TypeError: a bytes-like object is required, not 'str'
I'm by no means a Python expert, but it seems as though changing line 194 in procreader/reader.py from:
for line in data[0].split("\n"):
to:
for line in data[0].decode().split("\n"):
solves the issue. The program appears to start fine now. Just wanted to let you know. Thanks for your work on this!
The text was updated successfully, but these errors were encountered:
When trying to run this on Linux Mint 20.1, I get the following error:
I'm by no means a Python expert, but it seems as though changing line 194 in procreader/reader.py from:
to:
solves the issue. The program appears to start fine now. Just wanted to let you know. Thanks for your work on this!
The text was updated successfully, but these errors were encountered: