Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Causes aborts with recent releases #1

Open
Kalium opened this issue Aug 1, 2011 · 1 comment
Open

Causes aborts with recent releases #1

Kalium opened this issue Aug 1, 2011 · 1 comment

Comments

@Kalium
Copy link

Kalium commented Aug 1, 2011

With mercurial 1.8.4 and 1.9.0, using hg-banajour with the paths command causes the error: "abort: Unknown host"

  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/mercurial/dispatch.py", line 87, in _runcatch
    return _dispatch(req)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/mercurial/dispatch.py", line 675, in _dispatch
    cmdpats, cmdoptions)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/mercurial/dispatch.py", line 454, in runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/mercurial/extensions.py", line 182, in wrap
    return wrapper(origfn, _args, *_kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/hgext/color.py", line 367, in colorcmd
    return orig(ui_, opts, cmd, cmdfunc)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/mercurial/extensions.py", line 182, in wrap
    return wrapper(origfn, _args, *_kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/hgext/zeroconf/**init**.py", line 171, in cleanupafterdispatch
    return orig(ui, options, cmd, cmdfunc)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/mercurial/dispatch.py", line 729, in _runcommand
    return checkargs()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/mercurial/dispatch.py", line 683, in checkargs
    return cmdfunc()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/mercurial/dispatch.py", line 672, in <lambda>
    d = lambda: util.checksignature(func)(ui, _args, *_cmdoptions)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/mercurial/util.py", line 385, in check
    return func(_args, *_kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/mercurial/extensions.py", line 137, in wrap
    util.checksignature(origfn), _args, *_kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/mercurial/util.py", line 385, in check
    return func(_args, *_kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/hgext/mq.py", line 3218, in mqcommand
    return orig(ui, repo, _args, *_kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/mercurial/util.py", line 385, in check
    return func(_args, *_kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/mercurial/commands.py", line 3715, in paths
    for name, path in ui.configitems("paths"):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/mercurial/extensions.py", line 182, in wrap
    return wrapper(origfn, _args, *_kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/hgext/zeroconf/__init__.py", line 158, in configitems
    repos = orig(self, section, untrusted)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/mercurial/extensions.py", line 182, in wrap
    return wrapper(origfn, _args, *_kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/hg-bananajour/**init**.py", line 117, in configitems
    r += getzcpaths()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/hg-bananajour/**init**.py", line 85, in getzcpaths
    ip = getip()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/hg-bananajour/**init**.py", line 56, in getip
    dumbip = socket.gethostbyaddr(socket.gethostname())[2][0]
herror: [Errno 1] Unknown host
abort: Unknown host

@lstoll
Copy link
Owner

lstoll commented Aug 2, 2011

Sorry, I'm no longer using mercurial so not actively maintaining this. Someone else can fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants