You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting the following error for :
UnicodeDecodeError Traceback (most recent call last)
in ()
----> 1 from whenareyou import whenareyou
2 tz = whenareyou('Hamburg')
3 tz.localize(datetime(2002, 10, 27, 6, 0, 0))
/opt/intel/intelpython35/lib/python3.5/site-packages/whenareyou/init.py in ()
23 'lng', 'alt', 'tz', 'dst', 'tz_olson'],
24 restkey='info')
---> 25 for row in airports_reader:
26 airports_dict[row['iata']] = row
27
/opt/intel/intelpython35/lib/python3.5/csv.py in next(self)
108 # Used only for its side effect.
109 self.fieldnames
--> 110 row = next(self.reader)
111 self.line_num = self.reader.line_num
112
/opt/intel/intelpython35/lib/python3.5/encodings/ascii.py in decode(self, input, final)
24 class IncrementalDecoder(codecs.IncrementalDecoder):
25 def decode(self, input, final=False):
---> 26 return codecs.ascii_decode(input, self.errors)[0]
27
28 class StreamWriter(Codec,codecs.StreamWriter):
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1689: ordinal not in range(128)
The text was updated successfully, but these errors were encountered:
Hi,
I am getting the following error for :
UnicodeDecodeError Traceback (most recent call last)
in ()
----> 1 from whenareyou import whenareyou
2 tz = whenareyou('Hamburg')
3 tz.localize(datetime(2002, 10, 27, 6, 0, 0))
/opt/intel/intelpython35/lib/python3.5/site-packages/whenareyou/init.py in ()
23 'lng', 'alt', 'tz', 'dst', 'tz_olson'],
24 restkey='info')
---> 25 for row in airports_reader:
26 airports_dict[row['iata']] = row
27
/opt/intel/intelpython35/lib/python3.5/csv.py in next(self)
108 # Used only for its side effect.
109 self.fieldnames
--> 110 row = next(self.reader)
111 self.line_num = self.reader.line_num
112
/opt/intel/intelpython35/lib/python3.5/encodings/ascii.py in decode(self, input, final)
24 class IncrementalDecoder(codecs.IncrementalDecoder):
25 def decode(self, input, final=False):
---> 26 return codecs.ascii_decode(input, self.errors)[0]
27
28 class StreamWriter(Codec,codecs.StreamWriter):
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1689: ordinal not in range(128)
The text was updated successfully, but these errors were encountered: