[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#242169: update-apache2-modules fails with error message: "Exception exceptions.AttributeError: "DbfilenameShelf instance has no attribute 'writeback'" in ignored"

Package: apache2-common
Version: 2.0.49-1
Severity: normal

update-apache2-modules fails whatever argument is passed :

# /usr/sbin/update-apache2-modules
Traceback (most recent call last):
  File "/usr/sbin/update-apache2-modules", line 123, in ?
  File "/usr/sbin/update-apache2-modules", line 34, in main
    mh = A2ModHandler("/var/lib/apache2/modules")
  File "/usr/sbin/modhandler.py", line 46, in __init__
    self.registry = shelve.open(db,"c",writeback=True)
  File "/usr/lib/python2.3/shelve.py", line 231, in open
    return DbfilenameShelf(filename, flag, protocol, writeback, binary)
  File "/usr/lib/python2.3/shelve.py", line 212, in __init__
    Shelf.__init__(self, anydbm.open(filename, flag), protocol, writeback, binary)
  File "/usr/lib/python2.3/anydbm.py", line 83, in open
    return mod.open(file, flag, mode)
  File "/usr/lib/python2.3/dbhash.py", line 16, in open
    return bsddb.hashopen(file, flag, mode)
  File "/usr/lib/python2.3/bsddb/__init__.py", line 192, in hashopen
    d.open(file, db.DB_HASH, flags, mode)
bsddb._db.DBNoSuchFileError: (2, 'No such file or directory')
Exception exceptions.AttributeError: "DbfilenameShelf instance has no attribute 'writeback'" in  ignored

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.4
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro

Versions of packages apache2-common depends on:
ii  debconf                     1.4.21       Debian configuration management sy
ii  debianutils                 2.8.1        Miscellaneous utilities specific t
ii  libapr0                     2.0.49-1     The Apache Portable Runtime
ii  libc6                       2.3.2.ds1-11 GNU C Library: Shared libraries an
ii  libdb4.2                    4.2.52-16    Berkeley v4.2 Database Libraries [
ii  libexpat1                   1.95.6-8     XML parsing C library - runtime li
ii  libldap2                    2.1.26-1     OpenLDAP libraries
ii  libmagic1                   4.07-2       File type determination library us
ii  libssl0.9.7                 0.9.7d-1     SSL shared libraries
ii  mime-support                3.26-1       MIME files 'mime.types' & 'mailcap
ii  net-tools                   1.60-9       The NET-3 networking toolkit
ii  openssl                     0.9.7d-1     Secure Socket Layer (SSL) binary a
ii  ssl-cert                    1.0-7        Simple debconf wrapper for openssl
ii  zlib1g                      1:1.2.1-5    compression library - runtime

-- no debconf information

Reply to: