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 commit button does nothing. Edited

I'm running version 3.0.8 for Windows, and when I press Commit button, the "Checking submodules" dialog shows for half a second, and then nothing. No error message, and nothing has been commited. I can commit using the command line, however.

I previously "solved" this problem by uninstalling, deleting the userdata, and reinstalling (a simple reinstall was not sufficient).

But this is getting tedious. How can I get to the bottom of this?

Update: The log file says:

ERROR [2018-11-19 12:17:28,440] [49] [SourceTree.ViewModel.RepoDialogContainer] [Log] - The calling thread must be STA, because many UI components require this.

System.InvalidOperationException: The calling thread must be STA, because many UI components require this.

at System.Windows.Input.InputManager..ctor() at System.Windows.Input.InputManager.GetCurrentInputManagerImpl() at System.Windows.Input.KeyboardNavigation..ctor() at System.Windows.FrameworkElement.FrameworkServices..ctor() at System.Windows.FrameworkElement.EnsureFrameworkServices() at System.Windows.FrameworkElement..ctor() at System.Windows.Controls.Control..ctor() at SourceTree.View.Controls.DialogFileListControl..ctor(IEnumerable`1 items) at SourceTree.ViewModel.CommitAndFileStatusViewModel.CreateDisabledStagingViewCommitProcess(CommitOptions commitOptions, String useAuthor) at SourceTree.ViewModel.CommitAndFileStatusViewModel._FinaliseCommit() at SourceTree.ViewModel.CommitAndFileStatusViewModel.SubmoduleDialogCompleted(AbstractDialogViewModel repoDlg, Int32 returnCode) at SourceTree.ViewModel.AbstractDialogViewModel.Finish(Int32 returnCode) at SourceTree.ViewModel.SubmoduleCheckDialogViewModel.<RefreshSubmodules>d__46.MoveNext()

1 answer

0 votes
minnsey Atlassian Team Nov 19, 2018

Hi

I'm afraid I don't have an immediate solution, but can I ask for a little more detail, are you using Git or Mercurial and do you have submodules/subrepos ?

Hi

Using Git, and yes - there are submodules.

minnsey Atlassian Team Dec 06, 2018

Hi 

I've added it as a bug on our backlog https://jira.atlassian.com/browse/SRCTREEWIN-11001.

Could you add any more details there? e.g. does it matter if the submodule as pending changes or not etc.

thanks

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,910 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