We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
copied battey python script, sometimes it return no values with error: running on raspberry. Awesome work indeed!!!
pi@raspberrypi:~ $ python battery.py WARNING: No module named pexpect Voltage: 0.69384765625 Voltage: 0.694091796875 Voltage: 0.69384765625 Voltage: 0.694091796875 Traceback (most recent call last): File "battery.py", line 10, in print ("Value: " % hub.voltage.last_value) TypeError: not all arguments converted during string formatting pi@raspberrypi:~ $ python battery.py WARNING: No module named pexpect Traceback (most recent call last): File "battery.py", line 10, in print ("Value: " % hub.voltage.last_value) TypeError: not all arguments converted during string formatting
The text was updated successfully, but these errors were encountered:
That line misses proper formatting. Right statement is print ("Value: %s" % hub.voltage.last_value)
print ("Value: %s" % hub.voltage.last_value)
Sorry, something went wrong.
No branches or pull requests
copied battey python script, sometimes it return no values with error:
running on raspberry. Awesome work indeed!!!
pi@raspberrypi:~ $ python battery.py
WARNING: No module named pexpect
Voltage: 0.69384765625
Voltage: 0.694091796875
Voltage: 0.69384765625
Voltage: 0.694091796875
Traceback (most recent call last):
File "battery.py", line 10, in
print ("Value: " % hub.voltage.last_value)
TypeError: not all arguments converted during string formatting
pi@raspberrypi:~ $ python battery.py
WARNING: No module named pexpect
Traceback (most recent call last):
File "battery.py", line 10, in
print ("Value: " % hub.voltage.last_value)
TypeError: not all arguments converted during string formatting
The text was updated successfully, but these errors were encountered: