Fatal error importing DOS games

Issue #6117 invalid
Karl Bastiman created an issue

Hi,

I’d scripted the unzipping of a bunch of dos games and had accidentally created all the directories with a trailing space, I think this caused the error on import.

Exception:

(Inner Exception)

Could not find a part of the path 'E:\tmp\DOS\007 - Licence To Kill'.

App: LaunchBox
Version: 11.11
Type: System.IO.DirectoryNotFoundException
Site: IntPtr CreateDirectoryHandle(System.String, Boolean)
Source: System.IO.FileSystem

at System.IO.Enumeration.FileSystemEnumerator1.CreateDirectoryHandle(String path, Boolean ignoreNotFound) at System.IO.Enumeration.FileSystemEnumerator1.Init()
at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized)
at System.IO.Enumeration.FileSystemEnumerableFactory.UserFiles(String directory, String expression, EnumerationOptions options)
at System.IO.Directory.InternalEnumeratePaths(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
at System.IO.Directory.GetFiles(String path, String searchPattern, SearchOption searchOption)
at Unbroken.LaunchBox.Search.LocalDb.InvokeConcreteWrapper(Object , Object , SearchOption )
at Unbroken.LaunchBox.Search.LocalDb.FindDosGameByFolderPath(String folderPath)
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.DosImportGameListViewModel.ReadHttpSetter(Object )
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.DosImportGameListViewModel.PublishTransactionState(String ident)
at IdentifierCandidate.InsertHttpWorker(Object , String value, IdentifierCandidate )
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.DosImportGameListViewModel.SetupTransactionState(String ident)
at IdentifierCandidate.InsertHttpWorker(Object , String value, IdentifierCandidate )
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.DosImportGameListViewModel.OnActivated()
at ExporterCandidate.InsertHttpWorker(Object , ExporterCandidate )
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.WizardViewModel.DeleteTransactionPool()
at ReaderIndexer.InsertHttpWorker(Object , ReaderIndexer )
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.WizardViewModel.NextPage()

(Outer Exception)

Exception has been thrown by the target of an invocation.

App: LaunchBox
Version: 11.11
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:

14:57:56 Exception

Comments (2)

  1. Karl Bastiman reporter

    Once I’d fixed up the directory names, one still errored, in this case it had a directory named '“2060 A.D.” - I removed the dots and it imported just fine.

  2. Log in to comment