dbus timeout with 0.14

View: New views
4 Messages — Rating Filter:   Alert me  

dbus timeout with 0.14

by Iain Buchanan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

I'm sure I've successfully synced with 0.14, although I've been doing so
much syncing and testing packages lately that I'm not certain...

I'm getting a dbus timeout (I think) with synce-opensync-plugin.py.
Basically the partnership creation works, pls works, synce-gvfs works,
msynctool creates the group fine, and I don't have a firewall!

I removed all my partnerships and msynctool groups, deleted .synce
and .opensync, and started again, and I still get the error.

When I sync with:
$ msynctool --sync synce-sync >Desktop/msync-output 2>Desktop/msync-output2

I get this at the end of the STDOUT:
(lots of Received an entry...)
Member 1 of type evo2-sync just sent all changes
Member 2 of type synce-opensync-plugin had an error while getting changes: Error during get_changeinfo() method
Member 2 of type synce-opensync-plugin just disconnected
Member 1 of type evo2-sync just disconnected
All clients have disconnected
The sync failed: Unable to read from one of the members
Error while synchronizing: Unable to read from one of the members

and STDERR says:
Traceback (most recent call last):
  File "/usr/lib/opensync/python-plugins/synce-opensync-plugin.py", line 159, in get_changeinfo
    changesets = self.engine.GetRemoteChanges(self.engine.GetSynchronizedItemTypes())
  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.DBus.Error.NoReply: 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 have the default file from
synce-hal:  /etc/dbus-1/system.d/org.freedesktop.Hal.Device.Synce.conf

I don't know if it helps, but dbus-monitor shows some errors:

method call sender=:1.177 -> dest=org.freedesktop.DBus serial=9 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender=':1.175',path='/org/synce/SyncEngine',interface='org.synce.SyncEngine',member='PrefillComplete'"
method call sender=:1.177 -> dest=:1.175 serial=10 path=/org/synce/SyncEngine; interface=org.synce.SyncEngine; member=Synchronize
error sender=:1.175 -> dest=:1.177 error_name=org.synce.SyncEngine.Error.Disconnected reply_serial=10

but I'm not sure what this means!

There's a mass of dbus synce posts on the web, but I can't find any that
match or solve this issue!

Many thanks,
--
Iain Buchanan <iaindb at netspace dot net dot au>

Whatever you do will be insignificant, but it is very important that you do it.
                -- Gandhi


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
SynCE-Users mailing list
SynCE-Users@...
https://lists.sourceforge.net/lists/listinfo/synce-users

Re: dbus timeout with 0.14

by Mark Ellis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, 2009-08-12 at 02:25 +0200, Iain Buchanan wrote:

> Hi all,
>
> I'm sure I've successfully synced with 0.14, although I've been doing so
> much syncing and testing packages lately that I'm not certain...
>
> I'm getting a dbus timeout (I think) with synce-opensync-plugin.py.
> Basically the partnership creation works, pls works, synce-gvfs works,
> msynctool creates the group fine, and I don't have a firewall!
>
> I removed all my partnerships and msynctool groups, deleted .synce
> and .opensync, and started again, and I still get the error.
>
> When I sync with:
> $ msynctool --sync synce-sync >Desktop/msync-output 2>Desktop/msync-output2
>
> I get this at the end of the STDOUT:
> (lots of Received an entry...)
> Member 1 of type evo2-sync just sent all changes
> Member 2 of type synce-opensync-plugin had an error while getting changes: Error during get_changeinfo() method
> Member 2 of type synce-opensync-plugin just disconnected
> Member 1 of type evo2-sync just disconnected
> All clients have disconnected
> The sync failed: Unable to read from one of the members
> Error while synchronizing: Unable to read from one of the members
>
> and STDERR says:
> Traceback (most recent call last):
>   File "/usr/lib/opensync/python-plugins/synce-opensync-plugin.py", line 159, in get_changeinfo
>     changesets = self.engine.GetRemoteChanges(self.engine.GetSynchronizedItemTypes())
>   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.DBus.Error.NoReply: 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 have the default file from
> synce-hal:  /etc/dbus-1/system.d/org.freedesktop.Hal.Device.Synce.conf
>
That one only affects connection, won't have any influence here.

> I don't know if it helps, but dbus-monitor shows some errors:
>
> method call sender=:1.177 -> dest=org.freedesktop.DBus serial=9 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
>    string "type='signal',sender=':1.175',path='/org/synce/SyncEngine',interface='org.synce.SyncEngine',member='PrefillComplete'"
> method call sender=:1.177 -> dest=:1.175 serial=10 path=/org/synce/SyncEngine; interface=org.synce.SyncEngine; member=Synchronize
> error sender=:1.175 -> dest=:1.177 error_name=org.synce.SyncEngine.Error.Disconnected reply_serial=10
>

Cant tell exactly, but that looks like sync-engine is trying to send a
status signal first, and then sends an disconnected error.

What does the output from sync-engine say ?

Mark

> but I'm not sure what this means!
>
> There's a mass of dbus synce posts on the web, but I can't find any that
> match or solve this issue!
>
> Many thanks,


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
SynCE-Users mailing list
SynCE-Users@...
https://lists.sourceforge.net/lists/listinfo/synce-users

signature.asc (204 bytes) Download Attachment

Re: dbus timeout with 0.14

by Iain Buchanan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 2009-08-13 at 08:22 +0100, Mark Ellis wrote:
> On Wed, 2009-08-12 at 02:25 +0200, Iain Buchanan wrote:

> > I don't know if it helps, but dbus-monitor shows some errors:
> >
> > method call sender=:1.177 -> dest=org.freedesktop.DBus serial=9 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
> >    string "type='signal',sender=':1.175',path='/org/synce/SyncEngine',interface='org.synce.SyncEngine',member='PrefillComplete'"
> > method call sender=:1.177 -> dest=:1.175 serial=10 path=/org/synce/SyncEngine; interface=org.synce.SyncEngine; member=Synchronize
> > error sender=:1.175 -> dest=:1.177 error_name=org.synce.SyncEngine.Error.Disconnected reply_serial=10
> >
>
> Cant tell exactly, but that looks like sync-engine is trying to send a
> status signal first, and then sends an disconnected error.
>
> What does the output from sync-engine say ?

Heaps.  Megabytes in fact (15Mb and counting...)

After each "chunk" of hundreds of lines (about 300kb), it ends with:

Finished emitting response 200 code to client

Then prints more hundreds of lines, and ends with the same string.

Can you give me a grep or something to run over it?  I had a look
through and it doesn't look interesting...

thanks :)
--
Iain Buchanan <iaindb at netspace dot net dot au>

"I hope we get to the bottom of the answer.  It's what I'm interested to know"

George W. Bush
April 26, 2000


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
SynCE-Users mailing list
SynCE-Users@...
https://lists.sourceforge.net/lists/listinfo/synce-users

Re: dbus timeout with 0.14

by Mark Ellis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 2009-08-13 at 14:54 +0200, Iain Buchanan wrote:

> On Thu, 2009-08-13 at 08:22 +0100, Mark Ellis wrote:
> > On Wed, 2009-08-12 at 02:25 +0200, Iain Buchanan wrote:
>
> > > I don't know if it helps, but dbus-monitor shows some errors:
> > >
> > > method call sender=:1.177 -> dest=org.freedesktop.DBus serial=9 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
> > >    string "type='signal',sender=':1.175',path='/org/synce/SyncEngine',interface='org.synce.SyncEngine',member='PrefillComplete'"
> > > method call sender=:1.177 -> dest=:1.175 serial=10 path=/org/synce/SyncEngine; interface=org.synce.SyncEngine; member=Synchronize
> > > error sender=:1.175 -> dest=:1.177 error_name=org.synce.SyncEngine.Error.Disconnected reply_serial=10
> > >
> >
> > Cant tell exactly, but that looks like sync-engine is trying to send a
> > status signal first, and then sends an disconnected error.
> >
> > What does the output from sync-engine say ?
>
> Heaps.  Megabytes in fact (15Mb and counting...)
>
> After each "chunk" of hundreds of lines (about 300kb), it ends with:
>
> Finished emitting response 200 code to client
>
> Then prints more hundreds of lines, and ends with the same string.
>
> Can you give me a grep or something to run over it?  I had a look
> through and it doesn't look interesting...
Specifically, no, but i'd expect to see an exception somewhere I
suppose...

>
> thanks :)


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
SynCE-Users mailing list
SynCE-Users@...
https://lists.sourceforge.net/lists/listinfo/synce-users

signature.asc (204 bytes) Download Attachment