Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

Unhandled Exception: System.Exception: GetTokenInformation failed #7

Closed
asgeo1 opened this issue Aug 16, 2012 · 5 comments
Closed

Unhandled Exception: System.Exception: GetTokenInformation failed #7

asgeo1 opened this issue Aug 16, 2012 · 5 comments

Comments

@asgeo1
Copy link

asgeo1 commented Aug 16, 2012

I installed "GitHub for Windows" on my Windows XP VM, as well as on the some other Windows XP machines.

Each one has the same issue. GitPad crashes when invoked - e.g. git commit

C:\Documents and Settings\Adam\My Documents\GitHub\arms [master +1 ~0 -0 !]> git commit --amend

Unhandled Exception: System.Exception: GetTokenInformation failed
   at Gitpad.Program.IsProcessElevated()
   at Gitpad.Program.Main(String[] args)
error: There was a problem with the editor 'gitpad'.
Please supply the message using either -m or -F option.

The same thing happens if I download the latest GitPad.exe and try to install it.

What could be wrong?

@ayca
Copy link

ayca commented Sep 20, 2012

I'm having the same problem with same scenario and "git commit -a --amend" command. Is there a fix or a workaround for this problem?

EDIT

I've found the workaround. The exception is thrown because no message was sent with the command.
If you use 'git commit -a --amend -m "your message here"' last commit will be fixed nice and easy but the commit message will be changed.

@anaisbetts
Copy link
Contributor

Hm. I wonder why we haven't heard about this until now.

@ayca
Copy link

ayca commented Sep 21, 2012

May be it's related to the latest version of github for windows application. I'm not sure.

@anaisbetts
Copy link
Contributor

@ayca Is your computer managed in a corporate environment? Do you run as a Standard User?

@ayca
Copy link

ayca commented Sep 21, 2012

Yes, I'm using windows server 2003 for business purposes. I have administrator rights. So far I didn't experience any other problems with gitpad.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants