Eu tenho o mesmo problema e acho que isso é um bug relacionado ao Ubuntu 13.04. Meus outros aplicativos que usam as contas online pararam de funcionar também.
Ao iniciar o script manualmente, o seguinte stacktrace é lançado:
Logging in as '[email protected]'...
Error logging in as '[email protected]'
'[email protected]' may not be a GNOME online account. A list of existing accounts is below.
If you do not see a list of accounts, then you first need to add one.
For more information, see http://library.gnome.org/users/gnome-help/stable/accounts.html
Traceback (most recent call last):
File "./gnome-shell-google-calendar.py", line 477, in <module>
account = oauth.oauth_prompt()
File "/home/tnaessens/gnome-shell-google-calendar/oauth.py", line 13, in oauth_prompt
'/org/gnome/OnlineAccounts')
File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 241, in get_object
follow_name_owner_changes=follow_name_owner_changes)
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 248, in __init__
self._named_service = conn.activate_name_owner(bus_name)
File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 180, in activate_name_owner
self.start_service_by_name(bus_name)
File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 278, in start_service_by_name
'su', (bus_name, flags)))
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.OnlineAccounts was not provided by any .service files
Quando fui procurar no diretório dbus-1 / services, não havia org.gnome.OnlineAccounts.
Solução: Eu consertei isso baixando gnome-online-accounts
e reiniciando o arquivo .py. Ele pediu minha conta, eu entrei e imediatamente comecei a sincronizar.