Smartgit 21.1 doesn't start as regular user on windows

12 views
Skip to first unread message

backmeup666

unread,
May 11, 2021, 6:05:37 AMMay 11
to SmartGit
I've installed Smartgit 21.1 on windows 10 and it worked for some time. 
Then today it wouldn't start anymore. No message is shown, it just wouldn't start. 
The log contains the following entry: 
726 (2021-05-11 08:32:40) [ThreadPool-0 (com.syntevo.smartgit.p$$Lambda$72/0x000000010019a040)] INFO        q.io.lockFile - Locked C:\Program Files\smartgit\.settings\_lock_
730 (2021-05-11 08:32:40) [ThreadPool-0 (com.syntevo.smartgit.p$$Lambda$72/0x000000010019a040)] WARNING                 q.io - Could not delete directory C:\Program Files\smartgit\.settings\jna-tmp
java.nio.file.AccessDeniedException: C:\Program Files\smartgit\.settings\jna-tmp\com\sun\jna\win32-x86-64\jnidispatch.dll
at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:89)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
at java.base/sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:274)
at java.base/sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:105)
at java.base/java.nio.file.Files.delete(Files.java:1141)
at smartgit.Wa.a(SourceFile:1012)
at smartgit.Wc.b(SourceFile:1100)
at smartgit.Wc.visitFile(SourceFile:1087)
at java.base/java.nio.file.Files.walkFileTree(Files.java:2724)
at java.base/java.nio.file.Files.walkFileTree(Files.java:2796)
at smartgit.Wa.a(SourceFile:1087)
at smartgit.Wa.a(SourceFile:117)
at smartgit.acb.a(SourceFile:408)
at com.syntevo.smartgit.p.a(SourceFile:524)
at com.syntevo.smartgit.p.b(SourceFile:421)
at smartgit.aaj.run(SourceFile:66)

I've manually deleted the folder C:\Program Files\smartgit\.settings\jna-tmp and now it works again. 

syntevo Support

unread,
May 11, 2021, 6:19:51 AMMay 11
to smar...@googlegroups.com
This looks like another SmartGit process was still running and locking this file.

--
Best regards,
Thomas Singer
syntevo GmbH
http://www.syntevo.com
> --
> You received this message because you are subscribed to the Google Groups
> "SmartGit" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
> smartgit+u...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/smartgit/bb02630d-3618-4e18-a0c8-127905cdb005n%40googlegroups.com.
>

backmeup666

unread,
May 11, 2021, 1:31:56 PMMay 11
to SmartGit
I've checked and there was no smargit process running. 
Besides this, if another smartgit process did run, i would not have been able to delete this folder manually. 

syntevo Support

unread,
May 11, 2021, 1:38:01 PMMay 11
to smar...@googlegroups.com
Could it be that you've launched SmartGit one time with admin privileges and the other one without? Is the behavior reproducible for you?

--
Best regards,
Thomas Singer
syntevo GmbH
http://www.syntevo.com


> https://groups.google.com/d/msgid/smartgit/a622e75c-81db-4966-99ee-84f7f4269169n%40googlegroups.com.
>

syntevo Support

unread,
May 11, 2021, 1:41:41 PMMay 11
to smar...@googlegroups.com
You should install the portable bundle into a directory where your user account has write access. C:\Program Files is not writable as normal user account.

--
Best regards,
Thomas Singer
syntevo GmbH
http://www.syntevo.com


> https://groups.google.com/d/msgid/smartgit/609ac0f8.1c69fb81.74e60.cdbaSMTPIN_ADDED_BROKEN%40gmr-mx.google.com.
>
Reply all
Reply to author
Forward
0 new messages