最近更新的计算机和适用于 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/
我需要在客户计算机上运行Ruby应用程序。通常需要几天才能完成(复制大备份文件)。问题是如果启用sleep,它会中断应用程序。否则,计算机将持续运行数周,直到我下次访问为止。有什么方法可以防止执行期间休眠并让Windows在执行后休眠吗?欢迎任何疯狂的想法;-) 最佳答案 Here建议使用SetThreadExecutionStateWinAPI函数,使应用程序能够通知系统它正在使用中,从而防止系统在应用程序运行时进入休眠状态或关闭显示。像这样的东西:require'Win32API'ES_AWAYMODE_REQUIRED=0x0
为了将Cucumber用于命令行脚本,我按照提供的说明安装了arubagem。它在我的Gemfile中,我可以验证是否安装了正确的版本并且我已经包含了require'aruba/cucumber'在'features/env.rb'中为了确保它能正常工作,我写了以下场景:@announceScenario:Testingcucumber/arubaGivenablankslateThentheoutputfrom"ls-la"shouldcontain"drw"假设事情应该失败。它确实失败了,但失败的原因是错误的:@announceScenario:Testingcucumber/ar
当我在Rails控制台中按向上或向左箭头时,出现此错误:irb(main):001:0>/Users/me/.rvm/gems/ruby-2.0.0-p247/gems/rb-readline-0.4.2/lib/rbreadline.rb:4269:in`blockin_rl_dispatch_subseq':invalidbytesequenceinUTF-8(ArgumentError)我使用rvm来管理我的ruby安装。我正在使用=>ruby-2.0.0-p247[x86_64]我使用bundle来管理我的gem,并且我有rb-readline(0.4.2)(人们推荐的最少
最近,当我启动我的Rails服务器时,我收到了一长串警告。虽然它不影响我的应用程序,但我想知道如何解决这些警告。我的估计是imagemagick以某种方式被调用了两次?当我在警告前后检查我的git日志时。我想知道如何解决这个问题。-bcrypt-ruby(3.1.2)-better_errors(1.0.1)+bcrypt(3.1.7)+bcrypt-ruby(3.1.5)-bcrypt(>=3.1.3)+better_errors(1.1.0)bcrypt和imagemagick有关系吗?/Users/rbchris/.rbenv/versions/2.0.0-p247/lib/ru
这似乎非常适得其反,因为太多的gem会在window上破裂。我一直在处理很多mysql和ruby-mysqlgem问题(gem本身发生段错误,一个名为UnixSocket的类显然在Windows机器上不能正常工作,等等)。我只是在浪费时间吗?我应该转向不同的脚本语言吗? 最佳答案 我在Windows上使用Ruby的经验很少,但是当我开始使用Ruby时,我是在Windows上,我的总体印象是它不是Windows原生系统。因此,在主要使用Windows多年之后,开始使用Ruby促使我切换回原来的系统Unix,这次是Linux。Rub
一、引擎主循环UE版本:4.27一、引擎主循环的位置:Launch.cpp:GuardedMain函数二、、GuardedMain函数执行逻辑:1、EnginePreInit:加载大多数模块int32ErrorLevel=EnginePreInit(CmdLine);PreInit模块加载顺序:模块加载过程:(1)注册模块中定义的UObject,同时为每个类构造一个类默认对象(CDO,记录类的默认状态,作为模板用于子类实例创建)(2)调用模块的StartUpModule方法2、FEngineLoop::Init()1、检查Engine的配置文件找出使用了哪一个GameEngine类(UGame
之前在培训新生的时候,windows环境下配置opencv环境一直教的都是网上主流的vsstudio配置属性表,但是这个似乎对新生来说难度略高(虽然个人觉得完全是他们自己的问题),加之暑假之后对cmake实在是爱不释手,且这样配置确实十分简单(其实都不需要配置),故斗胆妄言vscode下配置CV之法。其实极为简单,图比较多所以很长。如果你看此文还配不好,你应该思考一下是不是自己的问题。闲话少说,直接开始。0.CMkae简介有的人到大二了都不知道cmake是什么,我不说是谁。CMake是一个开源免费并且跨平台的构建工具,可以用简单的语句来描述所有平台的编译过程。它能够根据当前所在平台输出对应的m
深度学习部署:Windows安装pycocotools报错解决方法1.pycocotools库的简介2.pycocotools安装的坑3.解决办法更多Ai资讯:公主号AiCharm本系列是作者在跑一些深度学习实例时,遇到的各种各样的问题及解决办法,希望能够帮助到大家。ERROR:Commanderroredoutwithexitstatus1:'D:\Anaconda3\python.exe'-u-c'importsys,setuptools,tokenize;sys.argv[0]='"'"'C:\\Users\\46653\\AppData\\Local\\Temp\\pip-instal
我在目录“C:\DocumentsandSettings\test.exe”中有一个文件,但是当我用单引号编写命令时`C:\DocumentsandSettings\test.exe(我无法在此框中显示),用于在Ruby中执行命令,我无法这样做,我收到的错误是找不到文件或目录。我尝试用“//”和“\”替换“\”,但似乎没有任何效果。我也使用过系统、IO.popen和exec命令,但所有的努力都是徒劳的。exec命令还使程序退出,这是我不想发生的。提前致谢。 最佳答案 反引号环境就像双引号,所以反斜杠用于转义。此外,Ruby会将空格解
我想用Capistrano启动sidekiq。下面是代码namespace:sidekiqdotask:startdorun"cd#{current_path}&&bundleexecsidekiq-c10-eproduction-Llog/sidekiq.log&"pcapture("psaux|grepsidekiq|awk'{print$2}'|sed-n1p").strip!endend它执行成功但sidekiq仍然没有在服务器上启动。输出:$capsidekiq:starttriggeringloadcallbacks*2014-06-0315:03:01executing`