User Discussions > Welcome & Notices

Failed site update 12/31/19

(1/1)

Jim:
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.

yakra:
What file and typo caused the failure?

Jim:

--- Code: ---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

--- End code ---

michih:

--- Quote from: yakra on January 01, 2020, 05:57:02 pm ---What file and typo caused the failure?
--- End quote ---

https://github.com/TravelMapping/HighwayData/pull/3487/files

2x ; too less
2x WY; too much

Navigation

[0] Message Index

Go to full version