Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Sourcetree commit button does nothing.

olaeld November 19, 2018

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
Atlassian Team members are employees working across the company in a wide variety of roles.
November 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 ?

olaeld November 20, 2018

Hi

Using Git, and yes - there are submodules.

minnsey
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 6, 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
AUG Leaders

Atlassian Community Events