Railway-Op-Sim / RailOSTimetableEditor

Qt based timetable editor for Railway Operation Simulator
https://railway-op-sim.github.io/RailOSTimetableEditor/index.html
GNU General Public License v3.0
3 stars 0 forks source link

Timetable not loading #12

Closed Tortoise2020 closed 4 years ago

Tortoise2020 commented 4 years ago

Although I can open most of my timetables, I can't seem to open all... (only bought to my attention because I can't open the one I'm working on at the moment)

(Also a sneak peak of Newport, coming soon...)

This is the error message:

Screenshot 2020-02-23 at 23 21 56

These are the files: Newport.txt 26 feb Weekday timetable.txt

artemis-beta commented 4 years ago

This issue was due to there being a duplicate service within the timetable given. The program now handles this situation in one of two ways:

If the duplicate is a copy of both ID and start type/start conditions it is ignored. If the duplicate is a duplicate in ID only then an attempt is made to increment the ID by 1, if this fails the duplicate is ignored.

During the investigation behind this a crash was noted when services containing no stopping locations were included. This has also been fixed.

Both issues resolved in bbbc42d19684a4e1f8984444f5abedbc9d4fa2ac