Jump to content
LaunchBox Community Forums

Launchbox is crashing when trying to access certain images.


Pelekis

Recommended Posts

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.

Edited by Pelekis
Link to comment
Share on other sites

On 3/31/2023 at 7:33 AM, Pelekis said:

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.

I saw a similar thread recently and I think the culprit was 1 or more images were corrupted. So the solution was to delete the impacted images and redownload them.  I would give that a shot if you haven't tried it already and have no other alternatives

Link to comment
Share on other sites

I've tried deleting them but the same pictures keep giving me the same error when they are downloading.

 

They only thing that worked was to convert the problematic pictures 1 by 1, from png to jpg and vice versa.

 

Thank God i've kept a backup of all the images before deleting them since i cant redownload them.

 

Now after almost 30 hours of trial and error im pretty sure that the issue was caused by the clean up media tool. Its unreliable unfortunately, from now on manual deleting of images only, lol.

 

Thanks for replying my friend.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...