[issue2919] util.opener Exception

David Read bugs at mercurial.selenic.com
Fri Jul 22 05:19:54 CDT 2011


New submission from David Read <david.read at okfn.org>:

With the latest PPA mercurial install, doing any mercurial command now 
results in this exception. Is it just me?

{{{
(pyenv-ckan2)dread at dread-laptop:~/hgroot/ckan2$ hg st
** unknown exception encountered, please report by visiting
**  http://mercurial.selenic.com/wiki/BugTracker
** Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56) [GCC 4.4.3]
** Mercurial Distributed SCM (version 1.9)
** Extensions loaded: hgattic, hgk, rebase, mq, extdiff
Traceback (most recent call last):
  File "/usr/bin/hg", line 38, in <module>
    mercurial.dispatch.run()
  File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 27, in run
    sys.exit(dispatch(request(sys.argv[1:])))
  File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 64, in 
dispatch
    return _runcatch(req)
  File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 87, in 
_runcatch
    return _dispatch(req)
  File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 646, in 
_dispatch
    repo = hg.repository(ui, path=path)
  File "/usr/lib/pymodules/python2.6/mercurial/hg.py", line 98, in 
repository
    hook(ui, repo)
  File "/home/dread/hgroot/hgattic/attic.py", line 686, in reposetup
    repo.attic = attic(ui, repo.join(''))
  File "/home/dread/hgroot/hgattic/attic.py", line 60, in __init__
    self.opener = util.opener(self.path)
AttributeError: 'module' object has no attribute 'opener'
}}}

----------
messages: 16952
nosy: dread
priority: urgent
status: unread
title: util.opener Exception

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


More information about the Mercurial-devel mailing list