Gitosis-init returns "Fatal Python error: <stdin> is a directory", why is this?
- by Jasper Kennis
I'm trying to get gitosis installed because I want to use Indefero and I need a deamon for the git:// protocol. However, following the instructions in the Git Pro book (http://progit.org/book/ch4-7.html) I run into trouble pretty soon. This is what happens:
[x@x gitosis]# sudo -H -u git gitosis-init < /tmp/id_dsa.pub
Fatal Python error: <stdin> is a directory
Aborted
The error is really vague to me and I didn't find anything helpful around, except that I think stdin is somehow part of C, which confuses me even more since the error is Python. I really don't understand what's going on, or where to look for clues, so I hope someone can tell me where to look next for more info on the problem. Tnx.