foesmm / fomm

Fallout Mod Manager
GNU General Public License v3.0
72 stars 24 forks source link

Crash when deleting fomod with read only flag #32

Open ghost opened 9 years ago

ghost commented 9 years ago

Not sure why that fomod was read only, somewhat my fault but still probably shouldn't crash.

Before you ask, yes I'm using FOMM again and not MO, tired of fighting with it.

Wednesday, May 06, 2015 - 6:16:50 AM Fomm 0.14.11.12 OS version: Microsoft Windows NT 6.1.7601 Service Pack 1

System.UnauthorizedAccessException: Access to the path 'J:\Games\Tale of Two Wastelands\MODS\streelights_ttw_kh.fomod' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.File.InternalDelete(String path, Boolean checkHost) at Fomm.PackageManager.PackageManager.deleteToolStripMenuItem_Click(Object sender, EventArgs e) at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ToolStrip.WndProc(Message& m) at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)