foesmm / fomm

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

Auto-Detect throws System.IO.PathTooLongException #49

Closed Rychard closed 8 years ago

Rychard commented 8 years ago

image

image

Upon clicking the Auto-Detect button, I receive the following message:

---------------------------
Error
---------------------------
Something bad seems to have happened.

As long as it wasn't too bad, a crash dump will have been saved in

C:\Users\Joshua\Documents\FOMM\crashdump.txt

Please include the contents of that file if you want to make a bug report
---------------------------
OK   
---------------------------

Here's the contents of that file:

Saturday, October 17, 2015 - 4:53:47 PM
Fomm 0.14.11.12
OS version: Microsoft Windows NT 6.2.9200.0

System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
   at Fomm.BackgroundWorkerProgressDialog.System.IDisposable.Dispose()
   at Fomm.Games.WorkingDirectorySelectionForm.butAutoDetect_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.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Anywho, I did some of the leg-work for you; here's the path that throws the exception:

C:\Git\CityWebServer\CityWebServer.Web\node_modules\bower-requirejs\node_modules\update-notifier\node_modules\latest-version\node_modules\package-json\node_modules\got\node_modules\duplexify\node_modules\end-of-stream\node_modules\once\node_modules

It's unlikely to be an issue for the vast majority of users, but it's something to be aware of, I suppose.