remove log.txt from github
This commit is contained in:
parent
ee7227c278
commit
deb173603d
228
log.txt
228
log.txt
@ -1,228 +0,0 @@
|
||||
|
||||
list indices must be integers or slices, not str. file: stockTicker.py. line: 2200. type: <class 'TypeError'>
|
||||
Traceback (most recent call last):
|
||||
File "stockTicker.py", line 2200, in getDailyWeatherImage
|
||||
main = daily_weather['description']
|
||||
TypeError: list indices must be integers or slices, not str
|
||||
list indices must be integers or slices, not str. file: stockTicker.py. line: 2200. type: <class 'TypeError'>
|
||||
Traceback (most recent call last):
|
||||
File "stockTicker.py", line 2200, in getDailyWeatherImage
|
||||
main = daily_weather['description']
|
||||
TypeError: list indices must be integers or slices, not str
|
||||
list indices must be integers or slices, not str. file: stockTicker.py. line: 2200. type: <class 'TypeError'>
|
||||
Traceback (most recent call last):
|
||||
File "stockTicker.py", line 2200, in getDailyWeatherImage
|
||||
main = daily_weather['description']
|
||||
TypeError: list indices must be integers or slices, not str
|
||||
list indices must be integers or slices, not str. file: stockTicker.py. line: 2200. type: <class 'TypeError'>
|
||||
Traceback (most recent call last):
|
||||
File "stockTicker.py", line 2200, in getDailyWeatherImage
|
||||
main = daily_weather['description']
|
||||
TypeError: list indices must be integers or slices, not str
|
||||
HTTPConnectionPool(host='api.geonames.org', port=80): Max retries exceeded with url: /searchJSON?q=London&username=fintic&maxRows=1 (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0xb5c72ed0>, 'Connection to api.geonames.org timed out. (connect timeout=1)')). file: api_caller.py. line: 356. type: <class 'geopy.exc.GeocoderUnavailable'>
|
||||
Traceback (most recent call last):
|
||||
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
|
||||
(self._dns_host, self.port), self.timeout, **extra_kw)
|
||||
File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
|
||||
raise err
|
||||
File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
|
||||
sock.connect(sa)
|
||||
socket.timeout: timed out
|
||||
|
||||
During handling of the above exception, another exception occurred:
|
||||
|
||||
Traceback (most recent call last):
|
||||
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
|
||||
chunked=chunked)
|
||||
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
|
||||
conn.request(method, url, **httplib_request_kw)
|
||||
File "/usr/lib/python3.7/http/client.py", line 1260, in request
|
||||
self._send_request(method, url, body, headers, encode_chunked)
|
||||
File "/usr/lib/python3.7/http/client.py", line 1306, in _send_request
|
||||
self.endheaders(body, encode_chunked=encode_chunked)
|
||||
File "/usr/lib/python3.7/http/client.py", line 1255, in endheaders
|
||||
self._send_output(message_body, encode_chunked=encode_chunked)
|
||||
File "/usr/lib/python3.7/http/client.py", line 1030, in _send_output
|
||||
self.send(msg)
|
||||
File "/usr/lib/python3.7/http/client.py", line 970, in send
|
||||
self.connect()
|
||||
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
|
||||
conn = self._new_conn()
|
||||
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 164, in _new_conn
|
||||
(self.host, self.timeout))
|
||||
urllib3.exceptions.ConnectTimeoutError: (<urllib3.connection.HTTPConnection object at 0xb5c72ed0>, 'Connection to api.geonames.org timed out. (connect timeout=1)')
|
||||
|
||||
During handling of the above exception, another exception occurred:
|
||||
|
||||
Traceback (most recent call last):
|
||||
File "/home/pi/.local/lib/python3.7/site-packages/requests/adapters.py", line 449, in send
|
||||
timeout=timeout
|
||||
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 667, in urlopen
|
||||
**response_kw)
|
||||
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 667, in urlopen
|
||||
**response_kw)
|
||||
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
|
||||
_stacktrace=sys.exc_info()[2])
|
||||
File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
|
||||
raise MaxRetryError(_pool, url, error or ResponseError(cause))
|
||||
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='api.geonames.org', port=80): Max retries exceeded with url: /searchJSON?q=London&username=fintic&maxRows=1 (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0xb5c72ed0>, 'Connection to api.geonames.org timed out. (connect timeout=1)'))
|
||||
|
||||
During handling of the above exception, another exception occurred:
|
||||
|
||||
Traceback (most recent call last):
|
||||
File "/home/pi/.local/lib/python3.7/site-packages/geopy/adapters.py", line 448, in _request
|
||||
resp = self.session.get(url, timeout=timeout, headers=headers)
|
||||
File "/home/pi/.local/lib/python3.7/site-packages/requests/sessions.py", line 555, in get
|
||||
return self.request('GET', url, **kwargs)
|
||||
File "/home/pi/.local/lib/python3.7/site-packages/requests/sessions.py", line 542, in request
|
||||
resp = self.send(prep, **send_kwargs)
|
||||
File "/home/pi/.local/lib/python3.7/site-packages/requests/sessions.py", line 655, in send
|
||||
r = adapter.send(request, **kwargs)
|
||||
File "/home/pi/.local/lib/python3.7/site-packages/requests/adapters.py", line 504, in send
|
||||
raise ConnectTimeout(e, request=request)
|
||||
requests.exceptions.ConnectTimeout: HTTPConnectionPool(host='api.geonames.org', port=80): Max retries exceeded with url: /searchJSON?q=London&username=fintic&maxRows=1 (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0xb5c72ed0>, 'Connection to api.geonames.org timed out. (connect timeout=1)'))
|
||||
|
||||
During handling of the above exception, another exception occurred:
|
||||
|
||||
Traceback (most recent call last):
|
||||
File "api_caller.py", line 356, in updateWeather
|
||||
loc = gn.geocode(location)
|
||||
File "/home/pi/.local/lib/python3.7/site-packages/geopy/geocoders/geonames.py", line 157, in geocode
|
||||
return self._call_geocoder(url, callback, timeout=timeout)
|
||||
File "/home/pi/.local/lib/python3.7/site-packages/geopy/geocoders/base.py", line 368, in _call_geocoder
|
||||
result = self.adapter.get_json(url, timeout=timeout, headers=req_headers)
|
||||
File "/home/pi/.local/lib/python3.7/site-packages/geopy/adapters.py", line 438, in get_json
|
||||
resp = self._request(url, timeout=timeout, headers=headers)
|
||||
File "/home/pi/.local/lib/python3.7/site-packages/geopy/adapters.py", line 460, in _request
|
||||
raise GeocoderUnavailable(message)
|
||||
geopy.exc.GeocoderUnavailable: HTTPConnectionPool(host='api.geonames.org', port=80): Max retries exceeded with url: /searchJSON?q=London&username=fintic&maxRows=1 (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0xb5c72ed0>, 'Connection to api.geonames.org timed out. (connect timeout=1)'))
|
||||
local variable 'temp' referenced before assignment. file: stockTicker.py. line: 2239. type: <class 'UnboundLocalError'>
|
||||
Traceback (most recent call last):
|
||||
File "stockTicker.py", line 2239, in getDailyWeatherImage
|
||||
temp_img = self.textImage(str("{0:.0f}".format(temp)), large_font)
|
||||
UnboundLocalError: local variable 'temp' referenced before assignment
|
||||
local variable 'temp' referenced before assignment. file: stockTicker.py. line: 2239. type: <class 'UnboundLocalError'>
|
||||
Traceback (most recent call last):
|
||||
File "stockTicker.py", line 2239, in getDailyWeatherImage
|
||||
temp_img = self.textImage(str("{0:.0f}".format(temp)), large_font)
|
||||
UnboundLocalError: local variable 'temp' referenced before assignment
|
||||
local variable 'temp' referenced before assignment. file: stockTicker.py. line: 2239. type: <class 'UnboundLocalError'>
|
||||
Traceback (most recent call last):
|
||||
File "stockTicker.py", line 2239, in getDailyWeatherImage
|
||||
temp_img = self.textImage(str("{0:.0f}".format(temp)), large_font)
|
||||
UnboundLocalError: local variable 'temp' referenced before assignment
|
||||
local variable 'temp' referenced before assignment. file: stockTicker.py. line: 2239. type: <class 'UnboundLocalError'>
|
||||
Traceback (most recent call last):
|
||||
File "stockTicker.py", line 2239, in getDailyWeatherImage
|
||||
temp_img = self.textImage(str("{0:.0f}".format(temp)), large_font)
|
||||
UnboundLocalError: local variable 'temp' referenced before assignment
|
||||
local variable 'temp' referenced before assignment. file: stockTicker.py. line: 2239. type: <class 'UnboundLocalError'>
|
||||
Traceback (most recent call last):
|
||||
File "stockTicker.py", line 2239, in getDailyWeatherImage
|
||||
temp_img = self.textImage(str("{0:.0f}".format(temp)), large_font)
|
||||
UnboundLocalError: local variable 'temp' referenced before assignment
|
||||
local variable 'temp' referenced before assignment. file: stockTicker.py. line: 2239. type: <class 'UnboundLocalError'>
|
||||
Traceback (most recent call last):
|
||||
File "stockTicker.py", line 2239, in getDailyWeatherImage
|
||||
temp_img = self.textImage(str("{0:.0f}".format(temp)), large_font)
|
||||
UnboundLocalError: local variable 'temp' referenced before assignment
|
||||
[Errno 2] No such file or directory: '/home/pi/Desktop/fintic/user_uploads/Screenshot 2020-04-07 at 09.48.46.png'. file: stockTicker.py. line: 2673. type: <class 'FileNotFoundError'>
|
||||
Traceback (most recent call last):
|
||||
File "stockTicker.py", line 2673, in <module>
|
||||
stock_ticker.process_msg(msg)
|
||||
File "stockTicker.py", line 2632, in process_msg
|
||||
self.scrollFunctionsAnimated(userSettings[1], animation = 'down')
|
||||
File "stockTicker.py", line 349, in scrollFunctionsAnimated
|
||||
images = self.getUserImages()
|
||||
File "stockTicker.py", line 2471, in getUserImages
|
||||
img = self.openImage(os.path.join(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'user_uploads'), image))
|
||||
File "stockTicker.py", line 87, in openImage
|
||||
image = Image.open(image_file)
|
||||
File "/home/pi/.local/lib/python3.7/site-packages/PIL/Image.py", line 2975, in open
|
||||
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/Desktop/fintic/user_uploads/Screenshot 2020-04-07 at 09.48.46.png'
|
||||
[Errno 2] No such file or directory: '/home/pi/Desktop/fintic/user_uploads/Figure_1.png'. file: stockTicker.py. line: 2673. type: <class 'FileNotFoundError'>
|
||||
Traceback (most recent call last):
|
||||
File "stockTicker.py", line 2673, in <module>
|
||||
stock_ticker.process_msg(msg)
|
||||
File "stockTicker.py", line 2632, in process_msg
|
||||
self.scrollFunctionsAnimated(userSettings[1], animation = 'down')
|
||||
File "stockTicker.py", line 349, in scrollFunctionsAnimated
|
||||
images = self.getUserImages()
|
||||
File "stockTicker.py", line 2471, in getUserImages
|
||||
img = self.openImage(os.path.join(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'user_uploads'), image))
|
||||
File "stockTicker.py", line 87, in openImage
|
||||
image = Image.open(image_file)
|
||||
File "/home/pi/.local/lib/python3.7/site-packages/PIL/Image.py", line 2975, in open
|
||||
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/Desktop/fintic/user_uploads/Figure_1.png'
|
||||
HTTPConnectionPool(host='api.geonames.org', port=80): Max retries exceeded with url: /searchJSON?q=New+York&username=fintic&maxRows=1 (Caused by ReadTimeoutError("HTTPConnectionPool(host='api.geonames.org', port=80): Read timed out. (read timeout=1)")). file: api_caller.py. line: 356. type: <class 'geopy.exc.GeocoderUnavailable'>
|
||||
Traceback (most recent call last):
|
||||
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 384, in _make_request
|
||||
six.raise_from(e, None)
|
||||
File "<string>", line 3, in raise_from
|
||||
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 380, in _make_request
|
||||
httplib_response = conn.getresponse()
|
||||
File "/usr/lib/python3.7/http/client.py", line 1352, in getresponse
|
||||
response.begin()
|
||||
File "/usr/lib/python3.7/http/client.py", line 310, in begin
|
||||
version, status, reason = self._read_status()
|
||||
File "/usr/lib/python3.7/http/client.py", line 271, in _read_status
|
||||
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
|
||||
File "/usr/lib/python3.7/socket.py", line 589, in readinto
|
||||
return self._sock.recv_into(b)
|
||||
socket.timeout: timed out
|
||||
|
||||
During handling of the above exception, another exception occurred:
|
||||
|
||||
Traceback (most recent call last):
|
||||
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
|
||||
chunked=chunked)
|
||||
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 386, in _make_request
|
||||
self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
|
||||
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 306, in _raise_timeout
|
||||
raise ReadTimeoutError(self, url, "Read timed out. (read timeout=%s)" % timeout_value)
|
||||
urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='api.geonames.org', port=80): Read timed out. (read timeout=1)
|
||||
|
||||
During handling of the above exception, another exception occurred:
|
||||
|
||||
Traceback (most recent call last):
|
||||
File "/home/pi/.local/lib/python3.7/site-packages/requests/adapters.py", line 449, in send
|
||||
timeout=timeout
|
||||
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 667, in urlopen
|
||||
**response_kw)
|
||||
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 667, in urlopen
|
||||
**response_kw)
|
||||
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
|
||||
_stacktrace=sys.exc_info()[2])
|
||||
File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
|
||||
raise MaxRetryError(_pool, url, error or ResponseError(cause))
|
||||
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='api.geonames.org', port=80): Max retries exceeded with url: /searchJSON?q=New+York&username=fintic&maxRows=1 (Caused by ReadTimeoutError("HTTPConnectionPool(host='api.geonames.org', port=80): Read timed out. (read timeout=1)"))
|
||||
|
||||
During handling of the above exception, another exception occurred:
|
||||
|
||||
Traceback (most recent call last):
|
||||
File "/home/pi/.local/lib/python3.7/site-packages/geopy/adapters.py", line 448, in _request
|
||||
resp = self.session.get(url, timeout=timeout, headers=headers)
|
||||
File "/home/pi/.local/lib/python3.7/site-packages/requests/sessions.py", line 555, in get
|
||||
return self.request('GET', url, **kwargs)
|
||||
File "/home/pi/.local/lib/python3.7/site-packages/requests/sessions.py", line 542, in request
|
||||
resp = self.send(prep, **send_kwargs)
|
||||
File "/home/pi/.local/lib/python3.7/site-packages/requests/sessions.py", line 655, in send
|
||||
r = adapter.send(request, **kwargs)
|
||||
File "/home/pi/.local/lib/python3.7/site-packages/requests/adapters.py", line 516, in send
|
||||
raise ConnectionError(e, request=request)
|
||||
requests.exceptions.ConnectionError: HTTPConnectionPool(host='api.geonames.org', port=80): Max retries exceeded with url: /searchJSON?q=New+York&username=fintic&maxRows=1 (Caused by ReadTimeoutError("HTTPConnectionPool(host='api.geonames.org', port=80): Read timed out. (read timeout=1)"))
|
||||
|
||||
During handling of the above exception, another exception occurred:
|
||||
|
||||
Traceback (most recent call last):
|
||||
File "api_caller.py", line 356, in updateWeather
|
||||
loc = gn.geocode(location)
|
||||
File "/home/pi/.local/lib/python3.7/site-packages/geopy/geocoders/geonames.py", line 157, in geocode
|
||||
return self._call_geocoder(url, callback, timeout=timeout)
|
||||
File "/home/pi/.local/lib/python3.7/site-packages/geopy/geocoders/base.py", line 368, in _call_geocoder
|
||||
result = self.adapter.get_json(url, timeout=timeout, headers=req_headers)
|
||||
File "/home/pi/.local/lib/python3.7/site-packages/geopy/adapters.py", line 438, in get_json
|
||||
resp = self._request(url, timeout=timeout, headers=headers)
|
||||
File "/home/pi/.local/lib/python3.7/site-packages/geopy/adapters.py", line 460, in _request
|
||||
raise GeocoderUnavailable(message)
|
||||
geopy.exc.GeocoderUnavailable: HTTPConnectionPool(host='api.geonames.org', port=80): Max retries exceeded with url: /searchJSON?q=New+York&username=fintic&maxRows=1 (Caused by ReadTimeoutError("HTTPConnectionPool(host='api.geonames.org', port=80): Read timed out. (read timeout=1)"))
|
Loading…
Reference in New Issue
Block a user