Comment 10 for bug 1298793

Revision history for this message
Cedric Bhihe (cedric-bhihe) wrote :

Follow up:
Problem not solved. Running `software-center`from terminal again, I get:

2016-09-20 18:09:25,160 - softwarecenter.ui.gtk3.app - INFO - setting up proxy 'None'
2016-09-20 18:09:26,051 - softwarecenter.region - WARNING - failed to use geoclue: 'org.freedesktop.Geoclue.Error.notAvailable: Geoclue master client has no usable Address providers'
2016-09-20 18:09:26,599 - softwarecenter.plugin - INFO - activating plugin '<module 'webapps_activation' from '/usr/share/software-center/softwarecenter/plugins/webapps_activation.pyc'>'
2016-09-20 18:09:26,705 - softwarecenter.db.pkginfo_impl.aptcache - INFO - aptcache.open()
2016-09-20 18:09:27,772 - softwarecenter.backend.reviews - WARNING - error creating bsddb: '(22, 'Invalid argument -- BDB0054 illegal flag combination specified to DB_ENV->open')' (corrupted?)
2016-09-20 18:09:27,773 - 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')
/usr/lib/python2.7/dist-packages/gi/overrides/GLib.py:535: Warning: Source ID 74 was not found when attempting to remove it
  return super(MainContext, self).iteration(may_block)
/usr/lib/python2.7/dist-packages/gi/overrides/GLib.py:535: Warning: Source ID 76 was not found when attempting to remove it
  return super(MainContext, self).iteration(may_block)
2016-09-20 18:09:28,615 - softwarecenter.db.update - WARNING - failed to load file /var/lib/apt-xapian-index/cataloged_times.p: [Errno 13] Permission denied: '/var/lib/apt-xapian-index/cataloged_times.p'
No bp log location saved, using default.
[000:000] Cpu: 6.23.6, x2, 2501Mhz, 3887MB
[000:000] Computer model: Not available
[000:000] Browser XEmbed support present: 1
[000:000] Browser toolkit is Gtk2.
[000:014] Using Gtk2 toolkit
No bp log location saved, using default.
[000:000] Cpu: 6.23.6, x2, 2501Mhz, 3887MB
[000:000] Computer model: Not available
[000:030] No bp log location saved, using default.
[000:030] Cpu: 6.23.6, x2, 2501Mhz, 3887MB
[000:030] Computer model: Not available
[000:030] Browser XEmbed support present: 1
[000:030] Browser toolkit is Gtk2.
[000:030] Using Gtk2 toolkit
[000:079] No bp log location saved, using default.
[000:080] Cpu: 6.23.6, x2, 2501Mhz, 3887MB
[000:080] Computer model: Not available
2016-09-20 18:09:29,953 - softwarecenter.ui.gtk3.views.lobbyview - WARNING - skipping exhibit for: 'u'leadwerks\r\nleadwerks-indie'' not available
/usr/bin/software-center:184: Warning: Source ID 157 was not found when attempting to remove it
  Gtk.main()
2016-09-20 18:09:30,467 - softwarecenter.db.update - WARNING - failed to load file /var/lib/apt-xapian-index/cataloged_times.p: [Errno 13] Permission denied: '/var/lib/apt-xapian-index/cataloged_times.p'
2016-09-20 18:09:32,155 - softwarecenter.backend.spawn_helper - WARNING - exit code 1 from helper for '['/usr/share/software-center/piston_generic_helper.py', '--datadir', '/usr/share/software-center/', '--needs-auth', '--no-relogin', 'SoftwareCenterAgentAPI', 'subscriptions_for_me', '{"complete_only": true}']'
2016-09-20 18:09:32,155 - softwarecenter.backend.spawn_helper - WARNING - got error from helper: 'ERROR:softwarecenter.backend.ubuntusso:api.whoami failed with APIError: '401: {'status': '401', 'x-request-id': 'V@FfPH8AAQEAAGZknsgAAAAT1', 'x-xss-protection': '1; mode=block', 'x-content-type-options': 'nosniff', 'content-language': 'en', 'transfer-encoding': 'chunked', 'strict-transport-security': 'max-age=15768000; includeSubDomains; preload', 'vary': 'Authorization,Accept-Language,Cookie', 'server': 'gunicorn/19.3.0', 'x-bzr-revision-number': '1532', 'date': 'Tue, 20 Sep 2016 16:09:32 GMT', 'x-frame-options': 'SAMEORIGIN', 'content-type': 'text/html; charset=utf-8', 'www-authenticate': 'OAuth realm="Ubuntu Single Sign On API"'}'
Traceback (most recent call last):
  File "/usr/share/software-center/softwarecenter/backend/ubuntusso.py", line 119, in verify_token_sync
    res = api.whoami()
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/validators.py", line 120, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/__init__.py", line 131, in wrapper
    body = func(*args, **kwargs)
  File "/usr/share/software-center/softwarecenter/backend/piston/ubuntusso_pristine.py", line 22, in whoami
    scheme=AUTHENTICATED_API_SCHEME)
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/__init__.py", line 787, in _get
    extra_headers=extra_headers)
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/__init__.py", line 491, in get
    return self.request_url(url, method='GET', headers=headers)
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/__init__.py", line 435, in request_url
    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: 401: {'status': '401', 'x-request-id': 'V@FfPH8AAQEAAGZknsgAAAAT1', 'x-xss-protection': '1; mode=block', 'x-content-type-options': 'nosniff', 'content-language': 'en', 'transfer-encoding': 'chunked', 'strict-transport-security': 'max-age=15768000; includeSubDomains; preload', 'vary': 'Authorization,Accept-Language,Cookie', 'server': 'gunicorn/19.3.0', 'x-bzr-revision-number': '1532', 'date': 'Tue, 20 Sep 2016 16:09:32 GMT', 'x-frame-options': 'SAMEORIGIN', 'content-type': 'text/html; charset=utf-8', 'www-authenticate': 'OAuth realm="Ubuntu Single Sign On API"'}
ERROR: can not obtain a oauth token
'
2016-09-20 18:09:32,155 - softwarecenter.db.update - WARNING - update_from_software_center_agent: error: 'ERROR:softwarecenter.backend.ubuntusso:api.whoami failed with APIError: \'401: {\'status\': \'401\', \'x-request-id\': \'V@FfPH8AAQEAAGZknsgAAAAT1\', \'x-xss-protection\': \'1; mode=block\', \'x-content-type-options\': \'nosniff\', \'content-language\': \'en\', \'transfer-encoding\': \'chunked\', \'strict-transport-security\': \'max-age=15768000; includeSubDomains; preload\', \'vary\': \'Authorization,Accept-Language,Cookie\', \'server\': \'gunicorn/19.3.0\', \'x-bzr-revision-number\': \'1532\', \'date\': \'Tue, 20 Sep 2016 16:09:32 GMT\', \'x-frame-options\': \'SAMEORIGIN\', \'content-type\': \'text/html; charset=utf-8\', \'www-authenticate\': \'OAuth realm="Ubuntu Single Sign On API"\'}\'\nTraceback (most recent call last):\n File "/usr/share/software-center/softwarecenter/backend/ubuntusso.py", line 119, in verify_token_sync\n res = api.whoami()\n File "/usr/lib/python2.7/dist-packages/piston_mini_client/validators.py", line 120, in wrapper\n return func(self, *args, **kwargs)\n File "/usr/lib/python2.7/dist-packages/piston_mini_client/__init__.py", line 131, in wrapper\n body = func(*args, **kwargs)\n File "/usr/share/software-center/softwarecenter/backend/piston/ubuntusso_pristine.py", line 22, in whoami\n scheme=AUTHENTICATED_API_SCHEME)\n File "/usr/lib/python2.7/dist-packages/piston_mini_client/__init__.py", line 787, in _get\n extra_headers=extra_headers)\n File "/usr/lib/python2.7/dist-packages/piston_mini_client/__init__.py", line 491, in get\n return self.request_url(url, method=\'GET\', headers=headers)\n File "/usr/lib/python2.7/dist-packages/piston_mini_client/__init__.py", line 435, in request_url\n body = handler.handle(response, response_body)\n File "/usr/lib/python2.7/dist-packages/piston_mini_client/failhandlers.py", line 116, in handle\n data=self.data)\nAPIError: 401: {\'status\': \'401\', \'x-request-id\': \'V@FfPH8AAQEAAGZknsgAAAAT1\', \'x-xss-protection\': \'1; mode=block\', \'x-content-type-options\': \'nosniff\', \'content-language\': \'en\', \'transfer-encoding\': \'chunked\', \'strict-transport-security\': \'max-age=15768000; includeSubDomains; preload\', \'vary\': \'Authorization,Accept-Language,Cookie\', \'server\': \'gunicorn/19.3.0\', \'x-bzr-revision-number\': \'1532\', \'date\': \'Tue, 20 Sep 2016 16:09:32 GMT\', \'x-frame-options\': \'SAMEORIGIN\', \'content-type\': \'text/html; charset=utf-8\', \'www-authenticate\': \'OAuth realm="Ubuntu Single Sign On API"\'}\nERROR: can not obtain a oauth token\n'
/usr/lib/python2.7/dist-packages/gi/overrides/GLib.py:523: Warning: Source ID 20 was not found when attempting to remove it
  super(MainLoop, self).run()
2016-09-20 18:09:33,322 - softwarecenter.region - WARNING - failed to use geoclue: 'org.freedesktop.Geoclue.Error.notAvailable: Geoclue master client has no usable Address providers'
/usr/lib/python2.7/dist-packages/gi/overrides/GLib.py:535: Warning: Source ID 23 was not found when attempting to remove it
  return super(MainContext, self).iteration(may_block)
2016-09-20 18:09:35,728 - softwarecenter.db.utils - INFO - software-center-agent finished with status 0