From: Anders S. H. <an...@gi...> - 2006-05-26 07:24:54
|
Armin Bauer wrote: > daniel friedrich wrote: >> Am Donnerstag, den 25.05.2006, 16:40 +0200 schrieb Anders Semb >> Hermansen: >>> As noted in previous mail in "New libsyncml version" thread, I now got >>> both USB and Bluetooth syncs working with my Nokia 6680. >>> >>> I though I would try HTTP too. So I started the syncml-http-server with >>> the command: >>> >>> ./syncml-http-server --port 8081 \ >>> --recvLimit 10000 --maxObjSize 734000 \ >>> --slow-sync "text/x-vcard" Contacts >>> >>> It sits there waiting for me to connect. When I do I get the following >>> output: >>> >>> I/O error : Attempt to load network entity >>> http://www.syncml.org/docs/syncml_represent_v11_20020213.dtd >>> Received an Alert for the DS Server at Contacts: Type: 201, Last , Next >>> 20060525T143619Z >>> Slowsyncing >>> Just received a new session with ID 2 >>> WARNING: Unable to find command handlerWARNING: Unable to find command >>> handlerReceived the DevInf >>> Session 2 reported final. flushing >>> >>> (process:15144): libsoup-CRITICAL **: io_read: assertion `io->read_state >>> != SOUP_MESSAGE_IO_STATE_DONE' failed >>> There was an error in the session 2: Unknown command type >>> >>> It does not work :( >>> >>> >>> Anders >> hi, >> >> looks like the libsoup problem. which version did you use? >> try a libsoup version from the first march of this year. >> >> did anybody know why this error occours? > > yes. this is a "bug" in libsoup. they introduced some error checking > some weeks ago which broke the library for libsyncml. > > But you can still use libsoup if you use the version .91 (not .92) or > checkout from libsoup cvs from first of march. I installed libsoup2.2-8_2.2.91-2 from http://snapshot.debian.net/archive/2006/03/29/debian/pool/main/libs/libsoup/ and the same -dev package. I then configured and compiled again. The result I now get is: $ ./syncml-http-server --port 8081 \ > --recvLimit 10000 --maxObjSize 734000 \ > --slow-sync "text/x-vcard" Contacts I/O error : Attempt to load network entity http://www.syncml.org/docs/syncml_represent_v11_20020213.dtd Received an Alert for the DS Server at Contacts: Type: 201, Last , Next 20060526T072045Z Slowsyncing Just received a new session with ID 5 Received the DevInf Session 5 reported final. flushing There was an error in the session 5: Unknown command type Less error messages :) But does not work :( > Im talking to the author of libsoup right now to get this issue fixed. Great! Anders |