Skip to content

prevent empty routes from crashing DISCONNECTED_ROUTE datacheck - #352

Merged
jteresco merged 2 commits into
TravelMapping:masterfrom
yakra:datacheck
Nov 13, 2020
Merged

prevent empty routes from crashing DISCONNECTED_ROUTE datacheck#352
jteresco merged 2 commits into
TravelMapping:masterfrom
yakra:datacheck

Conversation

@yakra

Copy link
Copy Markdown
Contributor

Prepping usanyp for activation provided an unexpected stress test.
Forgetting to move files from usasf/ to usanyp/ -> some file not found errors -> Routes with 0 waypoints -> Route.con_beg() crashing when it tries to index an empty array.
Fixed.


Along for the ride: Some tweaks to how siteupdate.log is written to reduce Python<->C++ diffs.

  • Relative position of ErrorList errors & system codes when Reading systems list
  • When Reading waypoints for all routes, don't print a period when a .wpt file is not found
  • Report total datacheck errors & marked FPs on same line

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@yakra@jteresco