software-center "Failed to submit review"

Bug #1316481 reported by Jonathan
44
This bug affects 9 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

"Unknown error communicating with server"

From the log:
2014-05-06 01:40:43,867 - softwarecenter."Unknown error communicating with server"

From the log:
2014-05-06 01:40:43,867 - softwarecenter.backend.reviews - WARNING - Could not get usefulness from server, no username in config file
2014-05-06 01:40:43,881 - softwarecenter.plugin - INFO - activating plugin '<module 'webapps_activation' from '/usr/share/software-center/softwarecenter/plugins/webapps_activation.pyc'>'
2014-05-06 01:40:43,887 - softwarecenter.fixme - WARNING - logs to the root logger: '('/usr/lib/python2.7/dist-packages/gi/importer.py', 51, 'find_module')'
2014-05-06 01:40:43,887 - root - ERROR - Could not find any typelib for LaunchpadIntegration
2014-05-06 01:40:43,916 - softwarecenter.db.pkginfo_impl.aptcache - INFO - aptcache.open()
2014-05-06 01:40:44,059 - softwarecenter.backend.reviews - WARNING - error creating bsddb: '(22, 'Invalid argument -- BDB0054 illegal flag combination specified to DB_ENV->open')' (corrupted?)
2014-05-06 01:40:44,072 - softwarecenter.backend.reviews - ERROR - trying to repair DB failed
Traceback (most recent call last):
  File "/usr/share/software-center/softwarecenter/backend/reviews/__init__.py", line 358, in _save_review_stats_cache_blocking
    self._dump_bsddbm_for_unity(outfile, outdir)
  File "/usr/share/software-center/softwarecenter/backend/reviews/__init__.py", line 377, in _dump_bsddbm_for_unity
    0600)
DBInvalidArgError: (22, 'Invalid argument -- BDB0054 illegal flag combination specified to DB_ENV->open')
2014-05-06 01:40:53,129 - softwarecenter.db.utils - INFO - software-center-agent finished with status 0
date
Tested in Ubuntu 14.04 (I also logged in for the first time in awhile when submitting review)backend.reviews - WARNING - Could not get usefulness from server, no username in config file
2014-05-06 01:40:43,881 - softwarecenter.plugin - INFO - activating plugin '<module 'webapps_activation' from '/usr/share/software-center/softwarecenter/plugins/webapps_activation.pyc'>'
2014-05-06 01:40:43,887 - softwarecenter.fixme - WARNING - logs to the root logger: '('/usr/lib/python2.7/dist-packages/gi/importer.py', 51, 'find_module')'
2014-05-06 01:40:43,887 - root - ERROR - Could not find any typelib for LaunchpadIntegration
2014-05-06 01:40:43,916 - softwarecenter.db.pkginfo_impl.aptcache - INFO - aptcache.open()
2014-05-06 01:40:44,059 - softwarecenter.backend.reviews - WARNING - error creating bsddb: '(22, 'Invalid argument -- BDB0054 illegal flag combination specified to DB_ENV->open')' (corrupted?)
2014-05-06 01:40:44,072 - softwarecenter.backend.reviews - ERROR - trying to repair DB failed
Traceback (most recent call last):
  File "/usr/share/software-center/softwarecenter/backend/reviews/__init__.py", line 358, in _save_review_stats_cache_blocking
    self._dump_bsddbm_for_unity(outfile, outdir)
  File "/usr/share/software-center/softwarecenter/backend/reviews/__init__.py", line 377, in _dump_bsddbm_for_unity
    0600)
DBInvalidArgError: (22, 'Invalid argument -- BDB0054 illegal flag combination specified to DB_ENV->open')
2014-05-06 01:40:53,129 - softwarecenter.db.utils - INFO - software-center-agent finished with status 0
date
Tested in Ubuntu 14.04 (I also logged in for the first time in awhile when submitting review)

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in software-center (Ubuntu):
status: New → Confirmed
Revision history for this message
DLPaktor (cppege430dtvg7d94rok5-david-9ei9nyjpwdexk1if796so) wrote :

Me, too. Second time I tried reviewing something in the software center. Got this same error first time, too.
Now it's looking like a pattern...
Same symptom: "Unknown error communicating with server."
It's way past my bed-time so I'm not checking the log...
I just wanted to let it be known that Jonathan is not the only one who's seen this.

Revision history for this message
DLPaktor (cppege430dtvg7d94rok5-david-9ei9nyjpwdexk1if796so) wrote :

Actually, I don't know which log to check. The message says "Check your log and consider raising a bug report if this problem persists."
Well, it persists and here I am, raising a bug report, but it would help if the message were more explicit about where to find the relevant log...

Revision history for this message
DLPaktor (cppege430dtvg7d94rok5-david-9ei9nyjpwdexk1if796so) wrote :
Download full text (5.1 KiB)

Oh, what the hey, I'm up anyway.
Running from the command line (/usr/bin/python /usr/bin/software-center) gave something that might be of interest:
Start the review, console message was:

(software-center:15056): Gtk-WARNING **: Unable to show 'none': Operation not supported

Close the window with the review failure, and got:

2014-05-16 01:27:37,073 - softwarecenter.backend.spawn_helper - WARNING - exit code 1 from helper for '['/usr/share/software-center/submit_review_gtk3.py', '--pkgname', 'foobillardplus', '--iconname', 'foobillardplus', '--parent-xid', '', '--version', '3.43~svn170+dfsg-1', '--origin', 'ubuntu', '--datadir', '/usr/share/software-center/', '--appname', 'FooBillard++']'
2014-05-16 01:27:37,075 - softwarecenter.backend.spawn_helper - WARNING - got error from helper: '
(submit_review_gtk3.py:15124): Gtk-WARNING **: Unknown property: GtkGrid.n-rows

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

(submit_review_gtk3.py:15124): 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
/usr/share/software-center/submit_review_gtk3.py:230: Warning: Source ID 48 was not found when attempting to remove it
  Gtk.main()
submit_review
Traceback (most recent call last):
  File "/usr/share/software-center/softwarecenter/ui/gtk3/review_gui_helper.py", line 329, 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 71, in wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/__init__.py", line 151, in wrapper
    body = func(self, *args, **kwargs)
  File "/usr/share/software-center/softwarecenter/backend/piston/rnrclient_pristine.py", line 134, in submit_review
    scheme=AUTHENTICATED_API_SCHEME, content_type='application/json')
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/__init__.py", line 816, in _post
    content_type=content_type, extra_headers=extra_headers)
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/__init__.py", line 514, in post
    url, method='POST', body=body, headers=headers)
  File "/u...

Read more...

Revision history for this message
Derf Skren (awron) wrote :

Is it just me or does Ubuntu 15.x seem basically deserted and unsupported?

shahin (mr-shahin)
no longer affects: software-center
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.