[Bug 861862] Re: software-center crashed with AttributeError in on_menu_edit_activate(): 'NoneType' object has no attribute 'get_view_widget'

Matthew McGowan matthew.joseph.mcgowan at gmail.com
Sun Oct 2 01:22:02 UTC 2011


Looks like something weird is happening with the xapian database, the
SoftwareCenterLog.txt indicates the user is getting a lot of the
following type errors:

2011-09-23 21:48:08,984 - softwarecenter.db - ERROR - failed to add apt-xapian-index
Traceback (most recent call last):
  File "/usr/share/software-center/softwarecenter/db/database.py", line 157, in _get_new_xapiandb
    axi = xapian.Database("/var/lib/apt-xapian-index/index")
  File "/usr/lib/python2.7/dist-packages/xapian/__init__.py", line 3408, in __init__
    _xapian.Database_swiginit(self,_xapian.new_Database(*args))
DatabaseOpeningError: Couldn't stat '/var/lib/apt-xapian-index/index' (Datei oder Verzeichnis nicht gefunden)

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

Title:
  software-center crashed with AttributeError in
  on_menu_edit_activate(): 'NoneType' object has no attribute
  'get_view_widget'

Status in “software-center” package in Ubuntu:
  Confirmed

Bug description:
  --

  ProblemType: Crash
  DistroRelease: Ubuntu 11.10
  Package: software-center 4.1.23.6
  ProcVersionSignature: Ubuntu 3.0.0-12.19-generic 3.0.4
  Uname: Linux 3.0.0-12-generic i686
  ApportVersion: 1.23-0ubuntu2
  Architecture: i386
  Date: Wed Sep 28 23:38:32 2011
  ExecutablePath: /usr/share/software-center/software-center
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta i386 (20110921.2)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/software-center
  ProcEnviron:
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  PythonArgs: ['/usr/bin/software-center']
  SourcePackage: software-center
  Title: software-center crashed with AttributeError in on_menu_edit_activate(): 'NoneType' object has no attribute 'get_view_widget'
  Traceback:
   Traceback (most recent call last):
     File "/usr/share/software-center/softwarecenter/ui/gtk3/app.py", line 792, in on_menu_edit_activate
       self.active_pane = vm.get_view_widget(vm.get_active_view())
   AttributeError: 'NoneType' object has no attribute 'get_view_widget'
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

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




More information about the foundations-bugs mailing list