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

sourcetree 2.5.5 won't start on windows

Tried looking for this tag but does not exist in my user.config

<setting name="AutomaticallyCleanUpDictionaryFiles" serializeAs="String"> 
<value>True</value>
</setting>

As suggested here: https://community.atlassian.com/t5/Sourcetree-questions/Sourcetree-won-t-start/qaq-p/655953

Added it anyway but no luck.

Tried reinstalling and rebooting (thanks Windows) but still nothing happens.

No response when trying to run from a cygwin shell so no error messages print. the log indicates each attempt to start but nothing more.

Last version I had was 1.6. I uninstalled it before installing 2.5.5

The subdirectories with url and uuids in the name remain under Local/Atlassian.

Any ideas on how to proceed ?

 

4 answers

1 accepted

0 votes
Answer accepted

solved. my previous version was maybe too old. So i deleted everything in all Atlasian folders and installed from scratch. Who cares about that old code anyway.

Ana Retamal Atlassian Team Jun 13, 2018

Hi Mark, glad you got it working! I just wanted to point out that even if you uninstalled and re-installed Sourcetree, your code is not gone as it was not stored into Sourcetree in the first place. It should be in some location in your computer, or accessible remotely if you have it hosted in some service like Bitbucket or Github.

Hope that clarifies!

Kind regards :)

Ana

Found a different errorlog under Local. gives me two errros:

 

ERROR [2018-06-11 11:50:31,783] [1] [SourceTree.App+<OnStartup>d__6] [MoveNext] - Failed to start
System.NullReferenceException: Object reference not set to an instance of an object.
at SourceTree.Host.Bitbucket.BitbucketHost.GetCanonicalUri(IConfigurationManager configurationManager)
at SourceTree.Host.Bitbucket.BitbucketHost.get_CanonicalUrl()
at SourceTree.Accounts.LegacyAccountPersistenceService.ConvertFromHostedAccounts(IEnumerable`1 hostedAccounts)
at SourceTree.Accounts.LegacyAccountPersistenceService.LoadAccounts()
at SourceTree.Accounts.AccountManager.LoadHostedAccounts()
at SourceTree.Accounts.AccountManager.HasAccountForHost[T]()
at SourceTree.UI.OnboardingManager.HasValidHostAccount()
at SourceTree.UI.OnboardingManager.get_Completed()
at SourceTree.AppRoot.OnboardIfRequired()
at SourceTree.AppRoot.<OnStartup>d__33.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SourceTree.App.<OnStartup>d__6.MoveNext()


ERROR [2018-06-11 11:53:23,357] [1] [SourceTree.App+<OnStartup>d__6] [MoveNext] - Failed to start
System.ArgumentException: Item has already been added. Key in dictionary: 'TMP' Key being added: 'tmp'
at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)
at System.Diagnostics.ProcessStartInfo.get_EnvironmentVariables()
at SourceTree.Utils.RepoProcess.InternalLaunch(Boolean registerTerminateHandler)
at SourceTree.Utils.RepoProcess.Run()
at SourceTree.Dvcss.Extensions.CustomGcmExtension.GetGcmVersion(IDvcs dvcs, String exePath)
at SourceTree.Dvcss.Extensions.CustomGcmExtension.IsInstalled(IDvcs dvcs)
at SourceTree.Dvcss.Extensions.CustomGcmPreflightCheck.Run()
at SourceTree.AppRoot.RunPreFlightChecks()
at SourceTree.AppRoot.<OnStartup>d__33.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SourceTree.App.<OnStartup>d__6.MoveNext()

 

Found new error log location under Local.

Just trying to start from cygwin I get:

ERROR [2018-06-11 12:53:47,551] [1] [SourceTree.App+<OnStartup>d__6] [MoveNext] - Failed to start
System.NullReferenceException: Object reference not set to an instance of an object.
at SourceTree.Host.Bitbucket.BitbucketHost.GetCanonicalUri(IConfigurationManager configurationManager)
at SourceTree.Host.Bitbucket.BitbucketHost.get_CanonicalUrl()
at SourceTree.Accounts.LegacyAccountPersistenceService.ConvertFromHostedAccounts(IEnumerable`1 hostedAccounts)
at SourceTree.Accounts.LegacyAccountPersistenceService.LoadAccounts()
at SourceTree.Accounts.AccountManager.LoadHostedAccounts()
at SourceTree.Accounts.AccountManager.HasAccountForHost[T]()
at SourceTree.UI.OnboardingManager.HasValidHostAccount()
at SourceTree.UI.OnboardingManager.get_Completed()
at SourceTree.AppRoot.OnboardIfRequired()
at SourceTree.AppRoot.<OnStartup>d__33.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SourceTree.App.<OnStartup>d__6.MoveNext()

I found oldest file in Sourcetree is license file from 2013.

- sourcetree.license

Looking inside it - it uses a different email account. Should I delete this old license file ?

Suggest an answer

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

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,955 views 0 12
Read article

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