IPB
viagra super force buy buy online

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Problem With AG4 Canton Template
Guest_xxmikexx_*
post Aug 22 2012, 09:32 PM
Post #1





Guests






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.
Go to the top of the page
 
+Quote Post
dgionet
post Aug 24 2012, 04:05 PM
Post #2


Train Master
*****

Group: Members
Posts: 1,014
Joined: 4-February 07
From: Canada
Member No.: 21



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.


--------------------
Denis Gionet
Go to the top of the page
 
+Quote Post
jrmeindl
post Aug 25 2012, 09:51 AM
Post #3


Train Master
*****

Group: Members
Posts: 287
Joined: 6-January 07
From: United States
Member No.: 14



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
Go to the top of the page
 
+Quote Post
Guest_xxmikexx_*
post Aug 25 2012, 10:35 AM
Post #4





Guests






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.
Go to the top of the page
 
+Quote Post
Guest_xxmikexx_*
post Aug 25 2012, 02:30 PM
Post #5





Guests






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.
Go to the top of the page
 
+Quote Post
dgionet
post Aug 25 2012, 08:40 PM
Post #6


Train Master
*****

Group: Members
Posts: 1,014
Joined: 4-February 07
From: Canada
Member No.: 21



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.







--------------------
Denis Gionet
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 28th March 2024 - 02:46 AM
viagra super force bitcoin