[issue2880] forest extension crashes on Mac OSX Lion
Morris Meyer
bugs at mercurial.selenic.com
Mon Jul 4 14:55:00 CDT 2011
New submission from Morris Meyer <morris.meyer at oracle.com>:
Just installed the Mac OSX Lion GM. Mercurial src has build issues with
Xcode 4 latest for Lion development. Installed 1.9 with the forest
extension and get the following exception.
dhcp-adc-twvpn-1-vpnpool-10-154-27-148:REPO morris$
PYTHONPATH=/usr/local/lib/python2.7/site-packages hg fpull --update --verbose
searching for repos in /Users/morris/jfx/REPO
running ssh user at some.address.com "hg -R /some/path/ serve --stdio"
** unknown exception encountered, please report by visiting
** http://mercurial.selenic.com/wiki/BugTracker
** Python 2.7.1 (r271:86832, Jun 16 2011, 16:59:05) [GCC 4.2.1 (Based on
Apple Inc. build 5658) (LLVM build 2335.15.00)]
** Mercurial Distributed SCM (version 1.9)
** Extensions loaded: extdiff, forest, fetch, hgk, bisect, purge, mq
Traceback (most recent call last):
File "/usr/local/bin/hg", line 38, in <module>
mercurial.dispatch.run()
File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line
27, in run
sys.exit(dispatch(request(sys.argv[1:])))
File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line
64, in dispatch
return _runcatch(req)
File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line
87, in _runcatch
return _dispatch(req)
File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line
675, in _dispatch
cmdpats, cmdoptions)
File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line
454, in runcommand
ret = _runcommand(ui, options, cmd, d)
File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line
729, in _runcommand
return checkargs()
File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line
683, in checkargs
return cmdfunc()
File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line
672, in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
File "/usr/local/lib/python2.7/site-packages/mercurial/util.py", line 385,
in check
return func(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/mercurial/extensions.py", line
137, in wrap
util.checksignature(origfn), *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/mercurial/util.py", line 385,
in check
return func(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/hgext/mq.py", line 3218, in
mqcommand
return orig(ui, repo, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/mercurial/util.py", line 385,
in check
return func(*args, **kwargs)
File "/Users/morris/bin/forest.py", line 1047, in pull
srcforests = srcrepo.forests(walkhg)
File "/Users/morris/bin/forest.py", line 238, in _sshrepo_forests
data = repocall(self, "forests", walkhg=("", "True")[walkhg])
File "/Users/morris/bin/forest.py", line 225, in repocall
return callfn(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/mercurial/sshrepo.py", line
144, in _call
self._callstream(cmd, **args)
File "/usr/local/lib/python2.7/site-packages/mercurial/sshrepo.py", line
121, in _callstream
_func, names = wireproto.commands[cmd]
KeyError: 'forests'
remote: ** unknown exception encountered, details follow
remote: ** report bug details to http://www.selenic.com/mercurial/bts
remote: ** or mercurial at selenic.com
remote: ** Mercurial Distributed SCM (version 1.0.1)
remote: Traceback (most recent call last):
remote: File "/usr/bin/hg", line 20, in <module>
remote: mercurial.dispatch.run()
remote: File "/usr/local/lib/python2.5/site-
packages/mercurial/dispatch.py", line 20, in run
remote: sys.exit(dispatch(sys.argv[1:]))
remote: File "/usr/local/lib/python2.5/site-
packages/mercurial/dispatch.py", line 29, in dispatch
remote: return _runcatch(u, args)
remote: File "/usr/local/lib/python2.5/site-
packages/mercurial/dispatch.py", line 45, in _runcatch
remote: return _dispatch(ui, args)
remote: File "/usr/local/lib/python2.5/site-
packages/mercurial/dispatch.py", line 364, in _dispatch
remote: ret = _runcommand(ui, options, cmd, d)
remote: File "/usr/local/lib/python2.5/site-
packages/mercurial/dispatch.py", line 417, in _runcommand
remote: return checkargs()
remote: File "/usr/local/lib/python2.5/site-
packages/mercurial/dispatch.py", line 373, in checkargs
remote: return cmdfunc()
remote: File "/usr/local/lib/python2.5/site-
packages/mercurial/dispatch.py", line 356, in <lambda>
remote: d = lambda: func(ui, repo, *args, **cmdoptions)
remote: File "/usr/local/lib/python2.5/site-
packages/mercurial/commands.py", line 2503, in serve
remote: s.serve_forever()
remote: File "/usr/local/lib/python2.5/site-
packages/mercurial/sshserver.py", line 40, in serve_forever
remote: while self.serve_one(): pass
remote: File "/usr/local/lib/python2.5/site-
packages/mercurial/sshserver.py", line 47, in serve_one
remote: if impl: impl()
remote: File "/home/user/bin/forest.py", line 220, in _sshserver_do_forests
remote: key, walkhg = self.getarg()
remote: File "/usr/local/lib/python2.5/site-
packages/mercurial/sshserver.py", line 30, in getarg
remote: arg, l = argline.split()
remote: ValueError: need more than 0 values to unpack
----------
files: forest.py
messages: 16694
nosy: morris
priority: critical
status: unread
title: forest extension crashes on Mac OSX Lion
____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2880>
____________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: forest.py
Type: text/x-python-script
Size: 51924 bytes
Desc: not available
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20110704/f08b8069/attachment.bin>
More information about the Mercurial-devel
mailing list