Travel Mapping

User Discussions => Welcome & Notices => Topic started by: Jim on January 01, 2020, 03:19:35 pm

Title: Failed site update 12/31/19
Post 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.
Title: Re: Failed site update 12/31/19
Post by: yakra on January 01, 2020, 05:57:02 pm
What file and typo caused the failure?
Title: Re: Failed site update 12/31/19
Post by: Jim on January 01, 2020, 08:03:03 pm
Code: [Select]
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
Title: Re: Failed site update 12/31/19
Post by: michih on January 02, 2020, 04:02:16 am
What file and typo caused the failure?

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

2x ; too less
2x WY; too much