-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
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
KeyError when running client.py #6
Comments
Hello! Thanks for reaching out. Did you update the device connection string via the python_environment_setup.sh shell script? (Steps 6 - 8 under "Set up your Raspberry Pi" in the ReadMe) |
@jenfoxbot I tried to run the script, but was getting an error. So I was copying each command into the prompt and when I changed "python" to "python3" command ran. But then the connection string was the issue, so I unhid and found the .env file and tried copying the connection string there. some screenshots below |
@lmgeorge Once done I executed the source command, which I think is successful, however every time I tried to run the py script got the same error does not matter if executing as python or python3 any thoughts? |
I figured out the first part of the problem, I was executing the python_environment_setup.sh with sh instead of using bash, which fixed the first script running issue, however still having problems with the python script |
A little bit of perseverance and got it working, from raspberry_pi_client.py had to comment
Once done telemetry started working and receiving data |
I got to the step where I ran the "python3 raspberry_pi_client.py" command but I am seeing a KeyError, shown in attached png.
The text was updated successfully, but these errors were encountered: