[MacPorts] #27196: hg-forest @20090409 +attribute error httprepository object has no attribute do_read
#27196: hg-forest @20090409 +attribute error httprepository object has no attribute do_read --------------------------------------------------+------------------------- Reporter: nhoj.patrick@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 1.9.2 Keywords: hg-forest mercurial forest extension | Port: hg-forest --------------------------------------------------+------------------------- I've just installed mercurial and hg-forest and get the following error when trying to use it. $ hg fclone http://hg.openjdk.java.net/bsd-port/bsd-port ** unknown exception encountered, please report by visiting ** http://mercurial.selenic.com/wiki/BugTracker ** Python 2.6.6 (r266:84292, Sep 4 2010, 23:04:14) [GCC 4.2.1 (Apple Inc. build 5664)] ** Mercurial Distributed SCM (version 1.7) ** Extensions loaded: fetch, 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/john/projects/opensource/bitbucket.org/hgforest- crew/forest.py", line 858, in clone forests = toprepo.forests(walkhgenabled(ui, opts['walkhg'])) File "/Users/john/projects/opensource/bitbucket.org/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' $ -- Ticket URL: <https://trac.macports.org/ticket/27196> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 ------------------------------------+--------------------------------------- Changes (by jmr@…): * keywords: hg-forest mercurial forest extension => mercurial extension * priority: High => Normal Old description:
I've just installed mercurial and hg-forest and get the following error when trying to use it.
$ hg fclone http://hg.openjdk.java.net/bsd-port/bsd-port ** unknown exception encountered, please report by visiting ** http://mercurial.selenic.com/wiki/BugTracker ** Python 2.6.6 (r266:84292, Sep 4 2010, 23:04:14) [GCC 4.2.1 (Apple Inc. build 5664)] ** Mercurial Distributed SCM (version 1.7) ** Extensions loaded: fetch, 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/john/projects/opensource/bitbucket.org/hgforest- crew/forest.py", line 858, in clone forests = toprepo.forests(walkhgenabled(ui, opts['walkhg'])) File "/Users/john/projects/opensource/bitbucket.org/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' $
New description: I've just installed mercurial and hg-forest and get the following error when trying to use it. {{{ $ hg fclone http://hg.openjdk.java.net/bsd-port/bsd-port ** unknown exception encountered, please report by visiting ** http://mercurial.selenic.com/wiki/BugTracker ** Python 2.6.6 (r266:84292, Sep 4 2010, 23:04:14) [GCC 4.2.1 (Apple Inc. build 5664)] ** Mercurial Distributed SCM (version 1.7) ** Extensions loaded: fetch, 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/john/projects/opensource/bitbucket.org/hgforest- crew/forest.py", line 858, in clone forests = toprepo.forests(walkhgenabled(ui, opts['walkhg'])) File "/Users/john/projects/opensource/bitbucket.org/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' $ }}} -- Comment: Please remember to preview and use WikiFormatting (or better, use an attachment for lengthy output). As per the ticket guidelines, the High priority is reserved for the use of MacPorts team members. -- Ticket URL: <https://trac.macports.org/ticket/27196#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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@…): Same problem here. I tried with OS/X Mercurial 1.7 dmg and it's the same problem. -- Ticket URL: <https://trac.macports.org/ticket/27196#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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
#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 olexandr.voloshyn@…): Replying to [comment:2 henri.gomez@…]:
Same problem here. I tried with OS/X Mercurial 1.7 dmg and it's the same problem. This link must bu useful for you http://bitbucket.org/pmezard/hgforest-crew/issue/11
-- Ticket URL: <https://trac.macports.org/ticket/27196#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 nhoj.patrick@…): Yes I also raised this issue at bitbucket. I wanted to fix the upstream and then get macports to bring down that version instead of creating another fork. I've raised issues and supplied patches to both projects on bitbucket (hgforest and hgforest-crew). If don't hear anything back regarding accepting the patch or not, I'll fork the forest extension myself and then get macports to pull from their instead. John -- Ticket URL: <https://trac.macports.org/ticket/27196#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27196: hg-forest @20090409 +attribute error httprepository object has no attribute do_read -------------------------------------+-------------------------------------- Reporter: nhoj.patrick@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: mercurial extension Port: hg-forest | -------------------------------------+-------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: Looks like this was fixed by r75014. -- Ticket URL: <https://trac.macports.org/ticket/27196#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts