[MacPorts] #30131: tortoisehg impossible to start after last port update

MacPorts noreply at macports.org
Mon Jul 11 04:40:52 PDT 2011


#30131: tortoisehg impossible to start after last port update
-----------------------------------------------+----------------------------
 Reporter:  btacquet@…                         |       Owner:  macports-tickets@…                   
     Type:  defect                             |      Status:  new                                  
 Priority:  Normal                             |   Milestone:                                       
Component:  ports                              |     Version:  1.9.2                                
 Keywords:  tortoisehg mercurial python py2.6  |        Port:  tortoisehg                           
-----------------------------------------------+----------------------------
 HI,

 TortoiseHg is broken for me:
 {{{
 iOurs:~$ thg &
 [1] 640
 iOurs:~$ Traceback (most recent call last):
   File "/opt/local/bin/thg", line 87, in <module>
     ret = tortoisehg.hgqt.run.dispatch(sys.argv[1:])
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/mercurial/demandimport.py", line 75, in __getattribute__
     self._load()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/mercurial/demandimport.py", line 47, in _load
     mod = _origimport(head, globals, locals)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/tortoisehg/hgqt/run.py", line 351, in <module>
     class _QtRunner(QObject):
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/tortoisehg/hgqt/run.py", line 364, in _QtRunner
     error.RepoLookupError: _('Try refreshing your repository.'),
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/tortoisehg/util/i18n.py", line 77, in agettext
     return hglib.fromutf(u)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/mercurial/demandimport.py", line 75, in __getattribute__
     self._load()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/mercurial/demandimport.py", line 47, in _load
     mod = _origimport(head, globals, locals)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/tortoisehg/util/hglib.py", line 22, in <module>
     from mercurial.patch import updatedir
 ImportError: cannot import name updatedir
 }}}

 The issue start with last port selfupdate. No idea if it comes from
 mercurial/tortoise or python...

-- 
Ticket URL: <https://trac.macports.org/ticket/30131>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list