The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I know that question has already been ask but when I try to install SourceTree, the installation stop and this error pop up and I cant find the problem. Can somebody help me ?
2017-04-19 19:37:44> Program: Starting Squirrel Updater: --install . 2017-04-19 19:37:44> Program: Starting install, writing to C:\Users\Felix\AppData\Local\SquirrelTemp 2017-04-19 19:37:44> Program: About to install to: C:\Users\Felix\AppData\Local\SourceTree 2017-04-19 19:37:44> Program: Install path C:\Users\Felix\AppData\Local\SourceTree already exists, burning it to the ground 2017-04-19 19:37:45> SingleGlobalInstance: Failed to grab lockfile, will retry: C:\Users\Felix\AppData\Local\Temp;C:\xampp\php\.squirrel-lock-A5AC73A3E38DA9464745C472A3463E606AE85ECE: System.NotSupportedException: Le format du chemin d'accès donné n'est pas pris en charge. à System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath) à System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) à System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) à Squirrel.SingleGlobalInstance..ctor(String key, TimeSpan timeOut) 2017-04-19 19:37:45> SingleGlobalInstance: Failed to grab lockfile, will retry: C:\Users\Felix\AppData\Local\Temp;C:\xampp\php\.squirrel-lock-A5AC73A3E38DA9464745C472A3463E606AE85ECE: System.NotSupportedException: Le format du chemin d'accès donné n'est pas pris en charge. à System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath) à System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) à System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) à Squirrel.SingleGlobalInstance..ctor(String key, TimeSpan timeOut) 2017-04-19 19:37:45> SingleGlobalInstance: Failed to grab lockfile, will retry: C:\Users\Felix\AppData\Local\Temp;C:\xampp\php\.squirrel-lock-A5AC73A3E38DA9464745C472A3463E606AE85ECE: System.NotSupportedException: Le format du chemin d'accès donné n'est pas pris en charge. à System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath) à System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) à System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) à Squirrel.SingleGlobalInstance..ctor(String key, TimeSpan timeOut) 2017-04-19 19:37:46> SingleGlobalInstance: Failed to grab lockfile, will retry: C:\Users\Felix\AppData\Local\Temp;C:\xampp\php\.squirrel-lock-A5AC73A3E38DA9464745C472A3463E606AE85ECE: System.NotSupportedException: Le format du chemin d'accès donné n'est pas pris en charge. à System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath) à System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) à System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) à Squirrel.SingleGlobalInstance..ctor(String key, TimeSpan timeOut) 2017-04-19 19:37:46> SingleGlobalInstance: Failed to grab lockfile, will retry: C:\Users\Felix\AppData\Local\Temp;C:\xampp\php\.squirrel-lock-A5AC73A3E38DA9464745C472A3463E606AE85ECE: System.NotSupportedException: Le format du chemin d'accès donné n'est pas pris en charge. à System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath) à System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) à System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) à Squirrel.SingleGlobalInstance..ctor(String key, TimeSpan timeOut) 2017-04-19 19:37:46> SingleGlobalInstance: Failed to grab lockfile, will retry: C:\Users\Felix\AppData\Local\Temp;C:\xampp\php\.squirrel-lock-A5AC73A3E38DA9464745C472A3463E606AE85ECE: System.NotSupportedException: Le format du chemin d'accès donné n'est pas pris en charge. à System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath) à System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) à System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) à Squirrel.SingleGlobalInstance..ctor(String key, TimeSpan timeOut) 2017-04-19 19:37:46> SingleGlobalInstance: Failed to grab lockfile, will retry: C:\Users\Felix\AppData\Local\Temp;C:\xampp\php\.squirrel-lock-A5AC73A3E38DA9464745C472A3463E606AE85ECE: System.NotSupportedException: Le format du chemin d'accès donné n'est pas pris en charge. à System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath) à System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) à System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) à Squirrel.SingleGlobalInstance..ctor(String key, TimeSpan timeOut) 2017-04-19 19:37:47> SingleGlobalInstance: Failed to grab lockfile, will retry: C:\Users\Felix\AppData\Local\Temp;C:\xampp\php\.squirrel-lock-A5AC73A3E38DA9464745C472A3463E606AE85ECE: System.NotSupportedException: Le format du chemin d'accès donné n'est pas pris en charge. à System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath) à System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) à System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) à Squirrel.SingleGlobalInstance..ctor(String key, TimeSpan timeOut) 2017-04-19 19:37:47> Unhandled exception: System.AggregateException: Une ou plusieurs erreurs se sont produites. ---> System.Exception: Couldn't acquire lock, is another instance running à Squirrel.SingleGlobalInstance..ctor(String key, TimeSpan timeOut) à Squirrel.UpdateManager.<acquireUpdateLock>b__31_0() à System.Threading.Tasks.Task`1.InnerInvoke() à System.Threading.Tasks.Task.Execute()
This is because the Windows is not allowing the application to access are create the folder in the destination in which application is trying to access.
Solution: Just goto the destination file mentioned in the error and give the permissions and if required create the folder in which the application is trying to install.
Eg: In this case -
2017-04-19 19:37:45> SingleGlobalInstance: Failed to grab lockfile, will retry: C:\Users\Felix\AppData\Local\Temp;C:\xampp\php\.squirrel-lock-
Goto the above destination folder, right click > Properties > Security > Give permissions
Now try installing the application again, this worked for me !!
Hi Félix! That's a Squirrel installer error rather than a SourceTree error itself. We had a user with a similar issue and he said that uninstalling .Net framework, and re-installing it again worked for him.
Otherwise, seems like other people have been having this problem too, you can check their answers in this thread.
Can you try that and let us know?
Cheers,
Ana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.