Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Unable to find git Edited

be1fb8d15cI get this everytime I launch sourcetree.

 

Now when I click the top, it downloads and this appears again.

If I click the second, it just reopens this dialog. Doesn't open the Open File Dialog.

If I click the third it just reopens again.

and the 4th closes it and I can't use it.

2 answers

0 votes
minnsey Atlassian Team Nov 16, 2017

Hi

Sourcetree stores a path to the git.exe it is using, when it starts it will run git.exe --version to check it is where it thinks it is etc.

If that git.exe -version fails it will pop this dialog.

It sounds like the git -version call is failing for some reason. Is there anything in %localappdata%\Atlassian\Sourcetree\Sourcetree.log?

Has Sourcetree successfully downloaded git? It should be in %localappdata%\Atlassian\Sourcetree\git_local. If it is and you open a console and run %localappdata%\Atlassian\Sourcetree\git_local\cmd\git.exe -version what does that give you back?

ERROR [2017-11-15 22:45:39,124] [1] [SourceTree.App] [.ctor] - finish EnsureSquirrelExecutionStubIsCopied
ERROR [2017-11-15 22:49:50,560] [1] [SourceTree.App] [OnStartup] - Failed to start
System.NullReferenceException: Object reference not set to an instance of an object.
at SourceTree.Notifications.NotificationsManager.SetOwner(NotificationDialogWindow notificationWindow)
at SourceTree.Notifications.NotificationsManager.ShowNotificationDialog[T](NotificationDialogWindow notificationWindow, Tuple`2 customAction, VistaTaskDialogIcon icon)
at SourceTree.Notifications.NotificationsManager.ShowNotificationDialog[T](String title, String message, Tuple`2 customAction, String cancelLabel, String suppressionSetting, Action`1 suppressionChangedAction, Object contentControl, String contentCommandLabel, Action contentAction)
at SourceTree.Notifications.NotificationsManager.ShowNotificationDialogWithYesConfirmation(String title, String message, String details)
at SourceTree.Security.PageantSshKeyAgent.Launch(Boolean promptForKeyIfBlank, String keyfile)
at SourceTree.Security.DefaultSshKeyManager.LaunchSshAgent(Boolean promptForKeyIfBlank, String keyfile)
at SourceTree.AppRoot.OnboardIfRequired()
at SourceTree.AppRoot.OnStartup(StartupEventArgs e)
at SourceTree.App.OnStartup(StartupEventArgs e)
ERROR [2017-11-15 22:50:01,706] [1] [SourceTree.App] [.ctor] - finish EnsureSquirrelExecutionStubIsCopied
minnsey Atlassian Team Nov 28, 2017

Unfortunately that error is not to do with finding Git, however that should be fixed in v2.3.5.0. What version are you running?

were you able to check the following?


Has Sourcetree successfully downloaded git? It should be in %localappdata%\Atlassian\Sourcetree\git_local. If it is and you open a console and run %localappdata%\Atlassian\Sourcetree\git_local\cmd\git.exe -version what does that give you back?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Sourcetree

[dev team] Sourcetree for Windows 2019 Preview - Dark Theme

Hi folks, While the full post is over on our blog I'd like to share the dark theme we've got planned for 2019 here directly as well to keep the discussion going.  The ...

3,280 views 19 18
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you