Author Topic: Failed site update 12/31/19  (Read 745 times)

0 Members and 1 Guest are viewing this topic.

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 1903
  • Last Login:Yesterday at 10:31:42 pm
Failed site update 12/31/19
« 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.

Offline yakra

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2847
  • Last Login:Today at 02:24:23 am
Re: Failed site update 12/31/19
« Reply #1 on: January 01, 2020, 05:57:02 pm »
What file and typo caused the failure?

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 1903
  • Last Login:Yesterday at 10:31:42 pm
Re: Failed site update 12/31/19
« Reply #2 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

Offline michih

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2816
  • Last Login:Yesterday at 12:58:14 pm
Re: Failed site update 12/31/19
« Reply #3 on: January 02, 2020, 04:02:16 am »