[Bug 856429] [NEW] Flagging review fails (ValidationException: Argument 'reason' must be a string)

Matthew Paul Thomas mpt at canonical.com
Thu Sep 22 14:00:26 UTC 2011


Public bug reported:

software-center trunk r2415, Ubuntu 11.10 beta

1. Click the "Inappropriate?" link below a review.
2. Choose a reason, enter some text, and click "Report".

What happens:
* A "Failed to submit" error.
* In ~/.cache/software-center/reviews-helper.log, a traceback:
------------
flag_review failed
Traceback (most recent call last):
  File "./data/report_review_gtk3.py", line 303, in _submit_reports_if_pending
    text=text)
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/validators.py", line 61, in wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/validators.py", line 33, in wrapper
    "Argument '%s' must be a string" % varname)
ValidationException: Argument 'reason' must be a string
Argument 'reason' must be a string
------------

** Affects: software-center (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  Flagging review fails (ValidationException: Argument 'reason' must be
  a string)

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

Bug description:
  software-center trunk r2415, Ubuntu 11.10 beta

  1. Click the "Inappropriate?" link below a review.
  2. Choose a reason, enter some text, and click "Report".

  What happens:
  * A "Failed to submit" error.
  * In ~/.cache/software-center/reviews-helper.log, a traceback:
  ------------
  flag_review failed
  Traceback (most recent call last):
    File "./data/report_review_gtk3.py", line 303, in _submit_reports_if_pending
      text=text)
    File "/usr/lib/python2.7/dist-packages/piston_mini_client/validators.py", line 61, in wrapper
      return func(*args, **kwargs)
    File "/usr/lib/python2.7/dist-packages/piston_mini_client/validators.py", line 33, in wrapper
      "Argument '%s' must be a string" % varname)
  ValidationException: Argument 'reason' must be a string
  Argument 'reason' must be a string
  ------------

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




More information about the foundations-bugs mailing list