Cannot add games to Launchbox, I just get this error everytime I do Launchbox V11.10, Windows Pro 20H2

Issue #6035 resolved
Chulurr created an issue

(Inner Exception)

Could not find a part of the path 'C:\Users\chyle\AppData\Local\Temp\7zE0E75E38F\Mario Kart - Super Circuit.gba'.

App: LaunchBox
Version: 11.10
Type: System.IO.DirectoryNotFoundException
Site: System.IO.FileAttributes GetAttributes(System.String)
Source: System.IO.FileSystem

at System.IO.FileSystem.GetAttributes(String fullPath)
at System.IO.File.GetAttributes(String path)
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.DragDropGameSelectViewModel.ManageIdentifiableTest(Object )
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.DragDropGameSelectViewModel.OnActivated()
at QueueServer.ForgotIdentifiableServer(Object , QueueServer )
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.WizardViewModel.CancelAutowireProperty()
at ParamParams.ForgotIdentifiableServer(Object , ParamParams )
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.WizardViewModel.NextPage()
at QueueServer.ForgotIdentifiableServer(Object , QueueServer )
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.RomImportMameOptionsViewModel.OnActivated()
at QueueServer.ForgotIdentifiableServer(Object , QueueServer )
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.WizardViewModel.CancelAutowireProperty()
at ParamParams.ForgotIdentifiableServer(Object , ParamParams )
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.WizardViewModel.NextPage()

(Outer Exception)

Exception has been thrown by the target of an invocation.

App: LaunchBox
Version: 11.10
Type: System.Reflection.TargetInvocationException
Site: System.Object InvokeMethod(System.Object, System.Object[], System.Signature, Boolean, Boolean)
Source: System.Private.CoreLib

at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Caliburn.Micro.ActionMessage.<>c.<.cctor>b__33_0(ActionExecutionContext context)
at Caliburn.Micro.ActionMessage.Invoke(Object eventArgs)
at System.Windows.Interactivity.TriggerBase.InvokeActions(Object parameter)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Recent Log:

2:01:21 AM Exception

Comments (2)

  1. Christian

    What’s happening is items in that folder are often cleared regularly and that file was deleted before we were able to import it. I have code in place that should eliminate the error you’re seeing but you would still have the issue of that file potentially being deleted before the import runs because of where you have it saved. It just shouldn’t crash your LaunchBox when it happens now. The code change should be in 11.12 beta 2

  2. Log in to comment