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
Hi,
this time I got a TypeError on line 416 after fixing syntax errors on lines 144 and 427. Here I have no idea where to look as I have no idea about python / python3. Would you please take a look and suggest a solution? Thanks in advance
This is the terminal output
pi@raspberrypi:~/PiDisplay $ sudo python3 monitor.py
Traceback (most recent call last):
File "monitor.py", line 416, in <module>
iface = subprocess.check_output("iwgetid | awk '{print $1}'", shell = True).rstrip("\r\n")
TypeError: a bytes-like object is required, not 'str'
Since I have no idea how to properly resolve this issue I simply commented out the whole line like this
hello, first of all sorry for the fact that i haven't touch this for quite some times now. however my python skill is entry level at best :P so i'll try to take a look and hopefully find the problem... At the moment i can only tell you that there was no such errors when i last play with this code, so is it possible that i was using an older version of python?
Hi,
this time I got a TypeError on line 416 after fixing syntax errors on lines 144 and 427. Here I have no idea where to look as I have no idea about python / python3. Would you please take a look and suggest a solution? Thanks in advance
This is the terminal output
Since I have no idea how to properly resolve this issue I simply commented out the whole line like this
#iface = subprocess.check_output("iwgetid | awk '{print $1}'", shell = True).rstr$
The text was updated successfully, but these errors were encountered: