#7 ✓resolved
John Vanderbeck

Unhandled exception when toolset open and uninstall attempted

Reported by John Vanderbeck | December 1st, 2009 @ 11:29 PM | in Beta 2

I'm not surprised in retrospect, but I had forgotten the toolset was open at all :) When attempting to uninstall a mod with it open, an unhandled exception window is popped.

The following trace is provided:

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

Exception Text System.IO.IOException: The process cannot access the file 'C:\Users\ixokai\Documents\Bioware\Dragon Age\packages\core\data\custom_dps_items_package.erf' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.File.Delete(String path) at DAModder.DAXMLParser.DeleteModFiles(String sModUID) at DAModder.DAXMLParser.UninstallMod(String sModUID) at DAModder.Form1.button1_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.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.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Loaded Assemblies mscorlib

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll

Comments and changes to this ticket

  • John Vanderbeck

    John Vanderbeck December 1st, 2009 @ 11:29 PM

    • State changed from “new” to “open”
    • Milestone set to Beta 2

    Need to beef up checking for files in use to prevent toolset collisions. Although we should fail gracefully, we will also need to indicate that the toolset can't be running for us to work properly.

  • John Vanderbeck

    John Vanderbeck December 1st, 2009 @ 11:30 PM

    • State changed from “open” to “resolved”
    • Tag changed from bug, moduninstall to bug, moduninstall, ui

    Beta 1.3 will properly check for file access, and fail gracefully if they are locked. In addition a new dialog box has been added to inform the user:

    Uninstallation will PERMANENTLY delete the mod's files, and remove it's entry from the games Add Ins list.
    The Dragon Age Toolset must be closed before attempting to delete a mod.
    Do you wish to proceed?

    And will give the user the option to proceed or not.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

DAModder is a full featured replacement for Bioware's DAUpdater program -- with more features!

People watching this ticket

Pages