Improve account info handling

Bug #420643 reported by Pau Espin (Sharwin_F)
This bug affects 1 person
Affects Status Importance Assigned to Milestone
In Progress

Bug Description

I added a new gtalk account setting username as "", without the After restarting apathy (see bug #420631) it crashed with this traceback:

Traceback (most recent call last):
  File "/usr/bin/apathy", line 17, in <module>
    apathy = Apathy.Apathy()
  File "/usr/lib/python2.6/site-packages/apathy/", line 98, in __init__
  File "/usr/lib/python2.6/site-packages/apathy/", line 117, in connect
    conn_bus_name, conn_object_path = mgr[CONN_MGR_INTERFACE].RequestConnection(protocol, account["params"])
  File "/usr/lib/python2.6/site-packages/dbus/", line 68, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python2.6/site-packages/dbus/", line 140, in __call__
  File "/usr/lib/python2.6/site-packages/dbus/", line 622, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.Telepathy.Error.InvalidArgument: unable to get username and server from account

So I had to remove the account manually by typing:
$ rm -r ~/.gconf/apps/telepathy/mc/accounts/*

and then add the username label as "<email address hidden>" in order to have it working.

In conclusion: apathy should know how to handle different types of strings set from users. For example, if protocol is gtalk and I set "" as username label, apathy should know that my account is <email address hidden>

Revision history for this message
Kai Huuhko (kai-huuhko) wrote :

Thanks for your input. Apathy has a new account editor, and a simpler account creator is planned.

Changed in apathy:
status: New → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers