Gitosis-init returns "Fatal Python error: <stdin> is a directory", why is this?

Posted by Jasper Kennis on Server Fault See other posts from Server Fault or by Jasper Kennis
Published on 2011-03-08T14:34:57Z Indexed on 2011/03/09 0:12 UTC
Read the original article Hit count: 572

Filed under:
|
|
|

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.

© Server Fault or respective owner

Related posts about python

Related posts about git