← Back to team overview

desktop-packages team mailing list archive

[Bug 828324] Re: piston_get_reviews_helper.py crashed with AttributeError in __main__: 'module' object has no attribute 'JSONDecodeError'

 

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
      occur

  [ 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,
    utils/piston-helpers/piston_get_reviews_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 <michael.vogt@xxxxxxxxxx>   Fri, 19 Aug 2011 11:59:02 +0200

** Changed in: software-center (Ubuntu)
       Status: In Progress => Fix Released

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

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

Status in “software-center” package in Ubuntu:
  Fix Released

Bug description:
  Hello
  This happens when the system was performing a stress test and installing from software center.
  Thanks
  Fabio

  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
  ProcEnviron:
   PATH=(custom, no user)
   LANG=it_IT.UTF-8
   SHELL=/bin/bash
  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:
   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

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