Package manager Problem

General discussion about RailWorks, your thoughts, questions, news and views!

Moderator: Moderators

Locked
btvboxer
Well Established Forum Member
Posts: 635
Joined: Fri Jun 17, 2011 4:12 pm

Package manager Problem

Post by btvboxer »

I've been trying to install the British Tramway Route but whenever I select it this errors comes up:
''Unhandled exception has occured in your application. If you click Continue, the application will ignoe this error and attempt to continue. If you click Quit, the application will close immediately.

Cannot find central directory.

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
ICSharpCode.SharpZipLib.Zip.ZipException: Cannot find central directory
at ICSharpCode.SharpZipLib.Zip.ZipFile.ReadEntries()
at ICSharpCode.SharpZipLib.Zip.ZipFile..ctor(FileStream file)
at WrapperNS.Wrapper.ProcessRPK(String rpkFilename, String piFilename, String defaultAuthor, eProtection defaultProtection)
at WrapperNS.Wrapper.PackageInstall(String filename)
at WrapperNS.Wrapper.PackageInstall()
at WrapperNS.Wrapper.PackageInstallBtn_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.269 (RTMGDR.030319-2600)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
RailWorks
Assembly Version: 2.0.0.1
Win32 Version: 2.0.0.1
CodeBase: file:///C:/program%20files%20(x86)/steam/steamapps/common/railworks/RailWorks.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.278 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.282 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.269 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.233 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
m1q5caox
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.269 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
ICSharpCode.SharpZipLib
Assembly Version: 0.85.5.452
Win32 Version: 0.85.5.452
CodeBase: file:///C:/program%20files%20(x86)/steam/steamapps/common/railworks/ICSharpCode.SharpZipLib.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

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

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.''

I have verified cache and it's still not fixed.

btv
User avatar
FoggyMorning
Very Active Forum Member
Posts: 5382
Joined: Sun Apr 25, 2010 1:16 am
Location: In the not too distant future, next Sunday A.D.

Re: Package manager Problem

Post by FoggyMorning »

Try using 7zip to extract the contents of the .rwp file and manually copy the folders over
btvboxer
Well Established Forum Member
Posts: 635
Joined: Fri Jun 17, 2011 4:12 pm

Re: Package manager Problem

Post by btvboxer »

It says that it cannot open the file and that there's an error.

btv
User avatar
FoggyMorning
Very Active Forum Member
Posts: 5382
Joined: Sun Apr 25, 2010 1:16 am
Location: In the not too distant future, next Sunday A.D.

Re: Package manager Problem

Post by FoggyMorning »

I think you may have a bad download, as I have just tried the above myself with no problems. I suggest you try downloading the file again
btvboxer
Well Established Forum Member
Posts: 635
Joined: Fri Jun 17, 2011 4:12 pm

Re: Package manager Problem

Post by btvboxer »

Thanks! It works now! :D

btv
Locked

Return to “[RW] General RW Discussion”