-
Notifications
You must be signed in to change notification settings - Fork 88
Description
I am running a Calendar version I last updated in Apr-22 on a raspberry pi +3B. I set the crontab to update every hour. I am not quite sure of the timing but in the last month I have seen that the update does not always work. I see a list of errors instead of diary entries. Somewhat guessing it has failed around 10 times in the last month - so not a large failure rate.
I usually just log into the pi and run sudo ./run.sh - that works every time. So this is not a major issue for me however I thought I would look at the run log of a failed update and paste it here to see if anything stands out as a reason for the failure. It does not seem to be related to anything I am doing.
Failed update run.log - it seems to be unable to reach www.googleapis.com but why? I don't see any issue with my wifi router connection. Any thoughts much appreciated!
ADD WEATHER INFO
2024-07-23:15:01:01 INFO [screen-weather-get.py:71] Getting weather from Accuweather
2024-07-23:15:01:01 INFO [utility.py:99] Found in cache.
2024-07-23:15:01:01 INFO [screen-weather-get.py:97] weather - {'temperatureMin': 12.4, 'temperatureMax': 22.5, 'icon': 'day_partly_cloudy_rain', 'description': 'Times of sun and clouds'}
2024-07-23:15:01:01 INFO [screen-weather-get.py:115] Getting weather alert from Met Office RSS Feed
2024-07-23:15:01:01 INFO [utility.py:111] https://www.metoffice.gov.uk/public/data/PWSCache/WarningsRSS/Region/ee
2024-07-23:15:01:02 INFO [utility.py:114] Cache file is stale. Fetching from source.
2024-07-23:15:01:10 INFO [metofficerssfeed.py:12] get_alert -
<title>Met Office warnings for East of England</title>
https://www.metoffice.gov.uk/weather/warnings-and-advice/uk-warnings
Weather warnings of severe and extreme weather from the Met Office
en-gb
(c) Crown copyright
Tue, 16 Jul 2024 19:01:32 GMT
dc:creatorwebteam@metoffice.gov.uk</dc:creator>
2024-07-23:15:01:10 INFO [screen-weather-get.py:124] alert -
2024-07-23:15:01:10 INFO [screen-weather-get.py:169] Updating SVG
ADD CALENDAR INFO
2024-07-23:15:01:12 INFO [screen-calendar-get.py:182] Fetching Google Calendar Events
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/httplib2/init.py", line 1343, in _conn_request
conn.connect()
File "/usr/local/lib/python3.9/dist-packages/httplib2/init.py", line 1119, in connect
address_info = socket.getaddrinfo(host, port, 0, socket.SOCK_STREAM)
File "/usr/lib/python3.9/socket.py", line 953, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/pi/waveshare-epaper-display/screen-calendar-get.py", line 193, in
main()
File "/home/pi/waveshare-epaper-display/screen-calendar-get.py", line 183, in main
google_events = get_google_events(max_event_results)
File "/home/pi/waveshare-epaper-display/screen-calendar-get.py", line 108, in get_google_events
events_result = service.events().list(
File "/usr/local/lib/python3.9/dist-packages/googleapiclient/_helpers.py", line 131, in positional_wrapper
return wrapped(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/googleapiclient/http.py", line 922, in execute
resp, content = _retry_request(
File "/usr/local/lib/python3.9/dist-packages/googleapiclient/http.py", line 221, in _retry_request
raise exception
File "/usr/local/lib/python3.9/dist-packages/googleapiclient/http.py", line 190, in _retry_request
resp, content = http.request(uri, method, *args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/google_auth_httplib2.py", line 218, in request
response, content = self.http.request(
File "/usr/local/lib/python3.9/dist-packages/httplib2/init.py", line 1701, in request
(response, content) = self._request(
File "/usr/local/lib/python3.9/dist-packages/httplib2/init.py", line 1421, in _request
(response, content) = self._conn_request(conn, request_uri, method, body, headers)
File "/usr/local/lib/python3.9/dist-packages/httplib2/init.py", line 1350, in _conn_request
raise ServerNotFoundError("Unable to find the server at %s" % conn.host)
httplib2.error.ServerNotFoundError: Unable to find the server at www.googleapis.com
EXPORT TO PNG
DISPLAY ON EPAPER
2024-07-23:15:01:33 INFO [display.py:34] Display image file on screen
Successful update: