gpt4 book ai didi

windows - GitHub for Windows 在启动时崩溃

转载 作者:可可西里 更新时间:2023-11-01 11:18:37 25 4
gpt4 key购买 nike

最近更新的计算机和适用于 Windows 的 GitHub 将不再启动。我已经卸载并重新安装了 GitHub 几次,我运行的是最新版本 2.0.2。任何人都知道可能导致问题的原因。来自 Windows 7 事件查看器的错误如下。

“.NET 运行时”错误

Application: GitHub.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.EntryPointNotFoundException
Stack:
at Akavache.Sqlite3.Internal.SQLite3.Open(Byte[], IntPtr ByRef, Int32, IntPtr)
at Akavache.Sqlite3.Internal.SQLiteConnection..ctor(System.String, Akavache.Sqlite3.Internal.SQLiteOpenFlags, Boolean)
at Akavache.Sqlite3.Internal.SQLiteConnectionPool+Entry..ctor(Akavache.Sqlite3.Internal.SQLiteConnectionString, Akavache.Sqlite3.Internal.SQLiteOpenFlags)
at Akavache.Sqlite3.Internal.SQLiteConnectionPool+<>c__DisplayClass8.<Reset>b__7(Int32)
at System.Linq.Enumerable+WhereSelectEnumerableIterator`2[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext()
at System.Collections.Generic.List`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]..ctor(System.Collections.Generic.IEnumerable`1<System.__Canon>)
at System.Linq.Enumerable.ToList[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Collections.Generic.IEnumerable`1<System.__Canon>)
at Akavache.Sqlite3.Internal.SQLiteConnectionPool+<>c__DisplayClass8.<Reset>b__5()
at System.Reactive.Linq.Observαble.Finally`1+_+<>c__DisplayClass1[[System.Reactive.Unit, System.Reactive.Core, Version=2.1.30214.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].<Run>b__0()
at System.Reactive.Disposables.AnonymousDisposable.Dispose()
at System.Reactive.Disposables.SingleAssignmentDisposable.set_Disposable(System.IDisposable)
at System.Reactive.Producer`1[[System.Reactive.Unit, System.Reactive.Core, Version=2.1.30214.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].Run(System.Reactive.Concurrency.IScheduler, State<System.Reactive.Unit>)
at System.Reactive.Concurrency.ScheduledItem`2[[System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Reactive.Producer`1+State[[System.Reactive.Unit, System.Reactive.Core, Version=2.1.30214.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]], System.Reactive.Core, Version=2.1.30214.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].InvokeCore()
at System.Reactive.Concurrency.CurrentThreadScheduler+Trampoline.Run(System.Reactive.Concurrency.SchedulerQueue`1<System.TimeSpan>)
at System.Reactive.Concurrency.CurrentThreadScheduler.Schedule[[System.Reactive.Producer`1+State[[System.Reactive.Unit, System.Reactive.Core, Version=2.1.30214.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]], System.Reactive.Core, Version=2.1.30214.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](State<System.Reactive.Unit>, System.TimeSpan, System.Func`3<System.Reactive.Concurrency.IScheduler,State<System.Reactive.Unit>,System.IDisposable>)
at System.Reactive.Concurrency.LocalScheduler.Schedule[[System.Reactive.Producer`1+State[[System.Reactive.Unit, System.Reactive.Core, Version=2.1.30214.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]], System.Reactive.Core, Version=2.1.30214.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](State<System.Reactive.Unit>, System.Func`3<System.Reactive.Concurrency.IScheduler,State<System.Reactive.Unit>,System.IDisposable>)
at System.Reactive.Producer`1[[System.Reactive.Unit, System.Reactive.Core, Version=2.1.30214.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].SubscribeRaw(System.IObserver`1<System.Reactive.Unit>, Boolean)
at System.Reactive.Producer`1[[System.Reactive.Unit, System.Reactive.Core, Version=2.1.30214.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].Subscribe(System.IObserver`1<System.Reactive.Unit>)
at System.Reactive.Linq.QueryLanguage.LastOrDefaultInternal[[System.Reactive.Unit, System.Reactive.Core, Version=2.1.30214.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](System.IObservable`1<System.Reactive.Unit>, Boolean)
at System.Reactive.Linq.QueryLanguage.Wait[[System.Reactive.Unit, System.Reactive.Core, Version=2.1.30214.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](System.IObservable`1<System.Reactive.Unit>)
at System.Reactive.Linq.Observable.Wait[[System.Reactive.Unit, System.Reactive.Core, Version=2.1.30214.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](System.IObservable`1<System.Reactive.Unit>)
at Akavache.Sqlite3.Internal.SQLiteConnectionPool..ctor(Akavache.Sqlite3.Internal.SQLiteConnectionString, Akavache.Sqlite3.Internal.SQLiteOpenFlags, System.Nullable`1<Int32>)
at Akavache.Sqlite3.Internal.SQLiteAsyncConnection..ctor(System.String, System.Nullable`1<Akavache.Sqlite3.Internal.SQLiteOpenFlags>, Boolean)
at Akavache.Sqlite3.SqlitePersistentBlobCache..ctor(System.String, System.Reactive.Concurrency.IScheduler)
at GitHub.AppStartup.StartupSequence.InitializeApplication()
at GitHub.App..ctor()
at GitHub.App.Main()

应用程序错误

Faulting application name: GitHub.exe, version: 2.0.2.0, time stamp: 0x53972d34
Faulting module name: KERNELBASE.dll, version: 6.1.7601.18409, time stamp: 0x53159a86
Exception code: 0xe0434352
Fault offset: 0x0000c42d
Faulting process id: 0x1ed8
Faulting application start time: 0x01cf84e36de108b1
Faulting application path: C:\Users\scottd\AppData\Local\Apps\2.0\9PJ6YVKX.4BZ\BHB0QYNT.T50\gith..tion_317444273a93ac29_0002.0000_1abc1ed917fcef94\GitHub.exe
Faulting module path: C:\Windows\syswow64\KERNELBASE.dll
Report Id: ac4bef10-f0d6-11e3-89dd-1c4bd60b2a1a

Windows 更新

Update for Windows 7 for x64-based Systems (KB2515325)
Update for Windows 7 for x64-based Systems (KB2923545)
Update for Windows 7 for x64-based Systems (KB2647753)

最佳答案

AB 和 Stéphane 的评论提供了提示:

我在 c:\Windows\SysWOW64 中发现了一个更旧的 sqlite3.dll,它显然被加载到路径中而不是 c:\Users\[User]\AppData\Apps\2.0\[Blah]\[Blah]\gith..ion_[blah]\NativeBinaries\sqlite3.dll

在我的例子中,我不知道什么可能在寻找旧的库,所以为了对冲我的赌注,我将旧版本重命名为 sqlite3.dlx 并将 Github 的 sqlite3.dll 的副本放在 SysWOW64 中。这让我有在未来再次破坏 Github 的风险,除非他们可以更小心地加载他们的库。

但要用大锤敲它,只需删除或重命名 c:\Windows\SysWOW64\sqlite3.dll

关于windows - GitHub for Windows 在启动时崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24149783/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com