darwin: sso occasionally fails to show captcha and hangs

Bug #1050534 reported by Mike McCracken
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Single Sign On Client
Fix Released
High
Mike McCracken

Bug Description

Reported by lisette: with no credentials, trying to register a new account hangs when attempting to show captcha.

The problem appears to be with loading PIL.

Here is a sso.log that shows the issue:
(note that the paths with mmccrack in them are not the bug - they're set at config time and are not actually used.)

2012-09-13 17:30:57,443:443.703889847 - ubuntu_sso.credentials - INFO - _login_or_register: login_only=False email=None.
2012-09-13 17:30:57,526:526.635885239 - ubuntu_sso.credentials - INFO - find_credentials: self.app_name u'Ubuntu One', result is {}? True
2012-09-13 17:30:57,526:526.953935623 - ubuntu_sso.utils - INFO - get_bin_dir: returning dir located at '/Users/mmccrack/Documents/Canonical/Source/test-improve-buildout/scripts/installed/lib/ubuntu-sso-client'.
<<<...that repeates a few times, ignore these, they're not important - the path is wrong but it's ignored.>>>
2012-09-13 17:30:59,377:377.09903717 - ubuntu_sso.utils - INFO - get_bin_dir: returning dir located at '/Users/mmccrack/Documents/Canonical/Source/test-improve-buildout/scripts/installed/lib/ubuntu-sso-client'.
2012-09-13 17:31:00,200:200.222015381 - ubuntu_sso.utils.webclient.qtnetwork - INFO - Querying OS for proxy.
2012-09-13 17:31:00,591:591.218948364 - ubuntu_sso.utils.ipc - INFO - Emitting remote signal for CaptchaGenerated with callback <function on_captcha_generated at 0x10a069398>.
2012-09-13 17:31:00,619:619.255065918 - ubuntu_sso.utils.ipc - WARNING - Could not emit signal 'CaptchaGenerated' to <twisted.spread.pb.RemoteReference instance at 0x109c161b8> due to 'The _imaging C module is not installed'
2012-09-13 17:31:00,619:619.620084763 - ubuntu_sso.utils.ipc - WARNING - Traceback is:
None
2012-09-13 17:35:10,169:169.403076172 - ubuntu_sso.utils.runner.tx - WARNING - Returned stderr is (exit code was 10): 'QWizard::next: Page 1 already met\nQWizardPage::addField: Duplicate field \'email_address\'\nPeer will receive following PB traceback:\nUnhandled Error\nTraceback (most recent call last):\n File "twisted/spread/banana.pyc", line 153, in gotItem\n \n File "twisted/spread/banana.pyc", line 116, in callExpressionReceived\n \n File "twisted/spread/pb.pyc", line 584, in expressionReceived\n \n File "twisted/spread/pb.pyc", line 896, in proto_message\n \n--- <exception caught here> ---\n File "twisted/spread/pb.pyc", line 910, in _recvMessage\n \n File "twisted/spread/flavors.pyc", line 114, in remoteMessageReceived\n \n File "ubuntu_sso/utils/ipc.pyc", line 268, in callback_wrapper\n \n File "ubuntu_sso/qt/sso_wizard_page.pyc", line 254, in inner\n \n File "ubuntu_sso/logger.pyc", line 106, in inner\n \n File "ubuntu_sso/qt/setup_account_page.pyc", line 339, in on_captcha_generated\n \n File "Image.pyc", line 1406, in save\n \n File "ImageFile.pyc", line 164, in load\n \n File "ImageFile.pyc", line 231, in load_prepare\n \n File "Image.pyc", line 37, in __getattr__\n \nexceptions.ImportError: The _imaging C module is not installed\n'
2012-09-13 17:35:10,169:169.646978378 - ubuntu_sso.credentials - INFO - _show_ui: received from the ui return code 10.
2012-09-13 17:35:10,170:170.085906982 - ubuntu_sso.credentials - ERROR - register (app_name: Ubuntu One): Problem while performing register.

Related branches

Leo Arias (elopio)
Changed in ubuntu-sso-client:
status: New → Confirmed
assignee: nobody → Mike McCracken (mikemc)
Mike McCracken (mikemc)
Changed in ubuntu-sso-client:
status: Confirmed → Fix Released
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.