setup account page hangs on captcha generation

Bug #1031437 reported by Mike McCracken
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Single Sign On Client
Status tracked in Trunk
Stable-4-0
Fix Released
Undecided
Unassigned
Trunk
Fix Released
Critical
Mike McCracken

Bug Description

The setup account page hangs while waiting for the captcha, due to a TypeError in PIL:

This happens on darwin and linux.

 File "/Users/mmccrack/Documents/Canonical/Source/ubuntuone-windows-installer/scripts/devsetup/parts/sso-client-py3-unicode/ubuntu_sso/qt/setup_account_page.py", line 333, in on_captcha_generated
    pil_image.save(string_io, format='png')
  File "/Users/mmccrack/Documents/Canonical/Source/ubuntuone-windows-installer/scripts/devsetup/eggs/PIL-1.1.7-py2.7-macosx-10.7-intel.egg/Image.py", line 1439, in save
    save_handler(self, fp, filename)
  File "/Users/mmccrack/Documents/Canonical/Source/ubuntuone-windows-installer/scripts/devsetup/eggs/PIL-1.1.7-py2.7-macosx-10.7-intel.egg/PngImagePlugin.py", line 514, in _save
    fp.write(_MAGIC)
exceptions.TypeError: string argument expected, got 'str'

Tags: desktop+

Related branches

ZOkI ZuAn (zoki)
description: updated
Changed in ubuntu-sso-client:
status: In Progress → Fix Committed
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.