ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #00504
Re: manage-address-books.py gives a gi._glib.GError error
Op 26-02-13 22:46, Bill Filler schreef:
> 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
>>
>
As user phablet, i get a Connection refused message:
phablet@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: Could not connect: Connection refused
Follow ups
References