Failed to submit report/review in software-center

Bug #778070 reported by Schorsch
68
This bug affects 15 people
Affects Status Importance Assigned to Milestone
Ratings and Reviews server
Fix Released
High
Anthony Lenton
software-center (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: software-center

Trying to submit a report or review in the software-center I get an error-message: Failed to submit report/review though I am logged in to my ubuntuone-account.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: software-center 4.0
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Thu May 5 21:21:05 2011
ExecutablePath: /usr/share/software-center/report_review.py
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=de_DE:en
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: software-center
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Schorsch (schorschi-schorsch) wrote :
Revision history for this message
Michael Cole (ubuntu-michaelcole) wrote :

I was getting this after switching ubuntu one accounts as described here:

http://pastebin.com/REkZrmDM

I tried deleting the password for "Ubuntu Software Center".

System->Preferences->Passwords->find and delete the password for Ubuntu Software Center. And logging in again, but this didn't work.

Changed in software-center (Ubuntu):
status: New → Confirmed
Revision history for this message
Dave Vree (hdave) wrote :

I would say that 25% of the time I submit a review I get this error. Then if I try again, I get the "user cannot submit more than one review" error...but the original submission did not succeed!

Revision history for this message
Louispopinjay (louispopinjay) wrote :

I have this issue but I do not have the same "user cannot submit more than one review" error as Dave.

Revision history for this message
Dave Vree (hdave) wrote :

I don't always get that -- lately, it's just been "failed to submit review" about 50% of the time. And modifications to reviews? Forget it...

Revision history for this message
dfme (dfme-sunrise) wrote :

I'm not able to send in any review. I always get the "Failed to submit review" and states that I should consult the logs... where can I find these logs??

Revision history for this message
Gary Lasker (gary-lasker) wrote :

Hello dfme! Please just attach the following log file to this bug. This should help us to determine what is going wrong when you try to submit a review.

  ~/.cache/software-center/software-center.log

Many thanks!

Revision history for this message
Matthias Niess (mniess) wrote :

I've got the same problem. Here's my software-center logfile. Here's what I did: I installed LIMBO from the Humble Indie Bundle and tried to write a review.

Revision history for this message
Deborah Lipsitz (challengeptb) wrote :

Bug apparently effects Ubuntu Studio 12.04 as well. It will either refuse a review/edit claiming problem with communicating with servers, or will accept review/edit, still generate an error. The latter problem will either post the review/edit and generate an error, followed by a message about restriction to one review for application (the only way I know the review/edit posted), or generates the error message without posting. This error has been going on just today, so I do not know if there actually is a server issue, or if some update (there have been several in the last 24 hours) is causing the error..

Developer: please advise if you need specific system information (as well as how to obtain it) via email.

Revision history for this message
Gary Lasker (gary-lasker) wrote :

This appears to be a problem in the reviews server side, based on the 500 errors as shown in Matthius' log file attached above (at https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/778070/+attachment/3177390/+files/software-center.log). I've tagging this one ca-escalated and medium severity as a few people seem to be hitting this.

tags: added: ca-escalated
Changed in software-center (Ubuntu):
importance: Undecided → Medium
Changed in rnr-server:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Anthony Lenton (elachuni) wrote :

This seems to be due to having apps published with no archive id (like all apps published through extras and partner).

Revision history for this message
Anthony Lenton (elachuni) wrote :

Let me rephrase: The traceback in https://launchpadlibrarian.net/107005891/software-center.log is due to having apps without archive id. As this bug has been around since before we had those, I'm guessing there's another underlying issue as well.

Changed in rnr-server:
assignee: nobody → Anthony Lenton (elachuni)
status: Confirmed → Fix Committed
Michael Vogt (mvo)
Changed in software-center (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Anthony Lenton (elachuni) wrote :

The fix for this is now released, and we found another permissions issue that might have been the cause of the earlier submission failures.

Changed in rnr-server:
status: Fix Committed → Fix Released
Revision history for this message
Matthias Niess (mniess) wrote :

Thanks. That fixed it for me!

Revision history for this message
Dave Vree (hdave) wrote :

Still broken for me. Just tried to submit a review for Warzone and got the same error message about failing to communicate with the server.

Revision history for this message
Anthony Lenton (elachuni) wrote :

hi @hdave,

Could you run software-center from a terminal, and provide the output you get on the terminal? This error usually prints a bit of useful information when you close the review window.

Revision history for this message
Dave Vree (hdave) wrote :

@Anthony -- Here is the output you asked for. I should say however that in playing around with it some more, I found that the failure is a result of hitting enter in the edit window. If my review stays entirely on one line, it works, if I hit enter, then it fails.

---------------------------------------
(software-center:10976): Gtk-WARNING **: Unable to show 'none': Operation not supported
2012-09-07 11:29:14,385 - softwarecenter.backend.spawn_helper - WARNING - exit code 1 from helper for '['/usr/share/software-center/modify_review_gtk3.py', '--parent-xid', '', '--iconname', 'lightread-icon-lightread64', '--datadir', '/usr/share/software-center/', '--review-id', '56383']'
2012-09-07 11:29:14,385 - softwarecenter.backend.spawn_helper - WARNING - got error from helper: '
(modify_review_gtk3.py:11099): Gtk-WARNING **: Unknown property: GtkGrid.n-rows

(modify_review_gtk3.py:11099): Gdk-CRITICAL **: gdk_window_invalidate_rect_full: assertion `GDK_IS_WINDOW (window)' failed

(modify_review_gtk3.py:11099): Gdk-CRITICAL **: gdk_window_invalidate_rect_full: assertion `GDK_IS_WINDOW (window)' failed
modify_review
Traceback (most recent call last):
  File "/usr/share/software-center/softwarecenter/ui/gtk3/review_gui_helper.py", line 242, in _submit_modify_if_pending
    rating=rating)
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/validators.py", line 65, in wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/validators.py", line 65, in wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/validators.py", line 44, in wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/validators.py", line 40, in wrapper
    pattern))
ValidationException: Argument 'review_text' must match pattern '[^\n]+$'
Argument 'review_text' must match pattern '[^\n]+$'
modify_review
Traceback (most recent call last):
  File "/usr/share/software-center/softwarecenter/ui/gtk3/review_gui_helper.py", line 242, in _submit_modify_if_pending
    rating=rating)
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/validators.py", line 65, in wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/validators.py", line 65, in wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/validators.py", line 44, in wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/validators.py", line 40, in wrapper
    pattern))
ValidationException: Argument 'review_text' must match pattern '[^\n]+$'
Argument 'review_text' must match pattern '[^\n]+$'

Revision history for this message
Lucas Partridge (oakwing) wrote :
Download full text (3.9 KiB)

I can't submit a review (for the Pinta Image Editor) on ubuntu 12.10: "Unknown error communicating with the server".
~/.cache/software-center/software-center.log says:

2012-11-22 19:29:33,011 - softwarecenter.backend.spawn_helper - WARNING - exit code 1 from helper for '['/usr/share/software-center/submit_review_gtk3.py', '--pkgname', 'pinta', '--iconname', 'pinta', '--parent-xid', '', '--version', '1.3-1', '--origin', 'ubuntu', '--datadir', '/usr/share/software-center/', '--appname', 'Pinta Image Editor']'
2012-11-22 19:29:33,014 - softwarecenter.backend.spawn_helper - WARNING - got error from helper: '
(submit_review_gtk3.py:4743): Gtk-WARNING **: Unknown property: GtkGrid.n-rows

(submit_review_gtk3.py:4743): Gdk-CRITICAL **: gdk_window_invalidate_rect_full: assertion `GDK_IS_WINDOW (window)' failed

(submit_review_gtk3.py:4743): Gdk-CRITICAL **: gdk_window_invalidate_rect_full: assertion `GDK_IS_WINDOW (window)' failed
GwibberHelper.accounts() failed
Traceback (most recent call last):
  File "/usr/share/software-center/softwarecenter/gwibber_helper.py", line 45, in accounts
    "/com/gwibber/Accounts")
  File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 241, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 248, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 180, in activate_name_owner
    self.start_service_by_name(bus_name)
  File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 278, in start_service_by_name
    'su', (bus_name, flags)))
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name com.Gwibber.Accounts was not provided by any .service files
submit_review
Traceback (most recent call last):
  File "/usr/share/software-center/softwarecenter/ui/gtk3/review_gui_helper.py", line 327, in _submit_reviews_if_pending
    res = self.rnrclient.submit_review(review=piston_review)
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/validators.py", line 65, in wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/__init__.py", line 120, in wrapper
    body = func(self, *args, **kwargs)
  File "/usr/share/software-center/softwarecenter/backend/piston/rnrclient_pristine.py", line 133, in submit_review
    scheme=AUTHENTICATED_API_SCHEME, content_type='application/json')
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/__init__.py", line 398, in _post
    headers=headers, scheme=scheme)
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/__init__.py", line 535, in _request
    e.message))
SocketError: connecting to http://reviews.ubuntu.com/reviews/api/1.0:
connecting to http://reviews.ubuntu.com/reviews/api/1.0:
submit_review
Traceback (most recent call last):
  File "/usr/share/software-center/softwarecenter/ui/gtk3/review_gui_helper.py", line 327, in _submit_reviews_if_pending
    res = self.rnrclient.submit_review(review=piston_review)
  File "/usr/lib/python2.7/di...

Read more...

Revision history for this message
Alex Kot (alexykot) wrote :
Download full text (5.2 KiB)

I cant submit reviews to USC for any applications. First it gave me an "unknown error", and then it says I can't submit multiple reviews, while in fact the first one has failed. I am logged into Software Center, and this happened for four different apps.

Here is the log:

submit_review
Traceback (most recent call last):
  File "/usr/share/software-center/softwarecenter/ui/gtk3/review_gui_helper.py", line 327, in _submit_reviews_if_pending
    res = self.rnrclient.submit_review(review=piston_review)
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/validators.py", line 65, in wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/__init__.py", line 120, in wrapper
    body = func(self, *args, **kwargs)
  File "/usr/share/software-center/softwarecenter/backend/piston/rnrclient_pristine.py", line 133, in submit_review
    scheme=AUTHENTICATED_API_SCHEME, content_type='application/json')
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/__init__.py", line 398, in _post
    headers=headers, scheme=scheme)
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/__init__.py", line 539, in _request
    body = handler.handle(response, response_body)
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/failhandlers.py", line 116, in handle
    data=self.data)
APIError: 400: {'status': '400', 'content-length': '78', 'via': '1.1 reviews.ubuntu.com', 'vary': 'Authorization,Accept-Encoding', 'server': 'Apache/2.2.14 (Ubuntu)', 'connection': 'close', '-content-encoding': 'gzip', 'date': 'Fri, 23 Nov 2012 22:18:44 GMT', 'content-type': 'text/html; charset=utf-8'}
{"errors": {"__all__": ["A user cannot create multiple reviews for an app."]}}
root@alexykot-D620:/home/alexykot/.cache/software-center# cat ./reviews-helper.log
submit_review
Traceback (most recent call last):
  File "/usr/share/software-center/softwarecenter/ui/gtk3/review_gui_helper.py", line 327, in _submit_reviews_if_pending
    res = self.rnrclient.submit_review(review=piston_review)
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/validators.py", line 65, in wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/__init__.py", line 120, in wrapper
    body = func(self, *args, **kwargs)
  File "/usr/share/software-center/softwarecenter/backend/piston/rnrclient_pristine.py", line 133, in submit_review
    scheme=AUTHENTICATED_API_SCHEME, content_type='application/json')
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/__init__.py", line 398, in _post
    headers=headers, scheme=scheme)
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/__init__.py", line 539, in _request
    body = handler.handle(response, response_body)
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/failhandlers.py", line 116, in handle
    data=self.data)
APIError: 400: {'status': '400', 'content-length': '78', 'via': '1.1 reviews.ubuntu.com', 'vary': 'Authorization,Accept-Encoding', 'server': 'Apache/2.2.14 (Ubuntu)', 'connection': 'close', '-content-encoding': 'gzip', 'date': 'Fri, 23 Nov 2012 22:18:44 GMT', 'content-type': 'text/html; charset=utf-8'}
{"error...

Read more...

Revision history for this message
Wihola IT (wihola) wrote :

I can not submit review at USC from a very beginigng of using Ubuntu 12.10. Loading last for ages, and than I got some error.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.