← Back to team overview

desktop-packages team mailing list archive

[Bug 868333] Re: software-center crashed with AttributeError in license(): 'NoneType' object has no attribute 'get_value'

 

The stacktrace from bug 869079 does not match what is in the fixed
package:

  File "/usr/share/software-center/softwarecenter/db/application.py", line 339, in license
    xapian_license = self._doc.get_value(XapianValues.LICENSE)
AttributeError: 'NoneType' object has no attribute 'get_value'

In line 339 of that file in the current oneiric it reads:
   xapian_license = None

I'm not sure how 869079 got the version, but its clearly not matching the fixed file that is in
the archive but instead matching the old unfixed version. The only explaination I have is that
the crash happend with the older version but then update-manager came along and upgraded the
system so that apport got the new version when querying the dpkg database.

** Changed in: software-center (Ubuntu Oneiric)
       Status: In Progress => Incomplete

** Changed in: software-center (Ubuntu Precise)
       Status: In Progress => Incomplete

-- 
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/868333

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

Status in “software-center” package in Ubuntu:
  Incomplete
Status in “software-center” source package in Oneiric:
  Incomplete
Status in “software-center” source package in p-series:
  Incomplete

Bug description:
  I tried to install Chrome as downloaded from Google. But it crashes
  every tmie when I try to open the deb file !!!!

  It was the 64 bit version of Chrome.

  ProblemType: Crash
  DistroRelease: Ubuntu 11.10
  Package: software-center 5.0.1
  ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
  Uname: Linux 3.0.0-11-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 1.23-0ubuntu2
  Architecture: amd64
  Date: Wed Oct  5 13:57:32 2011
  ExecutablePath: /usr/share/software-center/software-center
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110921.2)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/pyusernameon /usr/bin/software-center /home/username/Downloads/google-chrome-stable_current_amd64.deb
  ProcEnviron:
   LANGUAGE=en_GB:en
   PATH=(custom, no user)
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  PythonArgs: ['/usr/bin/software-center', '/home/username/Downloads/google-chrome-stable_current_amd64.deb']
  SourcePackage: software-center
  Title: software-center crashed with AttributeError in license(): 'NoneType' object has no attribute 'get_value'
  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/868333/+subscriptions