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
Hello, I'm trying to run the following script:
from gpsdclient import GPSDClient
client = GPSDClient(host="127.0.0.1") for result in client.json_stream(): print(result)
But it gives me always the error
714 if source_address: 715 sock.bind(source_address) 716 sock.connect(sa) 717 # Break explicitly a reference cycle 718 err = None
ConnectionRefusedError: [Errno 61] Connection refused
I try to change the host to '0.0.0.0' but still not working and I do not know how to solve it ???!!! Any hints for that!!
The text was updated successfully, but these errors were encountered:
Is gpsd running in the background?
Sorry, something went wrong.
well, I think yes it's running in the background, because if I print (client) I get back: <GPSDClient(host=127.0.0.1, port=2947)>
Did you install gpsd on your system? What is the output of systemctl status gpsd (if you are on linux)?
This software is required for the client to work: https://gpsd.gitlab.io/gpsd/index.html
Closing this as I suspect gpsd was not installed
No branches or pull requests
Hello,
I'm trying to run the following script:
from gpsdclient import GPSDClient
client = GPSDClient(host="127.0.0.1")
for result in client.json_stream():
print(result)
But it gives me always the error
ConnectionRefusedError: [Errno 61] Connection refused
I try to change the host to '0.0.0.0' but still not working and I do not know how to solve it ???!!!
Any hints for that!!
The text was updated successfully, but these errors were encountered: