Unusual OR error

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Shawmut
    Senior Member

    • Oct 2008
    • 548
    • Albuquerque, New Mexico, USA
    • General

    #1

    Unusual OR error

    First, let me give my heart-felt thanks to the OR team; ever since it came out I've been doing the majority of my simming on it. Some of my routes, like my French La-Bastille route, are so object intensive that OR is the only way I can get them to run smoothly. I love this front-end to MSTS and can't wait for further developments.

    Second, and before I get to my question, a brief review of my specs: Dell XPS 710, Intel Core 2 Quad Q6600 @ 2.4Ghz, 4 Gigs of Corsair Dominator DDR2 ram, NVIDIA GForce GT 240, Creative X-Fi Audio Processor. I'm using the latest version of Open Rails: 0.6.1.677, Build: 0.0.4105.20083 03/29/2011 Tue 12:09 PM

    All of my routes are setup as mini-installs, and all, with the exception of the following GT Holly Sub route, work very well in OR. In some cases I've had to fiddle with files to get a route running in OR, but the log that gets put on the desktop has unerringly pointed me to the errors in question that have been easy to fix.

    Not so, unfortunately, with the GT Holly Sub. route. I get the following error with that route; at this point the installation stops. And the log file, as you will see, does not point to a specific file for me to fix:

    runactivity.exe : Error : 0 : System.IndexOutOfRangeException: Index was outside the bounds of the array.
    at ORTS.Interlocking.InterlockingSwitch.ComputeGeomet ry()
    at ORTS.Interlocking.InterlockingSwitch..ctor(Simulat or simulator, TrJunctionNode switchObject, Int32 trJunctionNodeIndex)
    at ORTS.Interlocking.InterlockingSystem.CreateSwitche s()
    at ORTS.Interlocking.InterlockingSystem..ctor(Simulat or simulator)
    at ORTS.Simulator.Start()
    at ORTS.Program.<>c__DisplayClass8.<Start>b__7()
    at ORTS.Program.Start(IEnumerable`1 options, String[] args)

    Any ideas?

    Cheers,

    Dave
  • kraus
    1000 Post Veteran

    • Jan 2001
    • 1086
    • Madison, Wisconsin
    • General

    #2
    This error may refer to a junction in a world file that is not in the track database. Run TsUtils on the route and near the end of the log is a section titled Check references to databases(track/road) for sake of completeness!

    An example from the Monon-2 route is

    Track (-11499 14344 720) is NOT referenced in trackdatabase!

    Examine track object UiD ( 720) in world file w-011499+014344.w to determine if it is a junction.

    Comment

    • Shawmut
      Senior Member

      • Oct 2008
      • 548
      • Albuquerque, New Mexico, USA
      • General

      #3
      Originally posted by krausyao
      This error may refer to a junction in a world file that is not in the track database. Run TsUtils on the route and near the end of the log is a section titled Check references to databases(track/road) for sake of completeness!

      An example from the Monon-2 route is

      Track (-11499 14344 720) is NOT referenced in trackdatabase!

      Examine track object UiD ( 720) in world file w-011499+014344.w to determine if it is a junction.
      Hi Jeffrey,

      Thanks for your input. I ran tsutils and the "Check references to databases(track/road) produced the following road (not track) error:

      Check references to databases(track/road) for sake of completeness!
      Road (-11396 14478 853) is NOT referenced in roaddatabase!


      0 Track-Definitions are NOT referenced in trackdatabase!
      1 Road-Definitions are NOT referenced in roaddatabase!

      Would a lack of a road definition cause OR to hang?

      Cheers,

      Dave

      Comment

      • kraus
        1000 Post Veteran

        • Jan 2001
        • 1086
        • Madison, Wisconsin
        • General

        #4
        No, that road would not cause the problem with Open Rails. Your problem at first seemed like the one affecting the London and South East route described at http://forums.makingtracks-online.co...hp?f=12&t=3988 and http://forums.uktrainsim.com/viewtop...11631#p1369640

        I am currently working on the Monon 2 route but perhaps in a week I could take a look at the GT Holly Sub route, gthollyv2.zip

        Another possibility is a junction node that at ends at a red pole. Run TSUtils and look for errors about ending at a 0-node.
        Last edited by kraus; 06-19-2011, 20:59.

        Comment

        • Shawmut
          Senior Member

          • Oct 2008
          • 548
          • Albuquerque, New Mexico, USA
          • General

          #5
          Originally posted by krausyao
          No, that road would not cause the problem with Open Rails. Your problem at first seemed like the one affecting the London and South East route described at http://forums.makingtracks-online.co...hp?f=12&t=3988 and http://forums.uktrainsim.com/viewtop...11631#p1369640

          I am currently working on the Monon 2 route but perhaps in a week I could take a look at the GT Holly Sub route, gthollyv2.zip

          Another possibility is a junction node that at ends at a red pole. Run TSUtils and look for errors about ending at a 0-node.
          Thanks, Jeffrey. It's time to head off now, but I'll check out that TSUtils report I did and see what I can find and then report back. And thank you for your very kind offer!

          Cheers,

          Dave

          Comment

          • twpol
            Senior Member
            • Oct 2009
            • 434
            • United Kingdom

            #6
            Originally posted by Shawmut
            runactivity.exe : Error : 0 : System.IndexOutOfRangeException: Index was outside the bounds of the array.
            at ORTS.Interlocking.InterlockingSwitch.ComputeGeomet ry()
            This usually means the route has a 3-way switch (or any switch with more than 2 ways), which this part of the incomplete signalling and dispatch system cannot yet cope with.
            James Ross
            Open Rails Management Team
            sigpic

            Comment

            • kraus
              1000 Post Veteran

              • Jan 2001
              • 1086
              • Madison, Wisconsin
              • General

              #7
              This route does have two 3-way switches. To finds these switches search for TrPins ( 1 3 in the track database. The first attribute 1 is the number of paths into the junction and the second attribute 3 is the number of paths exiting the junction.

              TrackNode ( 783
              TrJunctionNode ( 0 39896 1 )
              UiD ( -11368 14464 113 0 -11368 14464 113.246 295.874 810.962 0 -1.56432 0 )
              TrPins ( 1 3
              TrPin ( 770 0 )
              TrPin ( 784 1 )
              TrPin ( 833 0 )
              TrPin ( 788 1 )
              )
              )

              TrackNode ( 792
              TrJunctionNode ( 0 39896 1 )
              UiD ( -11368 14463 112 0 -11368 14463 -526.29 297.445 802.494 0 -0.798415 0 )
              TrPins ( 1 3
              TrPin ( 786 0 )
              TrPin ( 797 1 )
              TrPin ( 799 1 )
              TrPin ( 803 1 )
              )
              )

              The second attribute of TrJunctionNode is the track shape of the switch, an A1t3WayPnt10dMnl.s.

              TrackShape ( 39896
              FileName ( A1t3WayPnt10dMnl.s )
              NumPaths ( 3 )
              MainRoute ( 1 )
              ClearanceDist ( 26 )
              SectionIdx ( 2 0 0 0 0 183 175 )
              SectionIdx ( 1 0 0 0 0 179 )
              SectionIdx ( 2 0 0 0 0 183 176 )
              ManualJunctionShape ( )
              )

              Comment

              • Shawmut
                Senior Member

                • Oct 2008
                • 548
                • Albuquerque, New Mexico, USA
                • General

                #8
                Originally posted by twpol
                This usually means the route has a 3-way switch (or any switch with more than 2 ways), which this part of the incomplete signalling and dispatch system cannot yet cope with.
                Okay, thank you both for the information. I'll just wait for the next release; it's not like I don't have tons of other routes to run in OR right now!

                Cheers,

                Dave

                Comment

                Working...