[MacPorts] #27196: hg-forest @20090409 +attribute error httprepository object has no attribute do_read
MacPorts
noreply at macports.org
Tue Nov 9 03:39:28 PST 2010
#27196: hg-forest @20090409 +attribute error httprepository object has no attribute
do_read
------------------------------------+---------------------------------------
Reporter: nhoj.patrick@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: mercurial extension | Port: hg-forest
------------------------------------+---------------------------------------
Comment(by henri.gomez@…):
More on this :
Apple Python 2.6.1 + Mercurial 1.7 (from mercurial site) + forest from
hgforest-crew/forest.py (md5 = ea0208e8eedc90354ce8ca4d03bd0b17)
{{{
** unknown exception encountered, please report by visiting
** http://mercurial.selenic.com/wiki/BugTracker
** Python 2.6.1 (r261:67515, Feb 11 2010, 00:51:29) [GCC 4.2.1 (Apple Inc.
build 5646)]
** Mercurial version 1.7+20101101, système de gestion de sources distribué
** Extensions chargées : forest
Traceback (most recent call last):
File "/usr/local/bin/hg", line 38, in <module>
mercurial.dispatch.run()
File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 16,
in run
sys.exit(dispatch(sys.argv[1:]))
File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 36,
in dispatch
return _runcatch(u, args)
File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 58,
in _runcatch
return _dispatch(ui, args)
File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line
590, in _dispatch
cmdpats, cmdoptions)
File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line
401, in runcommand
ret = _runcommand(ui, options, cmd, d)
File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line
641, in _runcommand
return checkargs()
File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line
595, in checkargs
return cmdfunc()
File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line
588, in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
File "/Library/Python/2.6/site-packages/mercurial/util.py", line 427, in
check
return func(*args, **kwargs)
File "/Users/henri/hgforest-crew/forest.py", line 858, in clone
forests = toprepo.forests(walkhgenabled(ui, opts['walkhg']))
File "/Users/henri/hgforest-crew/forest.py", line 277, in
_httprepo_forests
data = self.do_read("forests", walkhg=("", "True")[walkhg])
AttributeError: 'httprepository' object has no attribute 'do_read'
}}}
MacPorts Python 2.6.6 + Mercurial 1.7 (from MacPorts hg-forest) + forest
from hgforest-crew/forest.py (md5 = ea0208e8eedc90354ce8ca4d03bd0b17)
{{{
** unknown exception encountered, please report by visiting
** http://mercurial.selenic.com/wiki/BugTracker
** Python 2.6.6 (r266:84292, Nov 7 2010, 22:50:29) [GCC 4.2.1 (Apple Inc.
build 5664)]
** Mercurial version 1.7, système de gestion de sources distribué
** Extensions chargées : forest
Traceback (most recent call last):
File "/opt/local/bin/hg", line 38, in <module>
mercurial.dispatch.run()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/mercurial/dispatch.py", line 16, in run
sys.exit(dispatch(sys.argv[1:]))
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/mercurial/dispatch.py", line 36, in dispatch
return _runcatch(u, args)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/mercurial/dispatch.py", line 58, in _runcatch
return _dispatch(ui, args)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/mercurial/dispatch.py", line 590, in _dispatch
cmdpats, cmdoptions)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/mercurial/dispatch.py", line 401, in runcommand
ret = _runcommand(ui, options, cmd, d)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/mercurial/dispatch.py", line 641, in _runcommand
return checkargs()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/mercurial/dispatch.py", line 595, in checkargs
return cmdfunc()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/mercurial/dispatch.py", line 588, 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 427, in check
return func(*args, **kwargs)
File "/Users/henri/hgforest-crew/forest.py", line 858, in clone
forests = toprepo.forests(walkhgenabled(ui, opts['walkhg']))
File "/Users/henri/hgforest-crew/forest.py", line 277, in
_httprepo_forests
data = self.do_read("forests", walkhg=("", "True")[walkhg])
AttributeError: 'httprepository' object has no attribute 'do_read'
}}}
MacPorts Python 2.6.6 + Mercurial 1.7 (from MacPorts hg-forest) + forest
(from MacPorts hg-forest)
{{{
** unknown exception encountered, please report by visiting
** http://mercurial.selenic.com/wiki/BugTracker
** Python 2.6.6 (r266:84292, Nov 7 2010, 22:50:29) [GCC 4.2.1 (Apple Inc.
build 5664)]
** Mercurial version 1.7, système de gestion de sources distribué
** Extensions chargées : forest
Traceback (most recent call last):
File "/opt/local/bin/hg", line 38, in <module>
mercurial.dispatch.run()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/mercurial/dispatch.py", line 16, in run
sys.exit(dispatch(sys.argv[1:]))
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/mercurial/dispatch.py", line 36, in dispatch
return _runcatch(u, args)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/mercurial/dispatch.py", line 58, in _runcatch
return _dispatch(ui, args)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/mercurial/dispatch.py", line 590, in _dispatch
cmdpats, cmdoptions)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/mercurial/dispatch.py", line 401, in runcommand
ret = _runcommand(ui, options, cmd, d)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/mercurial/dispatch.py", line 641, in _runcommand
return checkargs()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/mercurial/dispatch.py", line 595, in checkargs
return cmdfunc()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/mercurial/dispatch.py", line 588, 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 427, in check
return func(*args, **kwargs)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/hgext/forest.py", line 830, in clone
forests = toprepo.forests(walkhgenabled(ui, opts['walkhg']))
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/hgext/forest.py", line 246, in _httprepo_forests
data = self.do_read("forests", walkhg=("", "True")[walkhg])
AttributeError: 'httprepository' object has no attribute 'do_read'
}}}
--
Ticket URL: <https://trac.macports.org/ticket/27196#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list