Travel Mapping
User Discussions => Welcome & Notices => Topic started by: Jim on January 01, 2020, 03:19:35 pm
-
I launched last night's update but didn't ever look back in on it to notice that it crashed because a file with a typo slipped in. I'm re-running now and recent changes should show up on the site soon.
-
What file and typo caused the failure?
-
ERROR: Could not parse csv line: [usanp;WY;FosButRd;;;Fossil Butte Road, Fossil Butte NM;wy.fosbutrd], expected 8 fields, found 7
Traceback (most recent call last):
File "./siteupdate.py", line 2236, in <module>
args.highwaydatapath+"/hwy_data/_systems")
File "./siteupdate.py", line 1096, in __init__
self.route_list.append(Route(line.rstrip('\n'),self,el))
File "./siteupdate.py", line 895, in __init__
self.alt_route_names = fields[7].split(",")
IndexError: list index out of range
-
What file and typo caused the failure?
https://github.com/TravelMapping/HighwayData/pull/3487/files
2x ; too less
2x WY; too much