From: Norm D. <no...@dr...> - 2005-08-26 19:35:33
|
Hi there, Playing with the syncml plugin ... got it all compiled, and set up the evo2 plugin as per the directions for it. I get this when I try to sync: Synchronizing group "syncml" The previous synchronization was unlean. Slow-syncing Member 2 of type syncml-http-server had an error while connecting: (null) Member 1 of type evo2-sync just connected Member 1 of type evo2-sync just disconnected All clients have disconnected The sync failed: Unable to connect one of the members Error synchronizing: Unable to connect one of the members My config for syncml looks like this: <config><username>syncml</username><password>1234</password><url>http://192.168.1.1/</url><port>8080</port><usestringtable>1</usestringtable></config> 192.168.1.1 is my Notebook 192.168.1.2 is my Nokia 6620 Any suggestions? Norm |
From: Norm D. <no...@dr...> - 2005-08-26 20:30:21
|
On Fri, 2005-26-08 at 15:35 -0400, Norm Dressler wrote: > Hi there, > > Playing with the syncml plugin ... got it all compiled, and set up the > evo2 plugin as per the directions for it. I get this when I try to Ok, I re-read the doc and realized my mistakes and now have it waiting for a connection properly: norm@lapzilla:~/opensync$ msynctool --sync syncml --wait Synchronizing group "syncml" I/O error : Attempt to load network entity http://www.syncml.org/docs/syncml_represent_v11_20020213.dtd What is that I/O error from? I can see a fair bit of transfer going on across the bluetooth adapter but my phone eventually dies with connection error. I only have about 30 contacts and about 20 appointments. I have the trace files, but they don't look to be providing any hints -- no errors anyways. Any suggestions? Norm |
From: Zach B. <zb...@fo...> - 2005-08-26 20:51:03
|
Quoting Norm Dressler <no...@dr...>: > norm@lapzilla:~/opensync$ msynctool --sync syncml --wait > Synchronizing group "syncml" > I/O error : Attempt to load network entity > http://www.syncml.org/docs/syncml_represent_v11_20020213.dtd > > > What is that I/O error from? I got the same error a few days ago, and haven't found a solution yet. It seems to come from somewhere way up in libxml-land. I read somewhere that "Attempt to load network entity" means I need to have a "correct" xml catalog (/etc/xml/catalog)... but I have no idea what that means. From what I can tell, it seems to be a way of caching DTDs (maybe other stuff to) locally, which makes sense, but I don't get why trying to load one from the network is a fatal error. What distro are you using? I found a website somewhere (I can't find the link again, sorry) that said that xml catalogs are notoriously broken on Debian, which is where I was trying to run, and I temporarily gave up when I couldn't find any advice on *fixing* them. Figuring out how to fix them myself seemed too daunting; it looks like it requires touching at least half a dozen files scattered across the file system, none of which make much sense to me. For what it's worth, the DTD is no longer available at that URL, and as near as I can tell, the only way to download it from whoever owns syncml.org is to dig pretty deep on the site, and agree to a click-through license agreement or two. Which sucks for what I've always assumed was an "open" standard. I'd love to be proven wrong... When I get home, I'll try to dig up the sites where I got this info :o) Sorry I couldn't actually help, but I hope this information will be useful to someone... Zach -- And I say, Give me back my memory, or I'll rip you into three boy scouts and a watchband! ---Aaron in "Remind Me Again" ------------------------------------------------------------------------ Zach Bean, zb...@fo..., we...@fo... http://www.forty2.com |
From: Norm D. <no...@dr...> - 2005-08-26 21:15:46
|
Zach Bean wrote: >I got the same error a few days ago, and haven't found a solution yet. It >seems to come from somewhere way up in libxml-land. I read somewhere >that "Attempt to load network entity" means I need to have a "correct" >xml catalog (/etc/xml/catalog)... but I have no idea what that means. >From what I can tell, it seems to be a way of caching DTDs (maybe other >stuff to) locally, which makes sense, but I don't get why trying to load >one from the network is a fatal error. > >What distro are you using? I found a website somewhere (I can't find > I found the same thing -- follow the link and it's not there anymore. I did download it -- I guess I just need to find where it's actually called maybe and change it? Not sure -- haven't investigated that far yet. Maybe Armin can help with this one. I'm using Ubuntu (Debian variant). Also used Mepis and FC4. Norm |
From: Norm D. <no...@dr...> - 2005-08-26 23:46:39
|
On Fri, 2005-26-08 at 17:15 -0400, Norm Dressler wrote: > Zach Bean wrote: > > >I got the same error a few days ago, and haven't found a solution yet. It > >seems to come from somewhere way up in libxml-land. I read somewhere > >that "Attempt to load network entity" means I need to have a "correct" > >xml catalog (/etc/xml/catalog)... but I have no idea what that means. > >From what I can tell, it seems to be a way of caching DTDs (maybe other > >stuff to) locally, which makes sense, but I don't get why trying to load > >one from the network is a fatal error. > > > >What distro are you using? I found a website somewhere (I can't find > > > > I found the same thing -- follow the link and it's not there anymore. I > did download it -- I guess I just need to find where it's actually > called maybe and change it? Not sure -- haven't investigated that far > yet. Maybe Armin can help with this one. > FYI found the links embedded in the wbxml2 code. Going to see if there is a patch available -- Norm |
From: Norm D. <no...@dr...> - 2005-08-27 01:17:10
|
On Fri, 2005-26-08 at 19:46 -0400, Norm Dressler wrote: > > > > I found the same thing -- follow the link and it's not there anymore. I > > did download it -- I guess I just need to find where it's actually > > called maybe and change it? Not sure -- haven't investigated that far > > yet. Maybe Armin can help with this one. > > > > FYI found the links embedded in the wbxml2 code. Going to see if there > is a patch available -- > > Norm I modified the the wbxml_tables.c to point to a local file (/var/www/docs/...) and the error is gone. Still can't sync, but at least that's not a problem any more. Norm |
From: Armin B. <arm...@de...> - 2005-08-27 08:39:58
Attachments:
signature.asc
|
Norm Dressler wrote: > On Fri, 2005-26-08 at 19:46 -0400, Norm Dressler wrote: > >>>I found the same thing -- follow the link and it's not there anymore. I >>>did download it -- I guess I just need to find where it's actually >>>called maybe and change it? Not sure -- haven't investigated that far >>>yet. Maybe Armin can help with this one. >>> >> >>FYI found the links embedded in the wbxml2 code. Going to see if there >>is a patch available -- >> >>Norm > > > I modified the the wbxml_tables.c to point to a local file > (/var/www/docs/...) and the error is gone. Still can't sync, but at > least that's not a problem any more. > Hi Norm and Zach, you can safely ignore this error. I just says that it cannot access the dtd. But i disabled this anyways... i just didnt find a way yet to get rid of this error message. The problem with your connection is probably that my syncml parser cannot parse the incoming syncml correctly. i implemented the parser so that it exits immediatly when there is anything it does not know. If you send me the traces of this connection i will be able to fix this. Thanks Armin > Norm > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Opensync-users mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensync-users |
From: Zach B. <zb...@fo...> - 2005-08-27 09:21:10
Attachments:
Thread16384.log
|
On Saturday, 08/27/2005, 10:39 +0200 Armin Bauer wrote: > Hi Norm and Zach, > > you can safely ignore this error. I just says that it cannot access the > dtd. But i disabled this anyways... i just didnt find a way yet to get > rid of this error message. FWIW, I did eventually get rid of the error without recompiling libwbxml2 by setting up the XML catalog---and I even think I did it correctly ;o). I can explain here what I did, if you think it may be of use to others. > The problem with your connection is probably that my syncml parser > cannot parse the incoming syncml correctly. i implemented the parser so > that it exits immediatly when there is anything it does not know. > > If you send me the traces of this connection i will be able to fix this. I've attached my trace file; let me know if you need anything else. Here's also a bit of extra info that I found while trying to sort out the problem; I don't know if any of it is in the trace file or not :o) Using Ethereal, I captured the HTTP traffic between the phone and my server, and I noticed that every time the phone connects and sends a request, the server returns "500 No node at all". Looking through the libsyncml (and with the help of a printf ;o) I determined it was coming from the _smlXmlParserExpectNode function in parser/sml_xml.c. That's as far as I got (well, OK, I also tried converting the WBXML to "normal" XML using a Perl module, but I couldn't get it to work). Thanks for offering to help! I can send the captured network traffic, too, if that would help. Zach |
From: Norm D. <no...@dr...> - 2005-08-28 15:15:19
|
Armin Bauer wrote: >Norm Dressler wrote: > > >>On Fri, 2005-26-08 at 19:46 -0400, Norm Dressler wrote: >> >> >> >>>>I found the same thing -- follow the link and it's not there anymore. I >>>>did download it -- I guess I just need to find where it's actually >>>>called maybe and change it? Not sure -- haven't investigated that far >>>>yet. Maybe Armin can help with this one. >>>> >>>> >>>> >>>FYI found the links embedded in the wbxml2 code. Going to see if there >>>is a patch available -- >>> >>>Norm >>> >>> >>I modified the the wbxml_tables.c to point to a local file >>(/var/www/docs/...) and the error is gone. Still can't sync, but at >>least that's not a problem any more. >> >> >> > >Hi Norm and Zach, > >you can safely ignore this error. I just says that it cannot access the >dtd. But i disabled this anyways... i just didnt find a way yet to get >rid of this error message. > >The problem with your connection is probably that my syncml parser >cannot parse the incoming syncml correctly. i implemented the parser so >that it exits immediatly when there is anything it does not know. > >If you send me the traces of this connection i will be able to fix this. > >Thanks > >Armin > > Here you go -- hope it helps. Norm |
From: Norm D. <no...@dr...> - 2005-08-30 16:20:24
|
Norm Dressler wrote: > Armin Bauer wrote: > >> If you send me the traces of this connection i will be able to fix this. >> >> Thanks >> >> Armin >> >> > Here you go -- hope it helps. > > Norm > >------------------------------------------------------------------------ > > > Were my tracelogs any help with this? Thx Norm |