Error messages when creating a timetable

You are here: Home > Forum > Simulations > Released > Feltham > Error messages when creating a timetable

Page 1 of 1

Error messages when creating a timetable 21/01/2015 at 13:52 #68221
northroad
Avatar
870 posts
Whilst creating a new timetable for Feltham I have just received the following error message after I did a timetable analysis: -

"List index out of bounds (4)" and then a further message after I closed that message and did the analyse again "I/O error 32"

Does anyone know what these messages indicate?

All loader versions were up to date and I am running the latest version of the sim.

Geoff

Log in to reply
Error messages when creating a timetable 21/01/2015 at 14:39 #68226
headshot119
Avatar
4869 posts
I had this issue with one of my own sims.

The cause was related to the sim data, I will raise the issue on Mantis for Felthams developer shortly.

"Passengers for New Lane, should be seated in the rear coach of the train " - Opinions are my own and not those of my employer
Log in to reply
The following user said thank you: northroad
Error messages when creating a timetable 21/01/2015 at 14:51 #68227
northroad
Avatar
870 posts
Thanks for that headshot119.

Silly question really but would you advise not putting anymore data into the timetable in that case until the problem is looked at?

Log in to reply
Error messages when creating a timetable 21/01/2015 at 15:35 #68228
headshot119
Avatar
4869 posts
The issue didn't effect any of the timetable data and a whole TT was written with the issue in place, the timetable will also run fine.

It just effects the analysis tool running.

This of course assumes it's exactly the same issue.

Raised as Mantis 12375

"Passengers for New Lane, should be seated in the rear coach of the train " - Opinions are my own and not those of my employer
Last edited: 21/01/2015 at 16:21 by headshot119
Log in to reply
Error messages when creating a timetable 22/01/2015 at 07:02 #68257
clive
Avatar
2736 posts
" said:

"List index out of bounds (4)" and then a further message after I closed that message and did the analyse again "I/O error 32"

Does anyone know what these messages indicate?
The first one indicates a bug in the core code that Feltham is tickling. The second is because the first one left the core code in an inconsistent state preventing it from writing out the analysis report, so you can ignore it.

Whether or not the Feltham developer changes the sim to prevent the bug triggering, it will need to be fixed at some point. I haven't yet had a chance to investigate.

Log in to reply
The following user said thank you: northroad
Error messages when creating a timetable 22/01/2015 at 11:06 #68268
northroad
Avatar
870 posts
Thanks for that Clive.

I have noticed that the analyser now refuses to generate any sort of updated report after putting a few more services into the timetable since I reported this. It should have come back and reported that those new ones have not been used as they have not been linked to a following or previous service. Trouble is that if it is not fixed then the timetable may still contain lots of errors which would have been picked up by this useful tool. Is this applicable or would it be applicable to all new timetables generated for the Feltham sim?

Geoff.

Log in to reply
Error messages when creating a timetable 23/01/2015 at 06:49 #68302
clive
Avatar
2736 posts
" said:

I have noticed that the analyser now refuses to generate any sort of updated report after putting a few more services into the timetable since I reported this. It should have come back and reported that those new ones have not been used as they have not been linked to a following or previous service. Trouble is that if it is not fixed then the timetable may still contain lots of errors which would have been picked up by this useful tool.
Is this after closing and restarting the Loader? Have you deleted or renamed the report file? Since I haven't yet looked into the problem, I can't say what the root cause or effect it.

Quote:

Is this applicable or would it be applicable to all new timetables generated for the Feltham sim?
Again, I don't know what the actual issue is, so I can't say. Most likely, though, is that it will only affect those timetables that trigger the bug. Though once it's triggered you need to restart the loader.

It's been suggested to me that it's something to do with the length of the location name. If so, avoid the relevant location until it's fixed!

Log in to reply
The following user said thank you: northroad
Error messages when creating a timetable 23/01/2015 at 09:16 #68303
northroad
Avatar
870 posts
Clive,
Interesting saga as I have now taken to reinstalling the Feltham simulation (just the simulation) which seems to have got rid of the problem. As you correctly say once it has been triggered and either carrying on or even restarting the sim then it effects everything else i.e with the timetable for 2015, when I started that in a new simulation and went to analyse the timetable exactly the same errors came up.
As I said I have now reinstalled the simulation and the timetable that I was creating works perfectly fine when using the analyser.
One thing that might or might not have caused the trigger was that I did run the timetable in a chain with the Wimbledon sim just to see if things were working OK. It was only after running trains between the two sims and then exiting and restarting Feltham again, that the problem occurred. Could this chaining have caused the problem?

Geoff.

Last edited: 23/01/2015 at 09:20 by northroad
Log in to reply
Error messages when creating a timetable 23/01/2015 at 16:11 #68318
clive
Avatar
2736 posts
I can't see how the chain can have caused a problem with the analyser code, and I can't see why reinstalling the sim would make a difference either.

Can you please send me the timetable in question? If you can make it happen again, I'd really like to know how. Without something like that I'm at a bit of a loss.

Log in to reply
The following user said thank you: northroad
Error messages when creating a timetable 25/01/2015 at 13:32 #68362
northroad
Avatar
870 posts
Thanks for that Clive. I am continuing and if the problem happens again (which so far it has not) I will send you a saved copy.

Geoff

Log in to reply
Error messages when creating a timetable 04/02/2015 at 13:49 #68780
northroad
Avatar
870 posts
Clive,
I have hit this problem again. Copy of a one line entry for a new timetable that I am creating (attached) and the problem occurred again when hitting the Analyse button.
Same as before it comes up with "List Index out of bounds (2)" and then "I/O error 32"
I must admit I have come to the conclusion here that the length of characters in the description box may be to blame. I have entered: -

17:27 London Waterloo - London Waterloo via Main Line (Class 455 x 2)

Any thoughts?

Geoff


[attachment=2990]AweekendaroundLondonMarch2015.wtt[/attachment]

Post has attachments. Log in to view them.
Log in to reply
Error messages when creating a timetable 05/02/2015 at 06:50 #68831
clive
Avatar
2736 posts
Thanks. I can reproduce the problem and will investigate further. It's clearly a core code bug, though.
Log in to reply
The following user said thank you: northroad
Error messages when creating a timetable 05/02/2015 at 07:27 #68835
northroad
Avatar
870 posts
Thanks Clive,

Further, for your information this does not happen on the adjoining Wimbledon Sim. You can type in exactly the same information for a service that goes round the loop in and out of Waterloo and it does not create any problem at all. It could ,therefore, be something that is only peculiar to Feltham.

Will leave this with you.

Geoff

Log in to reply
Error messages when creating a timetable 05/02/2015 at 13:09 #68853
clive
Avatar
2736 posts
" said:

Further, for your information this does not happen on the adjoining Wimbledon Sim. You can type in exactly the same information for a service that goes round the loop in and out of Waterloo and it does not create any problem at all. It could ,therefore, be something that is only peculiar to Feltham.
It could be (I haven't had time to investigate yet) but, if so, it just means that something in Feltham is triggering a core code bug.

Log in to reply
Error messages when creating a timetable 05/02/2015 at 20:20 #68883
clive
Avatar
2736 posts
Okay, located it. It's nothing to do with the length of the description.

The immediate cause is the use of a platform number at Twickenham; removing the number will stop the problem.

The proximate cause is something odd about the way Twickenham has been coded in the sim.

But the ultimate cause is that something in the way the core code analyses the timetable is wrong and needs fixing. So that's on my list.

Log in to reply
Error messages when creating a timetable 05/02/2015 at 23:35 #68900
clive
Avatar
2736 posts
Core code bug now fixed. Obviously you won't see the fix until the next loader update.
Last edited: 05/02/2015 at 23:36 by clive
Log in to reply
The following user said thank you: northroad
Error messages when creating a timetable 06/03/2015 at 19:02 #69848
northroad
Avatar
870 posts
" said:
Core code bug now fixed. Obviously you won't see the fix until the next loader update.
Any update on when this loader update will be available please.

Geoff

Last edited: 06/03/2015 at 19:02 by northroad
Log in to reply