http://bugs.meego.com/show_bug.cgi?id=6369

pohly <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|Undecided                   |High
             Status|NEW                         |ASSIGNED
                 CC|                            |[email protected]
           Severity|normal                      |major

--- Comment #1 from pohly <[email protected]> 2010-09-07 04:33:55 PDT ---
(In reply to comment #0)
> I've been trying to get the HTTP server running, but I got the following 
> output
> after connecting with a client.
> 
> matth...@login:~$ syncevo-http-server http://localhost:9000/sync
> POST from 178.226.74.128 config  type application/vnd.syncml+wbxml session 
> None
> args {} length 1795
> requesting new session
> SessionChanged: /org/syncevolution/Session/7414306401283853336 1
> connection /org/syncevolution/Connection/7414306401283853336 went down
> ERROR:dbus.connection:Exception in handler for D-Bus signal:
[...]
> DBusException: org.freedesktop.DBus.Error.UnknownMethod: Method "Close" with
> signature "bs" on interface "org.syncevolution.Connection" doesn't exist

I suspect that the syncevo-http-server does not need to call "Close" here, but
it probably isn't smart enough to know that and always tries. If it wasn't
necessary, then the only negative effect is this error message here.

> This seems like there is something wrong with the dbus interface specs or
> something. However, it turns out there is a really simple configuration
> problem. Running dbus-monitor shows the real error (the first two signals are
> relevant).

As you probably noticed, the syncevo-http-server is not particularly
user-friendly. It started its life as a debugging utility and later got
packaged because users started to find it useful.

Right now, the expectation is that the syncevo-dbus-server is started manually
and that its output is used to diagnose issues. The HOWTO implicitly describes
that in the part about setting up client configs in the server, which depends
on detecting the device ID of new clients (see also bug #1360).

The LogOutput feature was added later. I agree, syncevo-dbus-server should
print these messages.

It also should avoid the unnecessary Close method and probably be less verbose.

Patches welcome, as always :-/ Anything assigned to 
[email protected] is not currently being worked on.

-- 
Configure bugmail: http://bugs.meego.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
_______________________________________________
Syncevolution-issues mailing list
[email protected]
http://lists.syncevolution.org/listinfo/syncevolution-issues

Reply via email to