piston_get_reviews_helper.py crashed with AttributeError in __main__: 'module' object has no attribute 'JSONDecodeError'

Bug #828324 reported by Fabio Marconi on 2011-08-17
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Michael Vogt

Bug Description

This happens when the system was performing a stress test and installing from software center.

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: software-center 4.1.14
ProcVersionSignature: Ubuntu 3.0.0-8.11-generic 3.0.1
Uname: Linux 3.0.0-8-generic x86_64
Architecture: amd64
Date: Wed Aug 17 20:55:28 2011
ExecutablePath: /usr/share/software-center/piston_get_reviews_helper.py
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110816)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/share/software-center/piston_get_reviews_helper.py --language it --origin ubuntu --distroseries oneiric --pkgname psensor --page 1
 PATH=(custom, no user)
PythonArgs: ['/usr/share/software-center/piston_get_reviews_helper.py', '--language', 'it', '--origin', 'ubuntu', '--distroseries', 'oneiric', '--pkgname', 'psensor', '--page', '1']
SourcePackage: software-center
Title: piston_get_reviews_helper.py crashed with AttributeError in __main__: 'module' object has no attribute 'JSONDecodeError'
 Traceback (most recent call last):
   File "/usr/share/software-center/piston_get_reviews_helper.py", line 68, in <module>
     except json.decoder.JSONDecodeError, e:
 AttributeError: 'module' object has no attribute 'JSONDecodeError'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Fabio Marconi (fabiomarconi) wrote :
visibility: private → public
Michael Vogt (mvo) on 2011-08-19
Changed in software-center (Ubuntu):
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Michael Vogt (mvo)
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package software-center - 4.1.17

software-center (4.1.17) oneiric; urgency=low

  [ Matthew McGowan ]
  * lp:~mmcg069/software-center/gtk3fix:
    - description.py, do not connect to the viewport size-allocate signal,
      i think this should prevent the wierd spazz out when resize evetns

  [ Michael Vogt ]
  * softwarecenter/utils.py:
    - really remove old gmenusearcher code that uses the static gmenu
      bindings (LP: #828535)
  * softwarecenter/ui/{gtk,gtk3}/gmenusearch.py:
    - split gmenusearch into gtk2 (static bindings) and gtk3 (gi bindings)
    - update usage
  * softwarecenter/db/history_impl/apthistory.py:
    - add conditional use of gio.File() vs Gio.File.new_for_path()
  * softwarecenter/utils.py, softwarecenter/backend/reviews.py:
    - fixes in subtle API changes for Gio vs gio
  * softwarecenter/ui/gtk3/widgets/description.py:
    - prepare for upcomming Gdk pygi changes in 2.90.x
  * debian/control:
    - add python-gmenu back to the dependencies, the dynamic bindings
      can not be used with the gtk2 version os software-center
  * utils/piston-helpers/piston_get_useful_votes_helper.py,
    - fix exception type now that json is used (instead of simplejson)
      LP: #828324

  [ Kiwinote ]
  * data/ui/gtk3/css/softwarecenter.css:
    - theme GtkViewports not to have a padding or a border - looks quite nice
      around the banners now
  * many:
    - transition from a status bar to internal status labels (LP: #445558)
  * softwarecenter/ui/gtk3/session/viewmanager.py:
    - show/hide search entry when needed (LP: #828790)
  * softwarecenter/ui/gtk3/views/appdetailsview_gtk.py:
    - use a Gtk.IconSize rather than an int for Gtk.Image.new_from_icon_name
  * softwarecenter/ui/gtk3/widgets/buttons.py:
    - ellipsize category text in tile to avoid warnings
    - show channel selector on button-press-event instead of
      button-release-event for consistent menu behaviour (LP: #828317)

  [ Martin Pitt ]
  * Fix some more places which need to conditionally import gobject or
    GObject. (LP: #829186)
 -- Michael Vogt <email address hidden> Fri, 19 Aug 2011 11:59:02 +0200

Changed in software-center (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers