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
Traceback (most recent call last):
File "C:\Python34\lib\runpy.py", line 170, in run_module_as_main
"main", mod_spec)
File "C:\Python34\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Python34\Scripts\tickets.exe__main.py", line 9, in
File "C:\Python34\lib\site-packages\tickets\core.py", line 92, in cli
q.query().pretty_print()
File "C:\Python34\lib\site-packages\tickets\trains.py", line 195, in query
params = self._build_params()
File "C:\Python34\lib\site-packages\tickets\trains.py", line 189, in _build_params
d['from_station'] = self._from_station_telecode
File "C:\Python34\lib\site-packages\tickets\trains.py", line 158, in _from_station_telecode
code = self.stations.get(self.from_station)
File "C:\Python34\lib\site-packages\tickets\trains.py", line 151, in stations
for line in f.readlines():
UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 2: illegal multibyte sequence
Traceback (most recent call last):
File "C:\Python34\lib\runpy.py", line 170, in run_module_as_main
"main", mod_spec)
File "C:\Python34\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Python34\Scripts\tickets.exe__main.py", line 9, in
File "C:\Python34\lib\site-packages\tickets\core.py", line 92, in cli
q.query().pretty_print()
File "C:\Python34\lib\site-packages\tickets\trains.py", line 195, in query
params = self._build_params()
File "C:\Python34\lib\site-packages\tickets\trains.py", line 189, in _build_params
d['from_station'] = self._from_station_telecode
File "C:\Python34\lib\site-packages\tickets\trains.py", line 158, in _from_station_telecode
code = self.stations.get(self.from_station)
File "C:\Python34\lib\site-packages\tickets\trains.py", line 151, in stations
for line in f.readlines():
UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 2: illegal multibyte sequence
at last i make it run
https://segmentfault.com/q/1010000002515129/a-1020000002515648
File "C:\Python34\lib\site-packages\tickets\trains.py", line 151, in stations
with open(filepath, 'rb') as f:
The text was updated successfully, but these errors were encountered: