Reputation: 563
when I try to
git push origin master
my files onto git, I get a long list of errors that say:
Traceback (most recent call last):
File "hooks/gl-pre-git", line 22, in
os.environ['GL_REPO'], sys.argv[1] == 'W')
File "/usr/lib/python3.2/xmlrpc/client.py", line 1076, in call
return self.__send(self.__name, args)
File "/usr/lib/python3.2/xmlrpc/client.py", line 1403, in __request
verbose=self.__verbose
File "/usr/lib/python3.2/xmlrpc/client.py", line 1117, in request
return self.single_request(host, handler, request_body, verbose)
File "/usr/lib/python3.2/xmlrpc/client.py", line 1128, in single_request
http_conn = self.send_request(host, handler, request_body, verbose)
File "/usr/lib/python3.2/xmlrpc/client.py", line 1240, in send_request
self.send_content(connection, request_body)
File "/usr/lib/python3.2/xmlrpc/client.py", line 1270, in send_content
connection.endheaders(request_body)
File "/usr/lib/python3.2/http/client.py", line 963, in endheaders
self._send_output(message_body)
File "/usr/lib/python3.2/http/client.py", line 808, in _send_output
self.send(msg)
File "/usr/lib/python3.2/http/client.py", line 746, in send
self.connect()
File "/usr/lib/python3.2/http/client.py", line 724, in connect
self.timeout, self.source_address)
File "/usr/lib/python3.2/socket.py", line 404, in create_connection
raise err
File "/usr/lib/python3.2/socket.py", line 395, in create_connection
sock.connect(sa)
socket.error: [Errno 111] Connection refused
gl-pre-git hook failed (256)
fatal: The remote end hung up unexpectedly
Might anyone know why this is happening? I will try to remove my git repository and clone a new one I guess but I'll see how things go!
Upvotes: 0
Views: 157
Reputation: 53462
GL_REPO implies that gitolite is being used on the repo server. If you haven't set up gitolite on the repo server yourself, you need to contact whoever has set it up and notify them of the problem to get it fixed.
So there is nothing you can do on the git client end. It needs to be fixed on the server.
Upvotes: 1
Reputation: 4314
Check out your git hooks. (.git/hooks/gl-pre-git) Looks like an error with a hook pre-git hook.
Upvotes: 0