marshaling dictionary for dbus still has a problems

Bug #624358 reported by Vincenzo Di Somma
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Single Sign On Client
Fix Released
Critical
Alejandro J. Cura
ubuntu-sso-client (Ubuntu)
Fix Released
Critical
Natalia Bidart

Bug Description

$ killall ubuntu-sso-login; DEBUG=1 PYTHONPATH=. bin/ubuntu-sso-login
ubuntu-sso-login: no process found
Creating a LoginProcessor
Getting configuration
Login D-Bus service starting up
Starting Ubuntu SSO login manager
generate_captcha: requesting captcha, filename: dbus.String(u'/tmp/tmpzOOSp1')
generate_captcha: server answered: {u'captcha_id': u'03AHJ_VutEk3moTxHje_j4h5n3K5dKj4qKSRo8jgfKu1yBdedLLEAvMWrRUErT-1-FBX98lJMjvOFXYMDpaeIFzl8_nwv1bYki8J3kl5RYTnM3sEvrWk-dU01VxI4rcunkMKm62BIVP_KUnyjDGyIC3KkM-hS6cRTR5g', u'image_url': u'https://api-secure.recaptcha.net/image?c=03AHJ_VutEk3moTxHje_j4h5n3K5dKj4qKSRo8jgfKu1yBdedLLEAvMWrRUErT-1-FBX98lJMjvOFXYMDpaeIFzl8_nwv1bYki8J3kl5RYTnM3sEvrWk-dU01VxI4rcunkMKm62BIVP_KUnyjDGyIC3KkM-hS6cRTR5g'}
register_user: email: dbus.String(<email address hidden>') password: <hidden>, captcha_id: dbus.String(u'03AHJ_VutEk3moTxHje_j4h5n3K5dKj4qKSRo8jgfKu1yBdedLLEAvMWrRUErT-1-FBX98lJMjvOFXYMDpaeIFzl8_nwv1bYki8J3kl5RYTnM3sEvrWk-dU01VxI4rcunkMKm62BIVP_KUnyjDGyIC3KkM-hS6cRTR5g'), captcha_solution: dbus.String(u'interest obsomans')
register_user: email: dbus.String(<email address hidden>') result: {u'status': u'ok', u'message': u'Email verification required.'}
validate_email: email: dbus.String(<email address hidden>') password: <hidden>, email_token: dbus.String(u'dssdsdsds'), token_name: 'Ubuntu - blackrain'.
login: email: dbus.String(<email address hidden>') password: <hidden>, token_name: 'Ubuntu - blackrain'
login: authentication successful! consumer_key: u'KwBLssD', token_name: 'Ubuntu - blackrain'
validate_email: email: dbus.String(<email address hidden>') result: {u'errors': {u'email_token': [u'Bad email token!']}}
Exception while running DBus blocking code in a thread:
Traceback (most recent call last):
  File "/home/vds/canonical/ubuntu-sso-client/label-fixes/ubuntu_sso/main.py", line 311, in _in_thread
    result_cb(app_name, f())
  File "/home/vds/canonical/ubuntu-sso-client/label-fixes/ubuntu_sso/main.py", line 418, in f
    email_token, token_name)
  File "/home/vds/canonical/ubuntu-sso-client/label-fixes/ubuntu_sso/main.py", line 246, in validate_email
    raise EmailTokenError(result['errors'])
EmailTokenError: {u'email_token': [u'Bad email token!']}
process 11759: Array or variant type requires that type string be written, but end_dict_entry was written.
The overall signature expected here was 'sa{ss}' and we are on byte 4 of that signature.
Exception in thread Thread-3:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.6/threading.py", line 484, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/vds/canonical/ubuntu-sso-client/label-fixes/ubuntu_sso/main.py", line 315, in _in_thread
    error_cb(app_name, except_to_errdict(e))
  File "/usr/lib/pymodules/python2.6/dbus/decorators.py", line 309, in emit_signal
    message.append(signature=signature, *args)
TypeError: Expected a string or unicode object

Related branches

Vincenzo Di Somma (vds)
Changed in ubuntu-sso-client:
status: New → Triaged
assignee: nobody → Alejandro J. Cura (alecu)
Changed in ubuntu-sso-client:
importance: Undecided → Critical
Changed in ubuntu-sso-client (Ubuntu):
status: New → Triaged
importance: Undecided → Critical
assignee: nobody → Naty Bidart (nataliabidart)
dobey (dobey)
Changed in ubuntu-sso-client:
status: Triaged → Fix Committed
tags: added: desktop+ u1-maverick
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-sso-client - 0.99.4-0ubuntu1

---------------
ubuntu-sso-client (0.99.4-0ubuntu1) maverick; urgency=low

  * New upstream release:

  [ <email address hidden> ]
    * Validate form data for verify token page, request password token and set
    new password (LP: #625361).
    * Validate password strength on reset password page (LP: #616528).
    * Labels are not as wide as the parent windowm but a little bit less wide
    (LP: #625009).

  [ Alejandro J. Cura <email address hidden> ]
    * Store the credentials after the email validation step (LP: #625003)

  [ <email address hidden>
    * Every form can be submitted by activating the buttons and/or the entries
    (LP: #616421).

  [ David Planella <email address hidden> ]
    * Make setup.py actually use python-distutils-extra, which will allow the
    .deb package to build the POT file required to import translations into
    Launchpad (LP: #624891).

  [ <email address hidden> ]
    * Errors from SSO servers are being shown now to users, matching
    error-specific to fields (LP: #616101).
    * Also, be robust when SSO server answer with a string where it's supposed
    to be a list (LP: #623447).

  [ Alejandro J. Cura <email address hidden> ]
    * Use the keyring unlocking gnomekeyring APIs (LP: #623622)
    * Search all keyrings for the credentials (LP: #624033)

  [ <email address hidden> ]
    * Customize "help_text" for the login only dialog (LP: #624097).
    * Label areas are as wide as the parent window (LP: #616551).

  [ Alejandro J. Cura <email address hidden> ]
    * The list of error strings as returned by the SSO webservice can't go thru
    DBus (LP: #624358).
 -- Sebastien Bacher <email address hidden> Mon, 30 Aug 2010 19:10:13 +0200

Changed in ubuntu-sso-client (Ubuntu):
status: Triaged → Fix Released
Changed in ubuntu-sso-client:
status: Fix Committed → 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.