Created
August 6, 2015 17:54
-
-
Save Wikunia/c529a2c3a538dd00647f to your computer and use it in GitHub Desktop.
Kaggle New Mexico Bug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File "../src/script.py", line 175, in <module> | |
mNormal.readshapefile('../input/shapefiles/pums/tl_2013_{0}_puma10'.format(key),name='state', drawbounds=True) | |
File "/opt/conda/lib/python3.4/site-packages/mpl_toolkits/basemap/__init__.py", line 2156, in readshapefile | |
for shprec in shf.shapeRecords(): | |
File "/opt/conda/lib/python3.4/site-packages/mpl_toolkits/basemap/shapefile.py", line 554, in shapeRecords | |
for rec in zip(self.shapes(), self.records())] | |
File "/opt/conda/lib/python3.4/site-packages/mpl_toolkits/basemap/shapefile.py", line 526, in records | |
r = self.__record() | |
File "/opt/conda/lib/python3.4/site-packages/mpl_toolkits/basemap/shapefile.py", line 502, in __record | |
value = u(value) | |
File "/opt/conda/lib/python3.4/site-packages/mpl_toolkits/basemap/shapefile.py", line 61, in u | |
return v.decode(default_encoding) | |
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf1 in position 2: invalid continuation byte |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment