- marked as critical
Error message when renaming a ROM so its thumbnail would update
I have two dumps of an Atari 2600 ROM - the first called "BASIC Programming ~" with no box art, and the second "BASIC Programming" with working art/thumbnail. I renamed the first to remove the tilde so it would use my existing box art. The thumbnail for the newly-renamed game didn't update and this error message appeared.
System.IO.IOException: The file or directory is corrupted and unreadable.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileSystemEnumerableIterator1.CommonInit()
at System.IO.FileSystemEnumerableIterator
1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
at System.IO.Directory.GetFiles(String path, String searchPattern)
at LaunchBox.Data.Game.GetAllCacheFilePaths()
at (Game )
at LaunchBox.Caching.ImageCache.Invalidate(Game game)
at LaunchBox.Drawing.GameGui.RefreshImage()
at (ImageGamesControl , String )
at LaunchBox.Controls.ImageGamesControl.UpdateGame(String id)
at (MainForm , Game )
at LaunchBox.Forms.MainForm.EditGame(Game game)
at (MainForm , Object , EventArgs )
at LaunchBox.Forms.MainForm.editButton_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, 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)
Comments (3)
-
-
repo owner Hi Anonymous, "The file or directory is corrupted and unreadable" is a scary error message; it usually (perhaps not always, but usually) means there's either file system corruption or a corrupt hard drive. That's my best guess as to what's going on here, sadly. If you can get back to me here, I can probably help you troubleshoot it. I'm gonna mark this invalid though for now.
-
repo owner - changed status to invalid
- Log in to comment