On Thu, 2008-03-27 at 20:20 +0930, Iain Buchanan wrote:
> On Sat, 2008-03-22 at 16:20 +0000, Mark Ellis wrote:
>
> > !!!??@@!!?
> >
> > glib is a wonderful library, but just sometimes you wondr what they're
> > playing at.
> >
> > Ok, that should be better now.
>
> hm. I was going to say nothing happened, but there was some timeout
> going on, and eventually I got this message:
>
> "Failed to retrieve partnership information: Did not receive a reply.
> Possible causes include: the remote application did not send a reply,
> the message bus security policy blocked the reply, the reply timeout
> expired, or the network connection was broken."
>
> And the partnership list is empty. Pressing the "create" button does a
> similar thing.
>
> Console output:
>
> $ synce-trayicon -f
> ** (synce-trayicon:17947): DEBUG: Running in foreground
> ** (synce-trayicon:17947): DEBUG: odccm_client_init_comms_impl: adding
> device: /org/synce/odccm/Device/_2C343682_C645_9887_675F_401F60866DD0_
> ** (synce-trayicon:17947): DEBUG: odccm_add_device: Received connect
> from
> odccm: /org/synce/odccm/Device/_2C343682_C645_9887_675F_401F60866DD0_
> ** Message: Hal reports no devices connected
> ** (synce-trayicon:17947): DEBUG: device_connected_cb: looking for
> preexisting device IO2
> ** (synce-trayicon:17947): DEBUG: module_load_all: loading
> module /usr/lib/synce-trayicon/modules/gnomevfs-trayicon-module.so
> ** (synce-trayicon:17947): DEBUG: module_load_all: loading
> module /usr/lib/synce-trayicon/modules/test-mod.so
> ** (synce-trayicon:17947): DEBUG: g_module_check_init: running from
> trayicon test module for /usr/lib/synce-trayicon/modules/test-mod.so
>
>
> (message popped up here)
>
>
> ** (synce-trayicon:17947): CRITICAL **:
> partners_setup_view_store_synceng: Error fetching sync item list: Did
> not receive a reply. Possible causes include: the remote application did
> not send a reply, the message bus security policy blocked the reply, the
> reply timeout expired, or the network connection was broken.
>
I don't understand why this is, sync-engine is obviously running because
a connection is available, so why a simple request to provide sync types
should fail is bizarre.
> (synce-trayicon:17947): Gtk-CRITICAL **: gtk_tree_view_get_selection:
> assertion `GTK_IS_TREE_VIEW (tree_view)' failed
Yeah this is bizarre too, Adam Williamson is seeing the same thing. Can
you try it with the attached debugging patch.
> ** (synce-trayicon:17947): DEBUG:
> partners_create_button_clicked_synceng_cb: create button_clicked
>
> ** (synce-trayicon:17947): CRITICAL **:
> partners_create_button_clicked_synceng_cb: Error creating partnership
> via sync-engine: Did not receive a reply. Possible causes include: the
> remote application did not send a reply, the message bus security policy
> blocked the reply, the reply timeout expired, or the network connection
> was broken.
When you see this result, can you run the following command to make sure
sync-engine is responding, sorry this is going to word wrap horribly :)
dbus-send --session --type=method_call --print-reply
--dest=org.synce.SyncEngine /org/synce/SyncEngine
org.synce.SyncEngine.GetItemTypes
And you could also try
dbus-send --session --type=method_call --print-reply
--dest=org.synce.SyncEngine /org/synce/SyncEngine
org.synce.SyncEngine.GetPartnerships
Mark
> ** (synce-trayicon:17947): DEBUG: module_disconnect_func: running from
> trayicon test module for IO2
>
> (synce-trayicon:17947): GLib-GObject-WARNING **:
> IA__g_object_weak_unref: couldn't find weak ref 0x805b0a2(0x814f540)
>
> :) thanks,
diff -Nur trayicon.orig/src/device-info.c trayicon/src/device-info.c
--- trayicon.orig/src/device-info.c 2008-03-22 17:01:27.000000000 +0000
+++ trayicon/src/device-info.c 2008-03-25 15:51:13.000000000 +0000
@@ -319,8 +319,14 @@
GtkTreeViewColumn *column;
GtkWidget *device_info_dialog = priv->dialog;
GtkWidget *create_pship_dialog = glade_xml_get_widget (priv->xml, "create_partnership_dialog");
+ if (!create_pship_dialog)
+ g_debug("%s: create_pship_dialog NULL", G_STRFUNC);
GtkWidget *pship_name_entry = glade_xml_get_widget (priv->xml, "pship_name_entry");
+ if (!pship_name_entry)
+ g_debug("%s: pship_name_entry NULL", G_STRFUNC);
GtkWidget *sync_items_listview = glade_xml_get_widget (priv->xml, "sync_items_listview");
+ if (!sync_items_listview)
+ g_debug("%s: sync_items_listview NULL", G_STRFUNC);
GtkTreeSelection *selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (sync_items_listview));
GArray *sync_items_required = NULL;
GHashTable *sync_items = NULL;
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
SynCE-Devel mailing list
SynCE-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synce-devel