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()
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.