ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #00503
Re: manage-address-books.py gives a gi._glib.GError error
On 02/26/2013 04:33 PM, Jasper Aikema wrote:
> Hello,
>
> When I try to remove the default contacts or recreate them with the
> manager-address-books.py script, it give me an error.
>
> root@localhost:~# manage-address-books.py delete
> /usr/lib/python2.7/dist-packages/gi/types.py:76: Warning:
> g_object_unref: assertion `G_IS_OBJECT (object)' failed
> return info.invoke(cls, *args, **kwargs)
> Traceback (most recent call last):
> File "/usr/bin/manage-address-books.py", line 45, in <module>
> source_registry = EDataServer.SourceRegistry.new_sync(None)
> File "/usr/lib/python2.7/dist-packages/gi/types.py", line 76, in
> constructor
> return info.invoke(cls, *args, **kwargs)
> gi._glib.GError: Error spawning command line `dbus-launch
> --autolaunch=1a0fc8fc72e868fa7086831a512bdc65 --binary-syntax
> --close-stderr': Child process exited with code 1
>
> Does someone know why this happens?
Try running it as user phablet as the database exists only for that user
#su - phablet
then run the script
>
> Kind regards,
>
> Jasper Aikema
>
Follow ups
References