Issue #165 resolved

Unable to push remotely 2

igor_kostromin
created an issue

Hello guys, I've installed the 1.15 and have encountered an error when tried to push.

With enabled #pretxnchangegroup.scm = python:scmhooks.callback hook there are next errors when pushing: (if comment this hook, no error will appear)

{{{

!text

18:33:45.100 [qtp1197515375-16] WARN sonia.scm.web.HgCGIExceptionHandler - Mercurial/Python process ends with return code 1

18:38:22.122 [Thread-110] WARN sonia.scm.web.cgi.DefaultCGIExecutor - Traceback (most recent call last): File "/home/freddie/scm-home/lib/python/hgweb.py", line 42, in <module> wsgicgi.launch(application) File "/home/freddie/lib64/python/mercurial/hgweb/wsgicgi.py", line 76, in launch content = application(environ, start_response) File "/home/freddie/lib64/python/mercurial/hgweb/hgweb_mod.py", line 91, in call return self.run_wsgi(req) File "/home/freddie/lib64/python/mercurial/hgweb/hgweb_mod.py", line 127, in run_wsgi return protocol.call(self.repo, req, cmd) File "/home/freddie/lib64/python/mercurial/hgweb/protocol.py", line 76, in call rsp = wireproto.dispatch(repo, p, cmd) File "/home/freddie/lib64/python/mercurial/wireproto.py", line 348, in dispatch return func(repo, proto, *args) File "/home/freddie/lib64/python/mercurial/wireproto.py", line 587, in unbundle r = repo.addchangegroup(gen, 'serve', proto._client()) File "/home/freddie/lib64/python/mercurial/localrepo.py", line 2162, in addchangegroup url=url, pending=p) File "/home/freddie/lib64/python/mercurial/localrepo.py", line 271, in hook return hook.hook(self.ui, self, name, throw, args) File "/home/freddie/lib64/python/mercurial/hook.py", line 173, in hook r = _pythonhook(ui, repo, name, hname, hookfn, args, throw) or r File "/home/freddie/lib64/python/mercurial/hook.py", line 75, in _pythonhook r = obj(ui=ui, repo=repo, hooktype=name, args) File "/home/freddie/scm-home/lib/python/scmhooks.py", line 54, in callback conn = urllib.urlopen(url, data); File "/usr/lib64/python2.6/urllib.py", line 89, in urlopen return opener.open(url, data) File "/usr/lib64/python2.6/urllib.py", line 205, in open return getattr(self, name)(url, data) File "/usr/lib64/python2.6/urllib.py", line 338, in open_http h.endheaders() File "/usr/lib64/python2.6/httplib.py", line 868, in endheaders self._send_output() File "/usr/lib64/python2.6/httplib.py", line 740, in _send_output self.send(msg) File "/usr/lib64/python2.6/httplib.py", line 699, in send self.connect() File "/usr/lib64/python2.6/httplib.py", line 683, in connect self.timeout) File "/usr/lib64/python2.6/socket.py", line 512, in create_connection raise error, msg IOError: [Errno socket error] [Errno 111] Connection refused }}}

May be it is duplicate issue, but I can't check this without your help. Please, delete this issue if it is.

Comments (5)

  1. Log in to comment