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

Canada case failing #14

Closed
vgoliber opened this issue Feb 28, 2022 · 1 comment · Fixed by #15
Closed

Canada case failing #14

vgoliber opened this issue Feb 28, 2022 · 1 comment · Fixed by #15

Comments

@vgoliber
Copy link
Collaborator

Error message:

Reading shp file...
Traceback (most recent call last):
File "/workspace/graph-coloring/map_coloring.py", line 157, in
state_records, state_neighbors = get_state_info(input_shp_file)
File "/workspace/graph-coloring/map_coloring.py", line 49, in get_state_info
for state in sf.records():
File "/workspace/.pip-modules/lib/python3.7/site-packages/shapefile.py", line 1306, in records
r = self.__record(oid=i)
File "/workspace/.pip-modules/lib/python3.7/site-packages/shapefile.py", line 1281, in __record
value = u(value, self.encoding, self.encodingErrors)
File "/workspace/.pip-modules/lib/python3.7/site-packages/shapefile.py", line 104, in u
return v.decode(encoding, encodingErrors)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 11: invalid continuation byte

@vgoliber
Copy link
Collaborator Author

Should also add smoke test to Canada case for unit tests

@vgoliber vgoliber mentioned this issue Apr 11, 2022
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

Successfully merging a pull request may close this issue.

1 participant