当我尝试
git push origin master
我的文件到 git 上,我得到一长串错误,上面写着:
回溯(最近一次通话最后):
文件“hooks/gl-pre-git”,第 22 行,在
os.environ['GL_REPO'], sys.argv[1] == 'W')
文件“/usr/lib/python3.2/xmlrpc/client.py”,第 1076 行,调用中
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
可能有人知道为什么会这样吗?我会尝试删除我的 git 存储库并克隆一个新的,但我会看看情况如何!