← Back to team overview

desktop-packages team mailing list archive

[Bug 1313884] Re: softwarecenter.backend.reviews - WARNING - error creating bsddb: Invalid argument -- BDB0054 illegal flag combination specified to DB_ENV->open

 

** Branch linked: lp:~seb128/software-center/invalid_db_open

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to software-center in Ubuntu.
https://bugs.launchpad.net/bugs/1313884

Title:
  softwarecenter.backend.reviews - WARNING - error creating bsddb:
  Invalid argument -- BDB0054 illegal flag combination specified to
  DB_ENV->open

Status in software-center package in Ubuntu:
  In Progress

Bug description:
  I opened software-centre. I installed gimp. I then clicked
  Games>Arcade and software-center hung.

  ~/.cache/software-center/software-center.log says:

  2014-04-28 19:51:03,631 - softwarecenter.ui.gtk3.app - INFO - setting up proxy 'None'
  2014-04-28 19:51:04,637 - softwarecenter.backend.reviews - WARNING - Could not get usefulness from server, no username in config file
  2014-04-28 19:51:04,641 - softwarecenter.plugin - INFO - activating plugin '<module 'webapps_activation' from '/usr/share/software-center/softwarecenter/plugins/webapps_activation.pyc'>'
  2014-04-28 19:51:04,654 - softwarecenter.fixme - WARNING - logs to the root logger: '('/usr/lib/python2.7/dist-packages/gi/importer.py', 51, 'find_module')'
  2014-04-28 19:51:04,654 - root - ERROR - Could not find any typelib for LaunchpadIntegration
  2014-04-28 19:51:04,712 - softwarecenter.db.pkginfo_impl.aptcache - INFO - aptcache.open()
  2014-04-28 19:51:05,417 - softwarecenter.backend.reviews - WARNING - error creating bsddb: '(22, 'Invalid argument -- BDB0054 illegal flag combination specified to DB_ENV->open')' (corrupted?)
  2014-04-28 19:51:05,418 - softwarecenter.backend.reviews - ERROR - trying to repair DB failed
  Traceback (most recent call last):
    File "/usr/share/software-center/softwarecenter/backend/reviews/__init__.py", line 358, in _save_review_stats_cache_blocking
      self._dump_bsddbm_for_unity(outfile, outdir)
    File "/usr/share/software-center/softwarecenter/backend/reviews/__init__.py", line 377, in _dump_bsddbm_for_unity
      0600)
  DBInvalidArgError: (22, 'Invalid argument -- BDB0054 illegal flag combination specified to DB_ENV->open')
  2014-04-28 19:51:12,635 - softwarecenter.db.utils - INFO - software-center-agent finished with status 0
  2014-04-28 19:56:46,059 - softwarecenter.db.pkginfo_impl.aptcache - INFO - aptcache.open()
  2014-04-28 19:56:57,263 - softwarecenter.db.pkginfo_impl.aptcache - INFO - aptcache.open()

  Starting software-center from the command line results in this error
  every time.

  apt-get purge and installing software-center did not fix
  rm -rf ~/.cache/software-center did not fix

  Bug #1309398 looks similar

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: software-center 13.10-0ubuntu4.1
  ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
  Uname: Linux 3.13.0-24-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Mon Apr 28 19:54:04 2014
  InstallationDate: Installed on 2014-03-27 (32 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Beta amd64 (20140326)
  PackageArchitecture: all
  SourcePackage: software-center
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/1313884/+subscriptions