Help - Search - Members - Calendar
Full Version: Problem With AG4 Canton Template
Skyline User's Forum > > Templates
xxmikexx
Hi Denis,

A search of the forum for the keyword "Canton" didn't turn up anything on the issue below, which surprised me at first because the symptom I got was so fundamental that I didn't immediately see how anybody else could have avoided it. That being the case, it's probably simply a recent Canton AG4 template repackaging error of some kind as opposed to something wrong with the template as such.

What's happening is that if I try open the Westbound path file I'm presented with data that clearly relates to an eastbound trip, GroveCity-to-Interchange. And if I try to open the supposed Eastbound path, AG4 complains that it can't find "region 100", whatever that means. (I think that was the number.)

Don't get me wrong -- I'm thrilled to have the path that works, thanks for creating it. But my Canton life would be complete if I could run the other direction too. smile.gif Any help you can give will be greatly appreciated, and thanks for tackling such a complex template on behalf of the rest of us.

thx,
Mike McCarthy

EDIT: I meant .csv file in paragraph two above, not path file.
dgionet
Hi Mike,

I have reloaded the Canton template and have done some checking again. It has been a while since I have used it, so I will try to remember.

One thing you mention has been experienced in the past, related to the region 100 error. It did occur again this week.Again I can't figure it out since the 100 region number ( or others which may appear in similar messages) is present in the SWLTDBCantonLOCALS file. But this message appears only occasionally. It does the same with the YARDS template. When this happens, I usually exit the program and reload it and am able to load the template and create a SLG generated activity. I have been able to create activities this week with all four templates.

As to the paths mentioned (Interchange to Grove City or the other way) the SLG-generated act for the EB and WB uses the proper path direction.

In the package, there are one template for the EB and the WB. Each template has only one path and is set on the right direction. The other two are the LOCALS and the YARDS templates and they are the ones which generates occasionally this message.

I will try to look it again if I can find the issue which generates sometimes this message. But that shouldn't prevent the user to create successfully SLG acts.
jrmeindl
Denis,

Did you try changing the Region 100 to something else like 100A or anything else different than what is in all the templates? I would try that and see if it follows along with the new Region ID.

Jim
xxmikexx
QUOTE(dgionet @ Aug 24 2012, 04:05 PM) *
Hi Mike,

I have reloaded the Canton template and have done some checking again. It has been a while since I have used it, so I will try to remember.

One thing you mention has been experienced in the past, related to the region 100 error. It did occur again this week.Again I can't figure it out since the 100 region number ( or others which may appear in similar messages) is present in the SWLTDBCantonLOCALS file. But this message appears only occasionally. It does the same with the YARDS template. When this happens, I usually exit the program and reload it and am able to load the template and create a SLG generated activity. I have been able to create activities this week with all four templates.

As to the paths mentioned (Interchange to Grove City or the other way) the SLG-generated act for the EB and WB uses the proper path direction.

In the package, there are one template for the EB and the WB. Each template has only one path and is set on the right direction. The other two are the LOCALS and the YARDS templates and they are the ones which generates occasionally this message.

I will try to look it again if I can find the issue which generates sometimes this message. But that shouldn't prevent the user to create successfully SLG acts.


Thanks for the reload, Denis, and for the quick response.

It does indeed seem to work every time if each run of the activity generator is from a cold start (as opposed to generating another activity in the same session). This suggests to me, a C/asm programmer, that the problem is not in the template but is somehow in AG4 itself, a failure to fully re-initialize all variables when a second or later run is made in the same session.

I say this because I was able to make it fail by trying to generate a local activity immediately after generating an eastbound activity in the same session. This time it reported region 82 as the error, not 100, suggesting that the region number that gets reported is somehow dependent on whatever data was generated in the previous run of the same AG4 session.

Anyway, it's obviously not a big deal if the user is aware in advance that the system should be used once only per session.

I did not bother to retest the original installation, which I destroyed in order to make room for the installation of your revised upload. Presumably it would have worked just as well if I had followed the use-once-only rule that you suggested.
xxmikexx
Some additional remarks ...

I think that Denis's rule of running AG4 once and once only may explain why I no longer get "read past end-of-file" and other similar weird messages. As discussed elsewhere I had been running it once only to set switches to manual, and once only to set signals to permissive, but until Denis remarks I had no explanation for the disappearance of these weird errors, which these forums clearly show have been encountered by others too.

So that's going to be my policy from now on -- run AG4 once only. My guess is that I will never have another failure that can't be reproduced easily.
dgionet
QUOTE(jrmeindl @ Aug 25 2012, 09:51 AM) *
Denis,

Did you try changing the Region 100 to something else like 100A or anything else different than what is in all the templates? I would try that and see if it follows along with the new Region ID.

Jim



Hi Jim,

Have changed some region numbers in the PRO and the SWLTDB files for the LOCALS and YARDS templates. Have done this at least twice. The error message still repeats once in a while. It usually appears the first time AG opens the designated files. When AG exits and reopens, it usually gets through to open the templates and generates the SLG-activities. It is only with Canton that I have experienced this issue.





This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.