LoginSignup
0
0

More than 5 years have passed since last update.

SourceTree3.0.6でエラー:Askpass.exe: No such file or directory

Posted at

環境

OS:Win10
前Ver:2.6.10

症状

3.0.6にバージョンアップしたら、プッシュできなくなった。

エラーメッセージ:

git -c diff.mnemonicprefix=false -c core.quotepath=false push -v origin develop:develop
error: cannot spawn C:\Users\admin\AppData\Local\SourceTree\app-3.0.6\tools\Askpass.exe: No such file or directory
bash: /dev/tty: No such device or address
error: failed to execute prompt script (exit code 1)
fatal: could not read Username for 'https://bitbucket.org': No error
Pushing to https://bitbucket.org/onoche/autotrade.git
エラー終了しました。エラーの内容は上記をご覧ください。

本家にスレッド立ってました。

Error : Askpass.exe: No such file or directory
https://community.atlassian.com/t5/Sourcetree-questions/Error-Askpass-exe-No-such-file-or-directory/qaq-p/908286

原因:Askpass.exe見つからない。
バグっぽい。
今週(2018/10/22の週)の3.0.8で修正予定。
とのこと。

対策

①これで治った!!(治らない人もいるらしい)
前バージョンのSourceTreeから、3ファイルをコピーする。
・Askpass.exe
・Askpass.UI.Wpf.dll
・SourceTreeShared.dll

C:\Users<username>\AppData\Local\SourceTree\app-2.6.10\tools

C:\Users<username>\AppData\Local\SourceTree\app-3.0.6\tools

②古いバージョンでも動きました。
前のが残ってた。(アトラシアン、消す自信ないのか?)
C:\Users\admin\AppData\Local\SourceTree\app-2.6.10\SourceTree.exe

③治らない場合は、3.0.8を待て。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0