Exception from bsddb module

Discussion in 'Python' started by jalil@feghhi.com, Jan 30, 2005.

  1. Guest

    I am using Python 2.4 and get this exception when running my mod_python
    application. This used to work in my older environment.

    Any ideas on how I can debug this issue?

    -Jalil


    Mod_python error: "PythonHandler mod_python.psp"

    Traceback (most recent call last):

    File "/usr/local/lib/python2.4/site-packages/mod_python/apache.py",
    line 299, in HandlerDispatch
    result = object(req)

    File "/usr/local/lib/python2.4/site-packages/mod_python/psp.py", line
    297, in handler
    p.run()

    File "/usr/local/lib/python2.4/site-packages/mod_python/psp.py", line
    191, in run
    session = Session.Session(req)

    File "/usr/local/lib/python2.4/site-packages/mod_python/Session.py",
    line 389, in Session
    timeout=timeout, lock=lock)

    File "/usr/local/lib/python2.4/site-packages/mod_python/Session.py",
    line 294, in __init__
    timeout=timeout, lock=lock)

    File "/usr/local/lib/python2.4/site-packages/mod_python/Session.py",
    line 124, in __init__
    if self.load():

    File "/usr/local/lib/python2.4/site-packages/mod_python/Session.py",
    line 185, in load
    dict = self.do_load()

    File "/usr/local/lib/python2.4/site-packages/mod_python/Session.py",
    line 315, in do_load
    dbm = self._get_dbm()

    File "/usr/local/lib/python2.4/site-packages/mod_python/Session.py",
    line 302, in _get_dbm
    result = self._dbmtype.open(self._dbmfile, 'c')

    File "/usr/local/lib/python2.4/anydbm.py", line 83, in open
    return mod.open(file, flag, mode)

    File "/usr/local/lib/python2.4/dbhash.py", line 16, in open
    return bsddb.hashopen(file, flag, mode)

    File "/usr/local/lib/python2.4/bsddb/__init__.py", line 285, in
    hashopen
    e = _openDBEnv()

    File "/usr/local/lib/python2.4/bsddb/__init__.py", line 339, in
    _openDBEnv
    e.open('.', db.DB_PRIVATE | db.DB_CREATE | db.DB_THREAD |
    db.DB_INIT_LOCK | db.DB_INIT_MPOOL)
    DBError: (153777744, 'Unknown error 153777744')
    , Jan 30, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. John D.

    problems importing "bsddb"

    John D., Aug 12, 2003, in forum: Python
    Replies:
    0
    Views:
    285
    John D.
    Aug 12, 2003
  2. Jane Austine
    Replies:
    0
    Views:
    308
    Jane Austine
    Aug 14, 2003
  3. Neville C. Dempsey
    Replies:
    0
    Views:
    357
    Neville C. Dempsey
    Jun 12, 2005
  4. Skip Montanaro
    Replies:
    1
    Views:
    381
    Bengt Richter
    Jun 26, 2005
  5. cocobear

    about bsddb module

    cocobear, May 3, 2008, in forum: Python
    Replies:
    2
    Views:
    425
    Jorge Godoy
    May 4, 2008
Loading...

Share This Page