File: getEffectiveUserID_not_supported_on_Windows.mdwn

package info (click to toggle)
git-annex 5.20141125
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 37,828 kB
  • ctags: 583
  • sloc: haskell: 42,582; sh: 1,080; ansic: 498; makefile: 316; perl: 125
file content (28 lines) | stat: -rw-r--r-- 1,248 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
### Please describe the problem.
After a clean install of the latest git-annex for Windows (https://downloads.kitenet.net/git-annex/windows/current/), most git-annex commands fail with the following error message:
    
    git-annex: System.PosixCompat.User.getEffectiveUserID: not supported: illegal operation

### What steps will reproduce the problem?

    git init
    git annex init

Running for example `git annex version` or `git annex info` gives the same error message.


### What version of git-annex are you using? On what operating system?

git-annex version should be 5.20141024, but the installer does not specify version and `git annex info` does not work, so it is hard to tell for sure.
Running Windows 7, x64. Also tried running as administrator and in a cmd.exe shell as well as Powershell.


### Please provide any additional information below.

The `git annex test` command does work, and all 84 tests passes.

> [[fixed|done]]; I was able to reproduce this bug, and it was crashing
> trying to look up the geckos username. I don't understand why this worked
> before; some change exposed this code path on Windows. In any case, I've
> fixed the crash, and I will be updating the windows builds with this bug
> fix. --[[Joey]]