-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Description
- RPi1
- Raspbian Buster Lite
- PiFace Control and Display 2
while trying to execute the sysinfo.py example I get this error...
pi@raspberrypi:~ $ python ./pifacecad/examples/sysinfo.py
Traceback (most recent call last):
File "./pifacecad/examples/sysinfo.py", line 75, in <module>
show_sysinfo()
File "./pifacecad/examples/sysinfo.py", line 56, in show_sysinfo
cad.lcd.write(":{}".format(get_my_free_mem()))
File "./pifacecad/examples/sysinfo.py", line 35, in get_my_free_mem
used_mem = float(run_cmd(USED_MEM_CMD))
ValueError: could not convert string to float:
pi@raspberrypi:~ $
pi@raspberrypi:~ $ python3 ./pifacecad/examples/sysinfo.py
Traceback (most recent call last):
File "./pifacecad/examples/sysinfo.py", line 75, in <module>
show_sysinfo()
File "./pifacecad/examples/sysinfo.py", line 56, in show_sysinfo
cad.lcd.write(":{}".format(get_my_free_mem()))
File "./pifacecad/examples/sysinfo.py", line 35, in get_my_free_mem
used_mem = float(run_cmd(USED_MEM_CMD))
ValueError: could not convert string to float:
pi@raspberrypi:~ $
Metadata
Metadata
Assignees
Labels
No labels