← Back to team overview

desktop-packages team mailing list archive

[Bug 854187] Re: AttributeError: 'JSONDecodeError' object has no attribute 'body'

 

** Branch linked: lp:software-center

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

Title:
  AttributeError: 'JSONDecodeError' object has no attribute 'body'

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

Bug description:
  Software Center version 4.1.23.2, Ubuntu Oneiric

  The inimitable davmor2 reports that he has encountered the following
  exception during his testing:

  Exception in thread Thread-2:
  Traceback (most recent call last):
    File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
      self.run()
    File "/usr/share/software-center/submit_review.py", line 176, in run
      self._wait_for_commands()
    File "/usr/share/software-center/submit_review.py", line 186, in _wait_for_commands
      self._submit_reviews_if_pending()
    File "/usr/share/software-center/submit_review.py", line 348, in _submit_reviews_if_pending
      err_str = self._get_error_messages(e)
    File "/usr/share/software-center/submit_review.py", line 355, in _get_error_messages
      logging.warn(e.body)
  AttributeError: 'JSONDecodeError' object has no attribute 'body'

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


References