Improve account info handling

Bug #420643 reported by Pau Espin (Sharwin_F) on 2009-08-28
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Apathy
Undecided
Unassigned

Bug Description

I added a new gtalk account setting username as "user.name", without the @gmail.com. 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/Apathy.py", line 98, in __init__
    self.connect()
  File "/usr/lib/python2.6/site-packages/apathy/Apathy.py", 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/proxies.py", line 68, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python2.6/site-packages/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib/python2.6/site-packages/dbus/connection.py", 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 "user.name" as username label, apathy should know that my account is <email address hidden>

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  Edit
Everyone can see this information.

Other bug subscribers