Just an update that this error is the result of a configuration issue on
the server side and a fix is in-progress as we speak. Thanks!

** No longer affects: software-center (Ubuntu)

** Changed in: ubuntu-recommender
       Status: Confirmed => In Progress

** Changed in: ubuntu-recommender
   Importance: Undecided => High

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

Title:
  "Turn Recommendations On" silently fails with HTTP 401

Status in Ubuntu Recommender:
  In Progress

Bug description:
  On Precise, when I click "Turn Recommendations On" in Software Center, I get 
a spinner and the Recommendations button disappears, and the spinner goes away 
after a few seconds but nothing else happens. The terminal output says:
    2012-05-28 15:54:27,962 - softwarecenter.backend.recagent - INFO - 
Submitting recommendations profile to the server
    2012-05-28 15:54:35,741 - 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', 'SoftwareCenterRecommenderAPI', 
'submit_profile', '{"data": [{"uuid": "254b4c52-c516-4ccf-91c5-fb894bc6d24c", 
"package_list": ["mahjongg", "mono-runtime", "firefox", "libreoffice-writer", 
"evince", <lots of others>, "aisleriot", "skype", "vvvvvv", 
"network-manager-gnome", "devhelp"]}]}']'
    2012-05-28 15:54:35,743 - softwarecenter.backend.spawn_helper - WARNING - 
got error from helper: 'WARNING:__main__:401: {'status': '401', 
'content-length': '22', 'via': '1.1 sumac.canonical.com:3128 
(squid/2.7.STABLE7)', 'x-cache': 'MISS from sumac.canonical.com', 
'x-cache-lookup': 'MISS from sumac.canonical.com:3128', 'expires': 'Mon, 28 May 
2012 22:54:35 GMT', 'vary': 'Authorization,Accept-Encoding', 
'-content-encoding': 'gzip', 'server': 'Apache/2.2.14 (Ubuntu)', 
'last-modified': 'Mon, 28 May 2012 22:54:35 GMT', 'etag': 
'"7e287fc885d9fdcf42da3a12f38572c1"', 'strict-transport-security': 
'max-age=2592000', 'cache-control': 'max-age=0', 'date': 'Mon, 28 May 2012 
22:54:35 GMT', 'content-type': 'text/html; charset=utf-8', 'www-authenticate': 
'OAuth realm="SoftwareCenter Agent"'}
    '
    2012-05-28 15:54:35,743 - softwarecenter.ui.gtk3.widgets.recommendations - 
WARNING - Error while submitting the recommendations profile to the recommender 
agent: WARNING:__main__:401: {'status': '401', 'content-length': '22', 'via': 
'1.1 sumac.canonical.com:3128 (squid/2.7.STABLE7)', 'x-cache': 'MISS from 
sumac.canonical.com', 'x-cache-lookup': 'MISS from sumac.canonical.com:3128', 
'expires': 'Mon, 28 May 2012 22:54:35 GMT', 'vary': 
'Authorization,Accept-Encoding', '-content-encoding': 'gzip', 'server': 
'Apache/2.2.14 (Ubuntu)', 'last-modified': 'Mon, 28 May 2012 22:54:35 GMT', 
'etag': '"7e287fc885d9fdcf42da3a12f38572c1"', 'strict-transport-security': 
'max-age=2592000', 'cache-control': 'max-age=0', 'date': 'Mon, 28 May 2012 
22:54:35 GMT', 'content-type': 'text/html; charset=utf-8', 'www-authenticate': 
'OAuth realm="SoftwareCenter Agent"'}

  I'm pretty sure my login credentials are fine since I can submit
  reviews for packages.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-recommender/+bug/1005687/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to