Hello, new user here, i'm having this problem with launchbox. It gives me an error message when i'm trying to clean up media or when im browsing certain images, for example a gameplay screenshot (through LB).
The error is this:
Could not find file 'F:\EMULATION\EXODOS\eXoDOS_Lite\Images\MS-DOS\Box - Front\Europe \Humans 1 and 2-02.jpg'.
App: LaunchBox
Version: 13.2
Type: System.IO.FileNotFoundException
Site: Microsoft.Win32.SafeHandles.SafeFileHandle ValidateFileHandle(Microsoft.Win32.SafeHandles.SafeFileHandle)
Source: System.Private.CoreLib
at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)
at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
at System.IO.File.ReadAllBytes(String path)
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.CleanUpMediaGridViewModel.<>c.RunNotificationProxy(String path)
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.CleanUpMediaGridViewModel.CloneNotificationWorker(IReadOnlyList`1 value)
at AnnotationParser.EnableIterableFacade(Object , IReadOnlyList`1 value, AnnotationParser )
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.CleanUpMediaGridViewModel.<>c__DisplayClass72_0.ExcludeNotificationProxy()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.ThreadHelper.ThreadStart()
Recent Log:
7:59:44 πμ Exception
EDIT: I ve used the log option and this is what ive i got, im posting a small portion of it so it wont be considered spam or anything.
The rest of it pretty much repeats the same errors for the rest of the images so i think this part should be enough.
2023-03-31 05:24:43 PM FIRST CHANCE EXCEPTION: Could not load file or assembly 'F:\EMULATION\EXODOS\eXoDOS_Lite\Core\Unbroken.LaunchBox.Windows.XmlSerializers.dll'. The system cannot find the file specified.
at System.Runtime.Loader.AssemblyLoadContext.LoadFromPath(IntPtr ptrNativeAssemblyLoadContext, String ilPath, String niPath, ObjectHandleOnStack retAssembly)
2023-03-31 05:24:44 PM DataManager.SaveInternal started.
2023-03-31 05:24:44 PM Saving InputBindings.xml...
2023-03-31 05:24:44 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Activated Start
2023-03-31 05:24:44 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Activated Before JoystickTimer Enabled Set
2023-03-31 05:24:44 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Activated Before Resume Video
2023-03-31 05:24:44 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Activated Before Check Already Focused
2023-03-31 05:24:44 PM Saving ListCache.xml...
2023-03-31 05:24:44 PM Saving Settings.xml...
2023-03-31 05:24:44 PM Saving BigBoxSettings.xml...
2023-03-31 05:24:44 PM DataManager.SaveInternal completed successfully.
2023-03-31 05:24:45 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.StateChanged Start
2023-03-31 05:24:45 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.StateChanged Before Notify Maximize Visibility
2023-03-31 05:24:45 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.StateChanged Before Notify Restore Visibility
2023-03-31 05:24:45 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.StateChanged Before Notify Window Controls Margin
2023-03-31 05:24:45 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.StateChanged Before Set Window Border Visibility
2023-03-31 05:24:45 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.StateChanged Before Notify Window Border Visibility
2023-03-31 05:24:45 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.StateChanged Completed
2023-03-31 05:24:45 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Deactivated Start
2023-03-31 05:24:45 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Deactivated Before Pause Video
2023-03-31 05:24:45 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Deactivated Completed
2023-03-31 05:24:47 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Activated Start
2023-03-31 05:24:47 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Activated Before JoystickTimer Enabled Set
2023-03-31 05:24:47 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Activated Before Resume Video
2023-03-31 05:24:47 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Activated Before Check Already Focused
2023-03-31 05:24:47 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.StateChanged Start
2023-03-31 05:24:47 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.StateChanged Before Notify Maximize Visibility
2023-03-31 05:24:47 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.StateChanged Before Notify Restore Visibility
2023-03-31 05:24:47 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.StateChanged Before Notify Window Controls Margin
2023-03-31 05:24:47 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.StateChanged Before Set Window Border Visibility
2023-03-31 05:24:47 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.StateChanged Before Notify Window Border Visibility
2023-03-31 05:24:47 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.StateChanged Completed
2023-03-31 05:24:49 PM GameDetailsViewModel AttachView LoadVideoMusic Start
2023-03-31 05:24:49 PM Music.Play Start
2023-03-31 05:24:49 PM GameDetailsViewModel AttachView LoadVideoMusic Completed
2023-03-31 05:24:49 PM Music.Kill Start
2023-03-31 05:24:49 PM Music.Kill Finished
2023-03-31 05:24:49 PM Music.Play Empty Music Path
2023-03-31 05:24:49 PM Music.NotifyTrackList Start
2023-03-31 05:24:49 PM Music.NotifyTrackList Invoke WPF
2023-03-31 05:24:49 PM GameDetailsViewModel.Dispose: Begin...
2023-03-31 05:24:49 PM GameDetailsViewModel.Dispose: Marked disposed true...
2023-03-31 05:24:49 PM GameDetailsViewModel.Dispose: Star rating faded nulling...
2023-03-31 05:24:49 PM GameDetailsViewModel.Dispose: Video control dispose...
2023-03-31 05:24:49 PM GameDetailsViewModel.Dispose: Video control nulling...
2023-03-31 05:24:49 PM GameDetailsViewModel.Dispose: Invoking UI thread...
2023-03-31 05:24:49 PM GameDetailsViewModel.Dispose: Nulling out all image sources...
2023-03-31 05:24:49 PM GameDetailsViewModel.Dispose: Completed.
2023-03-31 05:24:56 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Deactivated Start
2023-03-31 05:24:56 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Deactivated Before Pause Video
2023-03-31 05:24:56 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Deactivated Completed
2023-03-31 05:25:03 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Activated Start
2023-03-31 05:25:03 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Activated Before JoystickTimer Enabled Set
2023-03-31 05:25:03 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Activated Before Resume Video
2023-03-31 05:25:03 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Activated Before Check Already Focused
2023-03-31 05:25:03 PM FIRST CHANCE EXCEPTION: Could not find file 'F:\EMULATION\EXODOS\eXoDOS_Lite\Images\MS-DOS\Box - Front\Europe \Humans 1 and 2-02.jpg'.
at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)
2023-03-31 05:25:03 PM FIRST CHANCE EXCEPTION: Could not find file 'F:\EMULATION\EXODOS\eXoDOS_Lite\Images\MS-DOS\Box - Front\Europe \Humans 1 and 2-02.jpg'.
at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)
at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
at System.IO.File.ReadAllBytes(String path)
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.CleanUpMediaGridViewModel.<>c.RunNotificationProxy(String path)
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.CleanUpMediaGridViewModel.CloneNotificationWorker(IReadOnlyList`1 value)
at AnnotationParser.EnableIterableFacade(Object , IReadOnlyList`1 value, AnnotationParser )
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.CleanUpMediaGridViewModel.<>c__DisplayClass72_0.ExcludeNotificationProxy()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2023-03-31 05:25:03 PM DISPLAYED EXCEPTION: Could not find file 'F:\EMULATION\EXODOS\eXoDOS_Lite\Images\MS-DOS\Box - Front\Europe \Humans 1 and 2-02.jpg'.
at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)
at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
at System.IO.File.ReadAllBytes(String path)
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.CleanUpMediaGridViewModel.<>c.RunNotificationProxy(String path)
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.CleanUpMediaGridViewModel.CloneNotificationWorker(IReadOnlyList`1 value)
at AnnotationParser.EnableIterableFacade(Object , IReadOnlyList`1 value, AnnotationParser )
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.CleanUpMediaGridViewModel.<>c__DisplayClass72_0.ExcludeNotificationProxy()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
I've tried to reinstall LB and reload older settings as well but nothing helps.
The images that give the error are accessed normally from outside LB so its not HDD issue.
I guess i can always try to delete all the images and see if it works but i would like to avoid that if i can.
Thanks in advance.