Git Sourcetree 1.8.3在安装后首次登录时崩溃

Git Sourcetree 1.8.3在安装后首次登录时崩溃,git,crash,bitbucket,sourcetree,Git,Crash,Bitbucket,Sourcetree,我已经安装了source tree v1.8.3,当我第一次登录到我的Alassian帐户以完成安装时,源代码树崩溃。 我的操作系统是Win8.1。 Sourcetree日志文件位于此处: 错误[2016-07-11 12:13:15043][PriorityScheduler:[SourceTree.Bookmarks.BookmarkManager][RegisterBookmarkEventHandlers]-使用空列表调用RegisterBookmarkEventHandlers 我怎

我已经安装了source tree v1.8.3,当我第一次登录到我的Alassian帐户以完成安装时,源代码树崩溃。 我的操作系统是Win8.1。

Sourcetree日志文件位于此处:

错误[2016-07-11 12:13:15043][PriorityScheduler:[SourceTree.Bookmarks.BookmarkManager][RegisterBookmarkEventHandlers]-使用空列表调用RegisterBookmarkEventHandlers

我怎样才能解决它


请有人帮帮我。

我知道源代码树使用IE登录。在win 8.1上出现了一些问题。我不知道为什么会这样。您可以按照以下步骤操作

  • 安装sourcetree.exe
  • 安装后,登录Atlassian帐户
  • 如果应用程序崩溃,请将accounts.json文件转换为C:\Users\yourusername\AppData\Local\Atlassian\SourceTree\ 并在accounts.json文件中将用户名替换为您的帐户名
  • 您可以使用与您的帐户一起登录的源代码树应用程序
  • accounts.json文件是

    [
      {
        "$id": "1",
        "$type": "SourceTree.Api.Host.Identity.Model.IdentityAccount, SourceTree.Api.Host.Identity",
        "Authenticate": true,
        "HostInstance": {
          "$id": "2",
          "$type": "SourceTree.Host.Atlassianaccount.AtlassianAccountInstance, SourceTree.Host.AtlassianAccount",
          "Host": {
            "$id": "3",
            "$type": "SourceTree.Host.Atlassianaccount.AtlassianAccountHost, SourceTree.Host.AtlassianAccount",
            "Id": "atlassian account"
          },
          "BaseUrl": "https://id.atlassian.com/"
        },
        "Credentials": {
          "$id": "4",
          "$type": "SourceTree.Model.BasicAuthCredentials, SourceTree.Api.Account",
          "Username": "<Atlassianaccount>",
          "Email": null
        },
        "IsDefault": false
      }
    ]
    
    [
    {
    “$id”:“1”,
    “$type”:“SourceTree.Api.Host.Identity.Model.IdentityAccount,SourceTree.Api.Host.Identity”,
    “认证”:正确,
    “主机实例”:{
    “$id”:“2”,
    “$type”:“SourceTree.Host.AtlassianaAccount.AtlassianaAccountInstance,SourceTree.Host.AtlassianaAccount”,
    “主持人”:{
    “$id”:“3”,
    “$type”:“SourceTree.Host.AtlassianaAccount.AtlassianaAccountHost,SourceTree.Host.AtlassianaAccount”,
    “Id”:“atlassian帐户”
    },
    “BaseUrl”:https://id.atlassian.com/"
    },
    “全权证书”:{
    “$id”:“4”,
    “$type”:“SourceTree.Model.BasicAuthCredentials,SourceTree.Api.Account”,
    “用户名”:“”,
    “电子邮件”:空
    },
    “IsDefault”:false
    }
    ]
    
    此错误最可能的原因是SourceTree的user.config文件已损坏

    您可以通过在以下位置定位文件来确认这一点:

    C:\Users\<User>\AppData\Local\Atlassian\SourceTree.exe_<random_string>\<version_number>
    
    C:\Users\\AppData\Local\Atlassian\SourceTree.exe_\
    
    如果这是原因,当您打开文件时,它将充满值

    解决方案是删除user.config