Open pedrocamargo opened 1 year ago
File /workspaces/tradesman/notebooks/../tradesman/model.py:128, in Tradesman.build_zoning(self, hexbin_size, max_zone_pop, min_zone_pop, save_hexbins, overwrite) 126 if sum(self._project.conn.execute("Select count(*) from Zones").fetchone()) > 0: 127 return --> 128 zone_builder(self._project, hexbin_size, max_zone_pop, min_zone_pop, save_hexbins)
File /workspaces/tradesman/notebooks/../tradesman/model_creation/zoning/zone_building.py:44, in zone_builder(project, hexbin_size, max_zone_pop, min_zone_pop, save_hexbins) 42 zones_with_pop = zones_with_population(project, zones_with_locations) 43 print("\n after zones_with_pop", strftime("%Y-%m-%d %H:%M:%S", gmtime())) ---> 44 project.conn.execute("DELETE FROM hex_pop;") 45 project.conn.execute("DELETE FROM zones;") 46 project.conn.commit()
OperationalError: no such table: hex_pop
Was this fixed, @r-akemii ?
File /workspaces/tradesman/notebooks/../tradesman/model.py:128, in Tradesman.build_zoning(self, hexbin_size, max_zone_pop, min_zone_pop, save_hexbins, overwrite) 126 if sum(self._project.conn.execute("Select count(*) from Zones").fetchone()) > 0: 127 return --> 128 zone_builder(self._project, hexbin_size, max_zone_pop, min_zone_pop, save_hexbins)
File /workspaces/tradesman/notebooks/../tradesman/model_creation/zoning/zone_building.py:44, in zone_builder(project, hexbin_size, max_zone_pop, min_zone_pop, save_hexbins) 42 zones_with_pop = zones_with_population(project, zones_with_locations) 43 print("\n after zones_with_pop", strftime("%Y-%m-%d %H:%M:%S", gmtime())) ---> 44 project.conn.execute("DELETE FROM hex_pop;") 45 project.conn.execute("DELETE FROM zones;") 46 project.conn.commit()
OperationalError: no such table: hex_pop