IPB
viagra super force buy buy online

Welcome Guest ( Log In | Register )

Run-time error 6?
sgdavis
post Oct 7 2007, 08:40 AM
Post #1


Train Master
*****

Group: Root Admin
Posts: 727
Joined: 1-October 03
From: United States
Member No.: 1



I have received a couple of reports from users that they will see a Run-time error 6 when trying to replace rolling stock using Activity Master. I have never seen this error or caused it to occur. However I've seen it on other people's machines, and it is nearly always caused by a file or file structure error in the user's \TRAINSET folder. Our suggestion is to run Conbuilder or RouteRiter, both excellent and in my opinion "Must have" utilities, to check all the rolling stock files first, before using Activity Master to replace.

I will continue to try and hunt down this elusive run-time error and come up with a better way for Activity Master to dea with it or a better more informative error message, however so far every time I have seen this it has been curable by using Route Riter or ConBuilder.

Some users have reported this on only one route. In that case it's generally because the user is using TrainStore (which I use and also highly recommend), and, when the rolling stock giving the problems is "stored" (because the route is stored) then the problems go away, and when that rolling stock is unstored the problems appear.

If you DO get this error please post to this forum, I want to track it down. I'll want to know what route and what activity you were working on.

Thanks,

Steve


--------------------
Steve Davis Skyline Computing SteveDavis@SkylineComputing.com
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
jrmeindl
post Nov 4 2007, 10:00 PM
Post #2


Train Master
*****

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



QUOTE(sgdavis @ Oct 7 2007, 09:40 AM) *
I have received a couple of reports from users that they will see a Run-time error 6 when trying to replace rolling stock using Activity Master. I have never seen this error or caused it to occur. However I've seen it on other people's machines, and it is nearly always caused by a file or file structure error in the user's \TRAINSET folder. Our suggestion is to run Conbuilder or RouteRiter, both excellent and in my opinion "Must have" utilities, to check all the rolling stock files first, before using Activity Master to replace.

I will continue to try and hunt down this elusive run-time error and come up with a better way for Activity Master to dea with it or a better more informative error message, however so far every time I have seen this it has been curable by using Route Riter or ConBuilder.

Some users have reported this on only one route. In that case it's generally because the user is using TrainStore (which I use and also highly recommend), and, when the rolling stock giving the problems is "stored" (because the route is stored) then the problems go away, and when that rolling stock is unstored the problems appear.

If you DO get this error please post to this forum, I want to track it down. I'll want to know what route and what activity you were working on.

Thanks,

Steve



Hi Steve,

I had just downloaded an activity for the Freeware Cajon Pass route. The file is bnsfemp.zip at Train-Sim. When I loaded this activity into Activity Master, I had approximately 660 unknown pieces of rolling stock that was not located on my hard drive. If I tried to replace stock, I got the runtime error 6. It didn't matter whether I used a specific list or let AM choose for me. I've never had this error show up before, and after reading some of the messages here, I was wondering if there could be something wrong in one of the trainset folders. That would make sense if it had been happening all along. This activity has 20 AI services along with the player consist and some cars on sidings. I manually edited the activity file down to 5 AI services. That brought the number of cars needing replacement down just under 200. Activity Master was then able to swap out cars using a specific list or any of it's own choosing. I then added the services again to the activity file in groups of 5 until I was able to have all of them replaced so I could run the activity as the author uploaded it. For my problem here, it seems the number of unknown cars, or ones not on my drive, was limited to around 200. I am using version 1.5.8.

Jim
Go to the top of the page
 
+Quote Post
sgdavis
post Nov 5 2007, 06:39 AM
Post #3


Train Master
*****

Group: Root Admin
Posts: 727
Joined: 1-October 03
From: United States
Member No.: 1



QUOTE(jrmeindl @ Nov 4 2007, 10:00 PM) *
Hi Steve,

I had just downloaded an activity for the Freeware Cajon Pass route. The file is bnsfemp.zip at Train-Sim. When I loaded this activity into Activity Master, I had approximately 660 unknown pieces of rolling stock that was not located on my hard drive. If I tried to replace stock, I got the runtime error 6. It didn't matter whether I used a specific list or let AM choose for me. I've never had this error show up before, and after reading some of the messages here, I was wondering if there could be something wrong in one of the trainset folders. That would make sense if it had been happening all along. This activity has 20 AI services along with the player consist and some cars on sidings. I manually edited the activity file down to 5 AI services. That brought the number of cars needing replacement down just under 200. Activity Master was then able to swap out cars using a specific list or any of it's own choosing. I then added the services again to the activity file in groups of 5 until I was able to have all of them replaced so I could run the activity as the author uploaded it. For my problem here, it seems the number of unknown cars, or ones not on my drive, was limited to around 200. I am using version 1.5.8.

Jim


Jim,

This is very helpful. I will cull through my code and see it the number of unknowns is in fact limited to 200. That would indeed be an error I would need to fix and might solve this "Run time error 6" for a lot of users! For those interested in programming, run time error 6 means than an array index was accessed beyond it's boundaries, and that could be happening if the boundary is set at 200. I'll check it out and if so post a fix, THANKS!

Nice detective work, thanks for your perseverance in finding this.

Sincerely,

Steve Davis


--------------------
Steve Davis Skyline Computing SteveDavis@SkylineComputing.com
Go to the top of the page
 
+Quote Post
jrmeindl
post Nov 5 2007, 12:35 PM
Post #4


Train Master
*****

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



QUOTE(sgdavis @ Nov 5 2007, 06:39 AM) *
Jim,

This is very helpful. I will cull through my code and see it the number of unknowns is in fact limited to 200. That would indeed be an error I would need to fix and might solve this "Run time error 6" for a lot of users! For those interested in programming, run time error 6 means than an array index was accessed beyond it's boundaries, and that could be happening if the boundary is set at 200. I'll check it out and if so post a fix, THANKS!

Nice detective work, thanks for your perseverance in finding this.

Sincerely,

Steve Davis



Steve,

You're welcome. It was just a long shot when I edited the activity file. I remembered you made an edit to the code for AG, when Denis made the Burton-Derby template, changing the number of allowable sidings. That gave me the idea to limit the number of cars I would have to replace.

Jim
Go to the top of the page
 
+Quote Post

Posts in this topic
sgdavis   Run-time error 6?   Oct 7 2007, 08:40 AM
beechcaptain   I had it happen to me last night after using the E...   Oct 10 2007, 11:34 AM
sgdavis   QUOTE(beechcaptain @ Oct 10 2007, 12:34 P...   Oct 11 2007, 11:06 AM
beechcaptain   Well, I have not been able to duplicate the proble...   Oct 13 2007, 09:33 AM
sgdavis   QUOTE(beechcaptain @ Oct 13 2007, 10:33 A...   Oct 14 2007, 08:21 AM
beechcaptain   Steve, The weathered Ga-152 can be found at Train...   Oct 14 2007, 03:45 PM
TrainSkinner   hi... i got A.M. quite a while ago... i've use...   Oct 31 2007, 06:23 PM
sgdavis   QUOTE(TrainSkinner @ Oct 31 2007, 06:23 P...   Nov 4 2007, 09:55 PM
sgdavis   QUOTE(TrainSkinner @ Oct 31 2007, 06:23 P...   Nov 8 2007, 07:04 PM
jrmeindl   QUOTE(sgdavis @ Oct 7 2007, 09:40 AM) I h...   Nov 4 2007, 10:00 PM
sgdavis   QUOTE(jrmeindl @ Nov 4 2007, 10:00 PM) Hi...   Nov 5 2007, 06:39 AM
jrmeindl   QUOTE(sgdavis @ Nov 5 2007, 06:39 AM) Jim...   Nov 5 2007, 12:35 PM
sgdavis   QUOTE(jrmeindl @ Nov 5 2007, 12:35 PM) St...   Nov 8 2007, 06:47 PM
jrmeindl   QUOTE(sgdavis @ Nov 8 2007, 06:47 PM) Jim...   Nov 9 2007, 08:25 AM
sgdavis   QUOTE(jrmeindl @ Nov 9 2007, 08:25 AM) St...   Nov 10 2007, 08:13 PM
jrmeindl   QUOTE(sgdavis @ Nov 10 2007, 08:13 PM) Ji...   Nov 11 2007, 12:26 PM
sgdavis   QUOTE(jrmeindl @ Nov 11 2007, 12:26 PM) H...   Nov 13 2007, 04:20 PM
jrmeindl   QUOTE(sgdavis @ Nov 13 2007, 04:20 PM) Ji...   Nov 13 2007, 08:31 PM
jrmeindl   QUOTE(jrmeindl @ Nov 13 2007, 08:31 PM) H...   Nov 15 2007, 07:21 PM
sgdavis   QUOTE(jrmeindl @ Nov 15 2007, 07:21 PM) H...   Nov 15 2007, 08:21 PM
sgdavis   QUOTE(jrmeindl @ Nov 15 2007, 08:21 PM) H...   Sep 15 2008, 06:09 PM
jrmeindl   QUOTE(sgdavis @ Sep 15 2008, 07:09 PM) Ji...   Sep 15 2008, 07:43 PM
sgdavis   QUOTE(jrmeindl @ Sep 15 2008, 08:43 PM) H...   Sep 16 2008, 06:28 PM
jrmeindl   QUOTE(sgdavis @ Sep 16 2008, 07:28 PM) Ji...   Sep 17 2008, 11:20 AM
sgdavis   QUOTE(jrmeindl @ Sep 17 2008, 12:20 PM) S...   Sep 17 2008, 02:14 PM
jrmeindl   QUOTE(sgdavis @ Sep 17 2008, 03:14 PM) Ji...   Sep 20 2008, 08:52 AM
sgdavis   QUOTE(jrmeindl @ Sep 20 2008, 09:52 AM) S...   Sep 20 2008, 02:30 PM
TrainSkinner   QUOTE(sgdavis @ Nov 10 2007, 07:13 PM) Ji...   Nov 11 2007, 02:17 PM
Curt   Hi Everybody, I'm new to this product (purchas...   May 24 2008, 09:40 AM
sgdavis   QUOTE(Curt @ May 24 2008, 10:40 AM) Hi Ev...   Jun 2 2008, 06:36 PM
highdesertdave2   Hi, Steve I too have received the "Run Time...   May 24 2008, 11:12 AM
Curt   Any help/advise on this "Run-time error 6...   May 28 2008, 06:53 AM
nbeveridge   QUOTE(Curt @ May 28 2008, 06:53 AM) Any h...   May 29 2008, 05:44 PM
Curt   No problem, I fully understand. Even though I...   May 30 2008, 06:27 AM
farrmp   Sorry All. . . Problem solved. . . My ...   Jun 5 2008, 12:32 AM
sgdavis   QUOTE(farrmp @ Jun 5 2008, 01:32 AM) Sorr...   Jun 12 2008, 10:26 PM
highdesertdave2   QUOTE(sgdavis @ Oct 7 2007, 07:40 AM) I h...   Sep 1 2008, 01:10 PM
sgdavis   QUOTE(highdesertdave2 @ Sep 1 2008, 02:10...   Sep 4 2008, 05:37 AM


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: 12th September 2025 - 03:23 PM
viagra super force bitcoin