Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System.ComponentModel.Win32Exception (0x80004005): 系统找不到指定的文件。 #133

Open
caobidawang opened this issue Jan 13, 2019 · 1 comment
Assignees

Comments

@caobidawang
Copy link

caobidawang commented Jan 13, 2019

[Header]
2019-01-13 16:29:45,035 [1] INFO Accelerider.Windows.App
Accelerider for Windows: 0.0.2;
OS: Microsoft Windows 10 专业版 (10.0.17763) 64 位;
CLR: 4.0.30319.42000;
Processor: Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz;
RAM: 15.87 GB;

2019-01-13 16:29:46,972 [1] INFO Accelerider.Windows.Upgrade.AppModuleUpgradeTask
[LOAD MODULE] app-any-drive-0.0.1

2019-01-13 16:29:51,033 [1] INFO Accelerider.Windows.Upgrade.ShellUpgradeTask
[UNZIP] From C:\Users\MyPC\AppData\Roaming\Accelerider\Temp\accelerider-shell-0i15d5fz.hcj\ghjcuacj.nif to C:\Users\MyPC\AppData\Roaming\Accelerider\Temp\accelerider-shell-0i15d5fz.hcj

2019-01-13 16:29:51,035 [1] ERROR Accelerider.Windows.Infrastructure.TempDirectory
An unexpected exception occurred.

System.IO.IOException: 源路径和目标路径必须具有相同的根。移动操作在卷之间无效。
在 System.IO.Directory.InternalMove(String sourceDirName, String destDirName, Boolean checkHost)
在 Accelerider.Windows.Infrastructure.TempDirectory.MoveTo(String targetPath, String subDirectoryName)
2019-01-13 16:29:51,105 [1] INFO Accelerider.Windows.Upgrade.ShellUpgradeTask
[UPGRADE] The package accelerider-shell-0.0.2 is ready.

2019-01-13 16:29:51,107 [1] FATAL Accelerider.Windows.ExceptionHandler
An uncaught exception occurred

System.IO.DirectoryNotFoundException: 未能找到路径“D:\Accelerider.Windows-0.0.2-release\bin-0.0.2\bin-0.0.2”的一部分。
在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
在 System.IO.FileSystemEnumerableIterator1.CommonInit() 在 System.IO.FileSystemEnumerableIterator1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
在 System.IO.Directory.GetFiles(String path)
在 Accelerider.Windows.Upgrade.ShellUpgradeTask.d__3.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__6_0(Object state)
在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
2019-01-13 16:30:04,135 [1] FATAL Accelerider.Windows.ExceptionHandler
An uncaught exception occurred

System.ComponentModel.Win32Exception (0x80004005): 系统找不到指定的文件。
在 System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
在 System.Diagnostics.Process.Start()
在 Accelerider.Windows.ProcessController.Restart(Int32 exitCode)
在 Accelerider.Windows.ExceptionHandler.Log(Exception exception)
在 Accelerider.Windows.ExceptionHandler.DispatcherUnhandledExceptionHandler(Object sender, DispatcherUnhandledExceptionEventArgs e)
在 System.Windows.Threading.Dispatcher.CatchException(Exception e)
在 System.Windows.Threading.Dispatcher.CatchExceptionStatic(Object source, Exception e)
在 System.Windows.Threading.ExceptionWrapper.CatchException(Object source, Exception e, Delegate catchHandler)
在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
在 System.Windows.Threading.DispatcherOperation.InvokeImpl()
在 System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
在 MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
在 MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
在 System.Windows.Threading.DispatcherOperation.Invoke()
在 System.Windows.Threading.Dispatcher.ProcessQueue()
在 System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
2019-01-13 16:30:04,139 [1] FATAL Accelerider.Windows.ExceptionHandler
An uncaught exception occurred

System.ComponentModel.Win32Exception (0x80004005): 系统找不到指定的文件。
在 System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
在 System.Diagnostics.Process.Start()
在 Accelerider.Windows.ProcessController.Restart(Int32 exitCode)
在 Accelerider.Windows.ExceptionHandler.Log(Exception exception)
在 Accelerider.Windows.ExceptionHandler.DispatcherUnhandledExceptionHandler(Object sender, DispatcherUnhandledExceptionEventArgs e)
在 System.Windows.Threading.Dispatcher.CatchException(Exception e)
在 System.Windows.Threading.Dispatcher.CatchExceptionStatic(Object source, Exception e)
在 System.Windows.Threading.ExceptionWrapper.CatchException(Object source, Exception e, Delegate catchHandler)
在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
在 System.Windows.Threading.DispatcherOperation.InvokeImpl()
在 System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
在 MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
在 MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
在 System.Windows.Threading.DispatcherOperation.Invoke()
在 System.Windows.Threading.Dispatcher.ProcessQueue()
在 System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
在 System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
在 MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
在 MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
在 System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
在 System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
在 System.Windows.Application.RunDispatcher(Object ignore)
在 System.Windows.Application.RunInternal(Window window)
在 System.Windows.Application.Run(Window window)
在 Accelerider.Windows.App.Main()

@DingpingZhang DingpingZhang self-assigned this Jan 13, 2019
@DingpingZhang DingpingZhang changed the title 打开没几秒就崩溃 System.ComponentModel.Win32Exception (0x80004005): 系统找不到指定的文件。 Jan 13, 2019
@DingpingZhang
Copy link
Member

DingpingZhang commented Jan 13, 2019

  1. 在群里下载0.0.2版替换,0.0.1版中有一个更新的bug,导致可能无法通过联网更新到0.0.2
  2. 双击Launcher.exe运行,不要去bin文件夹下找exe。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants