1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice
Like RaceDepartment on Facebook.

Problem when BTB starts: an item with same key allready exists.

Discussion in 'Bob's Track Builder' started by Erwin Greven, Feb 1, 2014.

  1. Erwin Greven

    Erwin Greven
    Premium Member

    When i start up BTB i get an error message.

    I got a Dutch version of Win XP:

    Zie het einde van dit bericht voor meer informatie over het aanroepen
    van JIT-foutopsporing (Just In Time) in plaats van dit dialoogvenster.

    ************** Tekst van uitzondering **************
    System.ArgumentException: Er bestaat al een item met dezelfde sleutel.*
    bij System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
    bij System.Collections.Generic.SortedList`2.Add(TKey key, TValue value)
    bij BobsTrackBuilder.frmXPacks.ShowXPacks()
    bij BobsTrackBuilder.frmXPacks.frmXPacks_Load(Object sender, EventArgs e)
    bij System.Windows.Forms.Form.OnLoad(EventArgs e)
    bij System.Windows.Forms.Form.OnCreateControl()
    bij System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
    bij System.Windows.Forms.Control.CreateControl()
    bij System.Windows.Forms.Control.WmShowWindow(Message& m)
    bij System.Windows.Forms.Control.WndProc(Message& m)
    bij System.Windows.Forms.ScrollableControl.WndProc(Message& m)
    bij System.Windows.Forms.ContainerControl.WndProc(Message& m)
    bij System.Windows.Forms.Form.WmShowWindow(Message& m)
    bij System.Windows.Forms.Form.WndProc(Message& m)
    bij System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    bij System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    bij System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


    ************** Geladen assembly's **************
    mscorlib
    Assembly-versie: 2.0.0.0
    Win32-versie: 2.0.50727.3649 (GDR.050727-3600)
    CodeBase: file:///F:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    ----------------------------------------
    MC
    Assembly-versie: 3.0.0.0
    Win32-versie: 2.0.50727.3649 (GDR.050727-3600)
    CodeBase: file:///F:/WINDOWS/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll
    ----------------------------------------
    System.Windows.Forms
    Assembly-versie: 2.0.0.0
    Win32-versie: 2.0.50727.3645 (GDR.050727-3600)
    CodeBase: file:///F:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System
    Assembly-versie: 2.0.0.0
    Win32-versie: 2.0.50727.3644 (GDR.050727-3600)
    CodeBase: file:///F:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Drawing
    Assembly-versie: 2.0.0.0
    Win32-versie: 2.0.50727.3644 (GDR.050727-3600)
    CodeBase: file:///F:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    †ˆŒ˜™•‰Ž†•Œ““™š
    Assembly-versie: 2.0.0.0
    Win32-versie: 2.0.50727.3649 (GDR.050727-3600)
    CodeBase: file:///F:/WINDOWS/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll
    ----------------------------------------
    License
    Assembly-versie: 1.0.0.0
    Win32-versie: 2.0.50727.3649 (GDR.050727-3600)
    CodeBase: file:///F:/WINDOWS/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll
    ----------------------------------------
    System.Management
    Assembly-versie: 2.0.0.0
    Win32-versie: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///F:/WINDOWS/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
    ----------------------------------------
    mscorlib.resources
    Assembly-versie: 2.0.0.0
    Win32-versie: 2.0.50727.3649 (GDR.050727-3600)
    CodeBase: file:///F:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    ----------------------------------------
    BobsTrackBuilder
    Assembly-versie: 0.8.0.3
    Win32-versie: 2.0.50727.3649 (GDR.050727-3600)
    CodeBase: file:///F:/WINDOWS/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll
    ----------------------------------------
    BobsBits
    Assembly-versie: 1.1.1.5
    Win32-versie: 2.0.50727.3649 (GDR.050727-3600)
    CodeBase: file:///F:/WINDOWS/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll
    ----------------------------------------
    Microsoft.DirectX
    Assembly-versie: 1.0.2902.0
    Win32-versie: 5.04.00.2904
    CodeBase: file:///F:/WINDOWS/assembly/GAC/Microsoft.DirectX/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.dll
    ----------------------------------------
    Microsoft.DirectX.Direct3D
    Assembly-versie: 1.0.2902.0
    Win32-versie: 9.05.132.0000
    CodeBase: file:///F:/WINDOWS/assembly/GAC/Microsoft.DirectX.Direct3D/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.Direct3D.dll
    ----------------------------------------
    Microsoft.DirectX.Direct3DX
    Assembly-versie: 1.0.2911.0
    Win32-versie: 9.12.589.0000
    CodeBase: file:///F:/WINDOWS/assembly/GAC/Microsoft.DirectX.Direct3DX/1.0.2911.0__31bf3856ad364e35/Microsoft.DirectX.Direct3DX.dll
    ----------------------------------------
    Microsoft.VisualC
    Assembly-versie: 8.0.0.0
    Win32-versie: 8.00.50727.3053
    CodeBase: file:///F:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualC/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualC.dll
    ----------------------------------------
    ICSharpCode.SharpZipLib
    Assembly-versie: 0.85.5.452
    Win32-versie: 0.85.5.452
    CodeBase: file:///E:/Program%20Files/BobsTrackBuilder/ICSharpCode.SharpZipLib.DLL
    ----------------------------------------
    System.Xml
    Assembly-versie: 2.0.0.0
    Win32-versie: 2.0.50727.3654 (GDR.050727-3600)
    CodeBase: file:///F:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    System.Windows.Forms.resources
    Assembly-versie: 2.0.0.0
    Win32-versie: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///F:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_nl_b77a5c561934e089/System.Windows.Forms.resources.dll
    ----------------------------------------
    System.resources
    Assembly-versie: 2.0.0.0
    Win32-versie: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///F:/WINDOWS/assembly/GAC_MSIL/System.resources/2.0.0.0_nl_b77a5c561934e089/System.resources.dll
    ----------------------------------------

    ************** JIT-foutopsporing **************
    Als u JIT-foutopsporing wilt inschakelen, moet in het configuratiebestand voor deze
    toepassing of computer (machine.config) de waarde
    jitDebugging in het gedeelte system.windows.forms zijn ingesteld.
    De toepassing moet ook zijn gecompileerd terwijl foutopsporing
    was ingeschakeld.

    Bijvoorbeeld:

    <configuration>
    <system.windows.forms jitDebugging="true" />
    </configuration>

    Wanneer JIT-foutopsporing is ingeschakeld, worden onverwerkte uitzonderingen
    naar het JIT-foutopsporingsprogramma gestuurd dat op de computer is geregistreerd
    en worden niet door dit dialoogvenster verwerkt.

    *: translates as: "an item with the same key already exists"

    When i continue i can not choose any xpack. In fact the list of xpacks is empty.
     
  2. Brendon Pywell

    Brendon Pywell
    Bob's Track Builder

    Sounds like an error relating to the XPacks. Try moving all XPacks to another folder, then add them one by one to see which one is causing the issue.
     
  3. Erwin Greven

    Erwin Greven
    Premium Member

    Could be.
    I tried to do something different. I made a backup of all the packs and projects and i reinstalled BTB. This time also the 0901 version. After this i picked one project with all the xpacks used in it's project folder. It now opens without any glitch.
    I think it is solved now.
     
  4. Erwin Greven

    Erwin Greven
    Premium Member

    Sadly, it is not solved.

    At the moment i tried even the first version i have of the TT Assen circuit.
    It opens without problems, but when i click at export, it only creates a folder "DeHaar>TT1953" but then it just stops exporting.
    When i try to delete all packs but the original ones by building it backwards, so there is only 1 track and only 1 pack, it crashes.

    I decided to rebuild the whole track again.