[Bug 1007109] Re: Attempting to reinstall purchased fails in SSO re-authentication
Started debugging this along with the SSO server crowd. Will mark as private since logs were pasted as comments. ** Visibility changed to: Private -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1007109 Title: Attempting to reinstall purchased fails in SSO re-authentication To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/1007109/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1007109] Re: Attempting to reinstall purchased fails in SSO re-authentication
Hi Natalia! You'll probably remember that we talked about this bug last week on IRC and you let me know what debug info to ask for, which Steve has now provided. I've temporarily assigned this to you in the hope that you might take a look at the log data and then reassign the bug to the correct package and person, as you see fit. Many thanks for your help! And many thanks to Steve for taking the time to help with this and for providing the information, etc.!! Please let me know if there is anything that I can do to help as well. Thanks again! ** Changed in: software-center (Ubuntu) Status: New = Confirmed ** Changed in: software-center (Ubuntu) Importance: Undecided = Medium ** Changed in: software-center (Ubuntu) Assignee: (unassigned) = Natalia Bidart (nataliabidart) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1007109 Title: Attempting to reinstall purchased fails in SSO re-authentication To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/1007109/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1007109] Re: Attempting to reinstall purchased fails in SSO re-authentication
Here's the output from running the ubuntu-sso-login command with debugging enabled: 2012-06-01 12:15:20,808:808.686971664 - ubuntu_sso.main - INFO - Setting up Ubuntu SSO service. 2012-06-01 12:15:20,843:843.019962311 - ubuntu_sso.main - DEBUG - Starting up Ubuntu SSO service... 2012-06-01 12:15:20,845:845.253944397 - ubuntu_sso.main - INFO - Ubuntu SSO service started. 2012-06-01 12:15:20,845:845.823049545 - ubuntu_sso.account - INFO - Creating a new SSO access layer for service url u'https://login.ubuntu.com/api/1.0/' 2012-06-01 12:15:20,846:846.437931061 - ubuntu_sso.main.linux - DEBUG - Hooking up SIGHUP with handler function sighup_handler at 0x1ea0488. 2012-06-01 12:16:01,438:438.005924225 - ubuntu_sso.main - DEBUG - ref_count is 0, changing value to 1. 2012-06-01 12:16:01,439:439.162015915 - ubuntu_sso.credentials - INFO - _login_or_register: login_only=True email=None. 2012-06-01 12:16:01,439:439.634084702 - ubuntu_sso.keyring.linux - DEBUG - Getting credentials for dbus.String(u'Ubuntu Software Center'). 2012-06-01 12:16:01,459:459.430932999 - ubuntu_sso.keyring.linux - DEBUG - Finding all items for app_name dbus.String(u'Ubuntu Software Center'). 2012-06-01 12:16:01,462:462.183952332 - ubuntu_sso.keyring.linux - DEBUG - No items found! 2012-06-01 12:16:01,462:462.424993515 - ubuntu_sso.keyring.linux - DEBUG - Migrating old token name. 2012-06-01 12:16:01,462:462.918043137 - ubuntu_sso.keyring.linux - DEBUG - Finding all items for app_name dbus.String(u'Ubuntu Software Center'). 2012-06-01 12:16:01,464:464.054107666 - ubuntu_sso.keyring.linux - DEBUG - No items found! 2012-06-01 12:16:01,464:464.21289444 - ubuntu_sso.keyring.linux - DEBUG - Finding all items for app_name dbus.String(u'Ubuntu Software Center'). 2012-06-01 12:16:01,465:465.100049973 - ubuntu_sso.keyring.linux - DEBUG - No items found! 2012-06-01 12:16:01,465:465.272903442 - ubuntu_sso.credentials - INFO - find_credentials: self.app_name dbus.String(u'Ubuntu Software Center'), result is {}? True 2012-06-01 12:16:01,465:465.485095978 - ubuntu_sso.utils - DEBUG - _get_dir: trying use dir at '/usr/lib/python2.7/dist-packages/ubuntu-sso-client/bin' (exists? False) 2012-06-01 12:16:01,467:467.569112778 - ubuntu_sso.utils - INFO - get_bin_dir: returning dir located at '/usr/lib/ubuntu-sso-client'. 2012-06-01 12:16:01,468:468.169927597 - ubuntu_sso.credentials - DEBUG - Attempting to use the following executable as GUI: '/usr/lib/ubuntu-sso-client/ubuntu-sso-login-gtk' (exists? True). 2012-06-01 12:16:01,468:468.379974365 - ubuntu_sso.utils.runner - DEBUG - spawn_program: requested to spawn ['/usr/lib/ubuntu-sso-client/ubuntu-sso-login-gtk', '--app_name', dbus.String(u'Ubuntu Software Center'), '--help_text', dbus.String(u'To reinstall previous purchases, sign in to the Ubuntu Single Sign-On account you used to pay for them.'), '--login_only']. 2012-06-01 12:16:01,476:476.295948029 - ubuntu_sso.utils.runner - DEBUG - Spawn source is module 'ubuntu_sso.utils.runner.qt' from '/usr/lib/python2.7/dist-packages/ubuntu-sso-client/ubuntu_sso/utils/runner/qt.pyc'. 2012-06-01 12:16:01,489:489.710092545 - ubuntu_sso.utils.runner.qt - DEBUG - Spawning the program ['/usr/lib/ubuntu-sso-client/ubuntu-sso-login-gtk', '--app_name', dbus.String(u'Ubuntu Software Center'), '--help_text', dbus.String(u'To reinstall previous purchases, sign in to the Ubuntu Single Sign-On account you used to pay for them.'), '--login_only'] with the qt mainloop (returned pid is 2379L). 2012-06-01 12:16:15,577:577.786922455 - ubuntu_sso.main - DEBUG - login: token_name u'Ubuntu Software Center @ kryten', email dbus.String(u'steve.beat...@canonical.com'), password hidden. 2012-06-01 12:16:15,578:578.038930893 - ubuntu_sso.account - DEBUG - login: email: dbus.String(u'steve.beat...@canonical.com') password: hidden, token_name: u'Ubuntu Software Center @ kryten' 2012-06-01 12:16:15,731:731.04916 - ubuntu_sso.main - DEBUG - 'SSOLogin': emitting 'LoginError' with args (dbus.String(u'Ubuntu Software Center'), ValueError(invalid literal for int() with base 10: '@as []',)) and kwargs {} -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1007109 Title: Attempting to reinstall purchased fails in SSO re-authentication To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/1007109/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1007109] Re: Attempting to reinstall purchased fails in SSO re-authentication
~/.cache/sso/sso-client-gui.log only contains the following (from this run): 2012-06-01 12:16:01,939:939.825057983 - ubuntu_sso.gui.gtk - DEBUG - UbuntuSSOClientGUI: app_name 'Ubuntu Software Center', kwargs {'close_callback': function main_quit at 0x215b140, 'login_only': True, 'tc_url': '', 'policy_url': '', 'window_id': 0, 'ping_url': '', 'help_text': 'To reinstall previous purchases, sign in to the Ubuntu Single Sign-On account you used to pay for them.'}. 2012-06-01 12:16:02,025:25.5270004272 - ubuntu_sso.gui.gtk - DEBUG - UbuntuSSOClientGUI: backend created: Interface ProxyObject wrapping dbus._dbus.SessionBus (session) at 0x2956710 com.ubuntu.sso /com/ubuntu/sso/accounts at 0x2a94490 implementing 'com.ubuntu.sso.UserManagement' at 0x2a94510 2012-06-01 12:16:15,735:735.634088516 - ubuntu_sso.gui.gtk - INFO - on_login_error: args (ubuntu_sso.gtk.gui.UbuntuSSOClientGUI object at 0x2986c10, dbus.String(u'Ubuntu Software Center'), dbus.Dictionary({dbus.String(u'errtype'): dbus.String(u'ValueError'), dbus.String(u'message'): dbus.String(uinvalid literal for int() with base 10: '@as []')}, signature=dbus.Signature('ss'))), kwargs {}. ~/.cache/sso/sso-client.log is identical to the debug output emitted on the command line, except for the following added line: +2012-06-01 12:16:01,943:943.830013275 - ubuntu_sso.utils - DEBUG - _get_dir: trying use dir at '/usr/lib/python2.7/dist-packages/ubuntu- sso-client/data' (exists? False) Hope this helps. Thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1007109 Title: Attempting to reinstall purchased fails in SSO re-authentication To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/1007109/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1007109] Re: Attempting to reinstall purchased fails in SSO re-authentication
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1007109 Title: Attempting to reinstall purchased fails in SSO re-authentication To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/1007109/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1007109] Re: Attempting to reinstall purchased fails in SSO re-authentication
Hi Steve, and thanks for your report. I can't currently reproduce this error. Could you please tell me where that error message was displayed? Thanks! Gary -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1007109 Title: Attempting to reinstall purchased fails in SSO re-authentication To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/1007109/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1007109] Re: Attempting to reinstall purchased fails in SSO re-authentication
Attached is a screenshot. I get here from File - Reinstall Previous Purchases ... ** Attachment added: connect-error.png https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/1007109/+attachment/3170853/+files/connect-error.png -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1007109 Title: Attempting to reinstall purchased fails in SSO re-authentication To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/1007109/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1007109] Re: Attempting to reinstall purchased fails in SSO re-authentication
Hi Steve, I spoke to Natalia Bidart about this bug and she graciously provided some debug steps that you could please try. In a terminal, run the following: $ U1_DEBUG=True python /usr/lib/ubuntu-sso-client/ubuntu-sso-login And then try the Reinstall Previous Purchases process again. Please then paste any output in the terminal to this bug. It may also be helpful to attach the most recent log files in ~/.cache/sso/ . Many thanks for your help! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1007109 Title: Attempting to reinstall purchased fails in SSO re-authentication To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/1007109/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs