On Fri, Jan 23, 2009 at 4:51 AM, Alpár Jüttner <[email protected]> wrote:
>
> I'm very sorry, I copied a wrong traceback. The right one is this:
>
> $ ./contrib/hgtk log
> Traceback (most recent call last):
> File "./contrib/hgtk", line 475, in <module>
> sys.exit(dispatch(sys.argv[1:]))
> File "./contrib/hgtk", line 36, in dispatch
> return _runcatch(u, args)
> File "./contrib/hgtk", line 76, in _runcatch
> return runcommand(ui, args)
> File "./contrib/hgtk", line 171, in runcommand
> return func(ui, *args, **cmdoptions)
> File "./contrib/hgtk", line 223, in log
> run(**opts)
> File
> "/home/alpar/download/Devel/mercurial/tortoisehg/hggtk/history.py", line
> 630, in run
> dialog = GLog(u, repo, cwd, files, cmdoptions, True)
> File
> "/home/alpar/download/Devel/mercurial/tortoisehg/hggtk/gdialog.py", line
> 103, in __init__
> self.settings = Settings(self.__class__.__name__)
> File "/home/alpar/download/Devel/mercurial/tortoisehg/hggtk/shlib.py",
> line 59, in __init__
> self.read()
> File "/home/alpar/download/Devel/mercurial/tortoisehg/hggtk/shlib.py",
> line 88, in read
> dbase = shelve.open(self._path)
> File "/usr/lib/python2.6/shelve.py", line 234, in open
> return DbfilenameShelf(filename, flag, protocol, writeback)
> File "/usr/lib/python2.6/shelve.py", line 218, in __init__
> Shelf.__init__(self, anydbm.open(filename, flag), protocol,
> writeback)
> File "/usr/lib/python2.6/anydbm.py", line 82, in open
> mod = __import__(result)
> File "/usr/lib/python2.6/dbhash.py", line 8, in <module>
> import bsddb
> File "/usr/lib/python2.6/bsddb/__init__.py", line 64, in <module>
> import _bsddb
> ImportError: No module named _bsddb
>
>
> Isn't it possible that the problem is with the python-2.6 that I use?
> (It is the default python package of openSuse11.1)
>
Yes, that is a python-2.6 issue.
http://mail.python.org/pipermail/new-bugs-announce/2008-September/002662.html
*sigh* we're not even directly using bsddb, we're importing shelve.
Does anyone know what the magic words are to make this go away on 2.6?
Do we just explicitly import _bsddb?
--
Steve
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Tortoisehg-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss