Skip to content
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

Issue connecting to Wunder Underground #8

Open
thorpup opened this issue Jan 28, 2022 · 2 comments
Open

Issue connecting to Wunder Underground #8

thorpup opened this issue Jan 28, 2022 · 2 comments

Comments

@thorpup
Copy link

thorpup commented Jan 28, 2022

this is my error message i receive

ERROR Exception type: <class 'list'>
2022-01-28 12:00:00 ERROR Error: <class 'AttributeError'>
Traceback (most recent call last):
File "/home/pi/pi_weather_station/./weather_station.py", line 239, in processing_loop
urllib.request.urlopen('http://weatherstation.wunderground.com/weatherstation/StationData.php?ID=StationID')
AttributeError: module 'urllib' has no attribute 'request'

not sure how to fix this.

@johnwargo
Copy link
Owner

A quick Google search gave me this:

https://stackoverflow.com/questions/37042152/python-3-5-1-urllib-has-no-attribute-request

My code is pretty old, perhaps things changed a bit in the library since I wrote it.

@johnwargo
Copy link
Owner

@thorpup did that help you? Please respond at least to let me know I can close the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants