[issue2066] hg serve on OS X fails the second time

Dirkjan Ochtman bugs at mercurial.selenic.com
Mon Mar 1 13:54:01 UTC 2010


New submission from Dirkjan Ochtman <dirkjan at ochtman.nl>:

- hg serve
- SIGINT it after a few requests
- hg serve again

djc at djc-mbp jython-hg $ hg serve --traceback
Traceback (most recent call last):
  File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 46,
in _runcatch
    return _dispatch(ui, args)
  File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 454,
in _dispatch
    return runcommand(lui, repo, cmd, fullargs, ui, options, d)
  File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 324,
in runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 505,
in _runcommand
    return checkargs()
  File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 459,
in checkargs
    return cmdfunc()
  File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 453,
in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/Library/Python/2.6/site-packages/mercurial/util.py", line 386, in check
    return func(*args, **kwargs)
  File "/Library/Python/2.6/site-packages/mercurial/commands.py", line 2830,
in serve
    cmdutil.service(opts, initfn=service.init, runfn=service.run)
  File "/Library/Python/2.6/site-packages/mercurial/cmdutil.py", line 582,
in service
    initfn()
  File "/Library/Python/2.6/site-packages/mercurial/commands.py", line 2800,
in init
    self.httpd = server.create_server(baseui, repo)
  File "/Library/Python/2.6/site-packages/mercurial/hgweb/server.py", line
298, in create_server
    % (address, port, inst.args[1]))
Abort: cannot start server at ':8000': Unknown host

----------
messages: 11899
nosy: djc
priority: bug
status: unread
title: hg serve on OS X fails the second time

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2066>
____________________________________________________


More information about the Mercurial-devel mailing list