simeonradivoev / UniGit

An open source GIT Unity3D editor plugin.
GNU General Public License v3.0
143 stars 16 forks source link

After Updating to UniGit 1.2.0 in Unity 2017.1.0f3 Getting errors #13

Closed vaulcul closed 7 years ago

vaulcul commented 7 years ago

Getting the following errors:

Automatic Fetching from remote: origin with URL: git@bitbucket.org:chgames/linked.git Failed!
UnityEngine.Debug:LogErrorFormat(String, Object[])
UniGit.GitAutoFetcher:AutoFetchChanges() (at D:/My Documents/My Pictures/My Art/Games/UniGit/Assets/Plugins/UniGit/Editor/GitBlameWizard.cs:108)
UniGit.GitAutoFetcher:OnEditorUpdate() (at D:/My Documents/My Pictures/My Art/Games/UniGit/Assets/Plugins/UniGit/Editor/GitBlameWizard.cs:91)
UniGit.GitCallbacks:IssueEditorUpdate()
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()
LibGit2SharpException: Unsupported URL protocol
LibGit2Sharp.Core.Ensure.HandleError (Int32 result)
LibGit2Sharp.Core.Ensure.ZeroResult (Int32 result)
LibGit2Sharp.Core.Proxy.git_remote_fetch (LibGit2Sharp.Core.Handles.RemoteSafeHandle remote, IEnumerable`1 refSpecs, LibGit2Sharp.Core.GitFetchOptions fetchOptions, System.String logMessage)
LibGit2Sharp.Network.DoFetch (LibGit2Sharp.FetchOptions options, LibGit2Sharp.Core.Handles.RemoteSafeHandle remoteHandle, System.String logMessage, IEnumerable`1 refspecs)
LibGit2Sharp.Network.DoFetch (LibGit2Sharp.Core.Handles.RepositorySafeHandle repoHandle, LibGit2Sharp.Remote remote, LibGit2Sharp.FetchOptions options, System.String logMessage, IEnumerable`1 refspecs)
LibGit2Sharp.Network.Fetch (LibGit2Sharp.Remote remote, LibGit2Sharp.FetchOptions options, System.String logMessage)
LibGit2Sharp.Network.Fetch (LibGit2Sharp.Remote remote, LibGit2Sharp.FetchOptions options)
UniGit.GitAutoFetcher.AutoFetchChanges () (at D:/My Documents/My Pictures/My Art/Games/UniGit/Assets/Plugins/UniGit/Editor/GitBlameWizard.cs:108)
UnityEngine.Debug:LogException(Exception)
UniGit.GitAutoFetcher:AutoFetchChanges() (at D:/My Documents/My Pictures/My Art/Games/UniGit/Assets/Plugins/UniGit/Editor/GitBlameWizard.cs:108)
UniGit.GitAutoFetcher:OnEditorUpdate() (at D:/My Documents/My Pictures/My Art/Games/UniGit/Assets/Plugins/UniGit/Editor/GitBlameWizard.cs:91)
UniGit.GitCallbacks:IssueEditorUpdate()
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()
Could not retrive Git Status
UnityEngine.Debug:LogError(Object)
UniGit.GitManager:RetreiveStatus(String[], Boolean)
UniGit.<>c__DisplayClass34_0:<RetreiveStatusThreaded>b__0() (at D:/My Documents/My Pictures/My Art/Games/UniGit/Assets/Plugins/UniGit/Editor/Utils/FlagHelper.cs:80)
UniGit.Utils.<>c__DisplayClass17_0:<QueueWorkerWithLock>b__0(Object) (at D:/My Documents/My Pictures/My Art/Games/UniGit/Assets/Plugins/UniGit/Editor/GitDiffInspector.cs:803)
LibGit2SharpException: Could not open 'G:/Users/Jared/Documents/Projects/Unity/linked/Temp/UnityLockfile': The process cannot access the file because it is being used by another process.

LibGit2Sharp.Core.Ensure.HandleError (Int32 result)
LibGit2Sharp.Core.Ensure.ZeroResult (Int32 result)
LibGit2Sharp.Core.Proxy.git_status_list_new (LibGit2Sharp.Core.Handles.RepositorySafeHandle repo, LibGit2Sharp.Core.GitStatusOptions options)
LibGit2Sharp.RepositoryStatus..ctor (LibGit2Sharp.Repository repo, LibGit2Sharp.StatusOptions options)
LibGit2Sharp.Repository.RetrieveStatus (LibGit2Sharp.StatusOptions options)
UniGit.GitManager.RebuildStatus (System.String[] paths) (at D:/My Documents/My Pictures/My Art/Games/UniGit/Assets/Plugins/UniGit/Editor/GitUpdatableWindow.cs:98)
UniGit.GitManager.RetreiveStatus (System.String[] paths, Boolean threaded)
UnityEngine.Debug:LogException(Exception)
UniGit.GitManager:RetreiveStatus(String[], Boolean)
UniGit.<>c__DisplayClass34_0:<RetreiveStatusThreaded>b__0() (at D:/My Documents/My Pictures/My Art/Games/UniGit/Assets/Plugins/UniGit/Editor/Utils/FlagHelper.cs:80)
UniGit.Utils.<>c__DisplayClass17_0:<QueueWorkerWithLock>b__0(Object) (at D:/My Documents/My Pictures/My Art/Games/UniGit/Assets/Plugins/UniGit/Editor/GitDiffInspector.cs:803)
simeonradivoev commented 7 years ago

Pulling and fetching only works with HTTP/S. As stated in the Limitations section. Unfortunately that's a libgit2sharp limitation, not much i can do about it.