% python3 src/visualization/run.py
2022-02-08 14:45:47,177 - server - INFO - <module> - Entered module: server
Traceback (most recent call last):
File "src/visualization/run.py", line 3, in <module>
from server import server
File "/Users/jharrison/code/mesa/gmu-social-in-python/src/visualization/server.py", line 84, in <module>
server = ModularServer(
File "/Users/jharrison/code/mesa/mesa-geo/examples/GeoSIR/src/mesa-geo/mesa_geo/visualization/ModularVisualization.py", line 276, in __init__
self.reset_model()
File "/Users/jharrison/code/mesa/mesa-geo/examples/GeoSIR/src/mesa-geo/mesa_geo/visualization/ModularVisualization.py", line 302, in reset_model
self.model = self.model_cls(**model_params)
File "/Users/jharrison/code/mesa/gmu-social-in-python/src/model/gmu_social.py", line 78, in __init__
self.__load_buildings_from_file(gmu_buildings_file, crs=crs)
File "/Users/jharrison/code/mesa/gmu-social-in-python/src/model/gmu_social.py", line 121, in __load_buildings_from_file
buildings_df["centroid"] = [(x, y) for x, y in zip(buildings_df.centroid.x, buildings_df.centroid.y)]
File "/usr/local/anaconda3/lib/python3.8/site-packages/geopandas/geoseries.py", line 262, in x
return _delegate_property("x", self)
File "/usr/local/anaconda3/lib/python3.8/site-packages/geopandas/base.py", line 66, in _delegate_property
data = getattr(a_this, op)
File "/usr/local/anaconda3/lib/python3.8/site-packages/geopandas/array.py", line 882, in x
return vectorized.get_x(self.data)
File "/usr/local/anaconda3/lib/python3.8/site-packages/geopandas/_vectorized.py", line 910, in get_x
return _unary_op("x", data, null_value=np.nan)
File "/usr/local/anaconda3/lib/python3.8/site-packages/geopandas/_vectorized.py", line 461, in _unary_op
data = [getattr(geom, op, null_value) for geom in left]
File "/usr/local/anaconda3/lib/python3.8/site-packages/geopandas/_vectorized.py", line 461, in <listcomp>
data = [getattr(geom, op, null_value) for geom in left]
File "/usr/local/anaconda3/lib/python3.8/site-packages/shapely/geometry/point.py", line 66, in x
return self.coords[0][0]
File "/usr/local/anaconda3/lib/python3.8/site-packages/shapely/coords.py", line 85, in __getitem__
raise IndexError("index out of range")
IndexError: index out of range