From: Torsten V. <To...@vo...> - 2006-06-14 09:58:16
Attachments:
data.tar.bz2
|
Hi. I'm trying to sync my T-Mobile MDA Pro (HTC Universal / WM5) using Synthesis AG's SyncML Client (http://www.synthesis.ch/dl_client.php?lang=e) I compiled everyting according to the guide but used the newest libsoup version (2.2.94 / two days old) because I have no gnome installed and the svn version requires it for autoconf... For starters I createt a "mdafile" group with a file-sync member (1) and a syncml-http-server member (2). The two configurations for the members are: <config> <path>/home/torsten/kdesync</path> <recursive>FALSE</recursive> </config> and <config> <username></username> <password></password> <url></url> <port>9999</port> <usestringtable>0</usestringtable> <onlyreplace>0</onlyreplace> <recvLimit>0</recvLimit> <maxObjSize>0</maxObjSize> <contact_db>contact</contact_db> <calendar_db>event</calendar_db> <note_db>note</note_db> </config> I start the sync with: msynctool --sync mdafile --wait When I sync with a empty data dir, everything works fine, but when I put a single vcf-3.0-file exportet from kde-contakt into it I get the following: torsten@jack:~/kdesync$ msynctool --sync mdafile --wait Synchronizing group "mdafile" received contact dsession Member 1 of type file-sync just connected Member 2 of type syncml-http-server just connected All clients connected or error Received a entry Julia_Boppert.vcf without data from member 1. Changetype ADDED Member 1 of type file-sync just sent all changes Received a entry Julia_Boppert.vcf with data of size 24 from member 1. Changetype ADDED Received an reply to our Alert Going to receive 0 changes Member 2 of type syncml-http-server just sent all changes All clients sent changes or error All conflicts have been reported Member 1 of type file-sync committed all changes. Error writing entry Julia_Boppert.vcf to member 2: content type was not configured Mapping Write Error: content type was not configured Member 1 of type file-sync just disconnected Received an reply to our sync Member 2 of type syncml-http-server committed all changes. All clients have written Member 2 of type syncml-http-server just disconnected All clients have disconnected The sync failed: Unable to write one or more objects I tried to find out about the "content type was not configured" problem but could find nothing about it. Maybe you could point out something to me. Attached are the trace-logs and the vcf. Thanks in advance, Torsten. |
From: Torsten V. <To...@vo...> - 2006-06-16 08:06:30
Attachments:
file2mda.txt
mda2file.txt
|
While waiting for approval of the original message, I tried the reverse sync: I deleted the vcf-file and created an adressbook-entry on the pda. Syncing this entry to the pc works just fine... Maybe this points somewhere? Attached are the transmissions of the two cases. As you can see, in the above case the vcf is send in the other case there is nothing. So I'm guessing the error is on the server-side... |
From: Torsten V. <To...@vo...> - 2006-06-20 17:02:52
|
Ideas, anyone? I tried everything I could bring up, but nothing works. It's not cool to have a shiny new PDA but no entries in the adressbook :-( |
From: Jan <jan...@im...> - 2006-06-20 18:58:16
|
Am Dienstag, 20. Juni 2006 19:05 schrieb Torsten Vollmann: > Ideas, anyone? I tried everything I could bring up, but nothing works. > > It's not cool to have a shiny new PDA but no entries in the adressbook :-( > > > _______________________________________________ > Opensync-users mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensync-users Hi Torsten, the problem is related to the syncml plugin. The problem is that it is statically configured to accept contacts, events, todos and notes. Referring to the logs that you provided only a contact session is created but opensync forwards the file as note, which is then rejected by the syncml plugin. Currently for me I patched the syncml plugin. Just comment out the following lines at the end of syncml_plugin.c, recompile and install: /* osync_plugin_accept_objtype(info, "note"); osync_plugin_accept_objformat(info, "note", "plain", "clean"); osync_plugin_set_batch_commit_objformat(info, "note", "plain", batch_commit); */ Be aware that this code block is contained two times and you should disable both. Best regards, Jan |
From: matthias j. <jah...@fr...> - 2006-06-20 21:16:29
|
Am Dienstag, 20. Juni 2006 20:52 schrieb Jan Kl=F6tzke: > the problem is related to the syncml plugin. The problem is that it is > statically configured to accept contacts, events, todos and notes. > Referring to the logs that you provided only a contact session is created > but opensync forwards the file as note, which is then rejected by the > syncml plugin. > > Currently for me I patched the syncml plugin. Just comment out the > following lines at the end of syncml_plugin.c, recompile and install: > > /* > osync_plugin_accept_objtype(info, "note"); > osync_plugin_accept_objformat(info, "note", "plain", "clean"); > osync_plugin_set_batch_commit_objformat(info, "note", "plain", > batch_commit); */ That looks like the same problem i want to solve with my kdepim-sync patch. http://www.opensync.org/attachment/ticket/208/exp.patch tries to disable notes, contacts, calendar and todo using xml switches. maybe we should look at all plugins in this way ... and find a more general= =20 solution. (http://www.opensync.org/wiki/SelectiveSyncRequirements) Matthias =20 |
From: Jan <jan...@im...> - 2006-06-20 22:05:14
|
Am Dienstag, 20. Juni 2006 23:16 schrieb matthias jahn: > That looks like the same problem i want to solve with my kdepim-sync > patch. http://www.opensync.org/attachment/ticket/208/exp.patch > > tries to disable notes, contacts, calendar and todo using xml switches. > > maybe we should look at all plugins in this way ... and find a more general > solution. (http://www.opensync.org/wiki/SelectiveSyncRequirements) > > Matthias Hi Matthias, I agree. But for syncml the problem is more complex I think because the capabilities are determined by the device and not the plugin. This corresponds especially with ticket #85. So in the end the syncml plugin should use the devinf to report the really supported types and additionally the user could further restrict it through the config. /Jan |
From: Daniel G. <dg...@su...> - 2006-06-20 22:35:27
|
JFYI: boto added a discussion between Armin and him about a opensync based solution of filtering. Can be found at http://www.opensync.org/wiki/FilteringDiscussion the second discussion. (The first is about the --filter-objtype in msynctool which is already implemented) |
From: Torsten V. <To...@vo...> - 2006-06-21 08:40:36
|
Am Dienstag, 20. Juni 2006 20:52 schrieb Jan Kl=F6tzke: > Hi Torsten, > > the problem is related to the syncml plugin. The problem is that it is > statically configured to accept contacts, events, todos and notes. > Referring to the logs that you provided only a contact session is created > but opensync forwards the file as note, which is then rejected by the > syncml plugin. > > > Best regards, > Jan That does the trick! Thanks!! Now the MDA accepts the entries but there are more issues (not everything i= s=20 uploaded) :-( I try to sort them out first and report in detail later... Torsten. |
From: Torsten V. <To...@vo...> - 2006-06-21 10:00:56
Attachments:
Thread3040533424.log
|
Am Mittwoch, 21. Juni 2006 10:43 schrieb Torsten Vollmann: > > Now the MDA accepts the entries but there are more issues (not everything > is uploaded) :-( I try to sort them out first and report in detail later... > OK. At first I got and database error on the client. According to synthesis this could mean a corrupted database - so I erased all entries and the database on the mda. But now I got a new error when syncing: sml_session.c:1029:E:smlSessionGetSessionID: Assertion "session" failed The correspondig syncml-trace is attached Torsten. |
From: Jan <jan...@im...> - 2006-06-21 23:42:16
|
Am Mittwoch, 21. Juni 2006 12:03 schrieb Torsten Vollmann: > Am Mittwoch, 21. Juni 2006 10:43 schrieb Torsten Vollmann: > > Now the MDA accepts the entries but there are more issues (not everything > > is uploaded) :-( I try to sort them out first and report in detail > > later... > > OK. > > At first I got and database error on the client. According to synthesis > this could mean a corrupted database - so I erased all entries and the > database on the mda. > > But now I got a new error when syncing: > > sml_session.c:1029:E:smlSessionGetSessionID: Assertion "session" failed > > > The correspondig syncml-trace is attached > > Torsten. Hi Torsten, this looks like a wbxml problem. I don't really have a clue but maybe setting <usestringtable> to "1" may help. Does anybody else has an idea? There is another strange thing. In the last log your device reports to speak SyncML 1.2 but in the first log of this thread it is SyncML 1.1... /Jan |
From: Torsten V. <To...@vo...> - 2006-06-22 06:32:19
|
> > this looks like a wbxml problem. I don't really have a clue but maybe > setting <usestringtable> to "1" may help. Does anybody else has an idea? > > There is another strange thing. In the last log your device reports to > speak SyncML 1.2 but in the first log of this thread it is SyncML 1.1... > Crap! Good catch! I downloaded a beta from synthesis to test if my first problems are solved there - and forgot to uninstall it :-( The above problems are related to the beta. With the stable the connection can be established again. But now I got the no-database-error again :-( Maybe it's the client who's making all this trouble... Can someone point me to another good winmobile-ppc-client??? I found no other... Torsten. |
From: Patrick O. <Pat...@gm...> - 2006-07-02 12:53:38
|
On Thu, 2006-06-22 at 08:35 +0200, Torsten Vollmann wrote: > Maybe it's the client who's making all this trouble... Can someone > point me to > another good winmobile-ppc-client??? I found no other... There's also Funambol's client. There's a stable release which only works with Funambol's server due to exchanging data in a Funambol xml format, but the latest betas also support vCard/iCalendar formats. Note that I haven't tried this client myself and other users had problems at least with older betas. Beta 5 is just around the corner, but not yet released. The advantage compared to the Synthesis client is that it is GPL open source, so you could fix bugs yourself instead of waiting for a company to do it for you. http://www.funambol.com/opensource/downloads.html -- Bye, Patrick Ohly -- Pat...@gm... pa...@co... (MakeCD related mails) http://home.pages.de/~ohly/ http://makecd.core.de/ (MakeCD home page) |
From: Torsten V. <To...@vo...> - 2006-07-02 13:11:05
|
Will check it out. Thanks!! |