Re: [os-libsynthesis] Def between iPhone and IOS simulator
Hi Zhoulei, On 13.12.2012, at 04:57, zhou lei wrote: > You may have a try on this. Find out the log file name is quite hard there. I > try to send the file, but can only find the tmp/sysynclogs, and this is a > file path, i have no permission to do things on it. If can compress the log > file, and send it by mail on the app, thats great. I just could not find the > log file name. And i found "" > in file "ios_syncclient_app_sample.xml", means i should set it my self? You can set it yourself, yes. But note that synclog.txt is not the you want to see (that's only one line per sync). The extended debug logfiles are automatically named after date and time and session ID and put into where points. If you can't access /tmp/sysynclogs, you can change the definition of the logpath config variable on line 9 of ios_syncclient_app_sample.xml For example, to change the log directory to the app's document folder (which you can access from you Mac/PC using for example DiskAid http://www.digidna.net/products/diskaid, free functionality sufficient), change line 9 to: This will make the app write the full logs to the documents folder. Best Regards, Lukas ___ os-libsynthesis mailing list os-libsynthesis@synthesis.ch http://lists.synthesis.ch/mailman/listinfo/os-libsynthesis
Re: [os-libsynthesis] Def between iPhone and IOS simulator
Hi Zhoulei, can you create a syncML engine detail logfile? That would probably show what goes wrong. If you are using the latest code from git and do a debug build, log generation into tmp/sysynclogs should be enabled, so you can just get the logs from there (see c6bbe8cb2c (iOS sample app: changed linking of libsynthesis and plugins to standard way to do it. Also improved default logging.) commit comment for details) Best Regards, On 12.12.2012, at 07:44, zhou lei wrote: > Hi, Lukas > > When share this demo, and running it on ios 6, it works. The log on ios 5: > < SyncML message #1 sent to 'http://192.168.2.179:8080/funambol/ds' > > 2012-12-12 14:40:19.389 ios_syncclient_app_sample[681:707] - > sessionStepWithCmd returned stepCmd:100 sta=0 > > 2012-12-12 14:40:19.391 ios_syncclient_app_sample[681:707] runSyncStep > calling sessionStepWithCmd:10 > > 2012-12-12 14:40:19.395 ios_syncclient_app_sample[681:707] - > sessionStepWithCmd returned stepCmd:101 sta=0 > > 2012-12-12 14:40:19.399 ios_syncclient_app_sample[681:707] *** Got SyncML > Client progress Info: eventtype=6, targetid=0, extra1=0, extra2=0, extra3=0 > > 2012-12-12 14:40:19.404 ios_syncclient_app_sample[681:707] runSyncStep > calling sessionStepWithCmd:10 > > 2012-12-12 14:40:19.408 ios_syncclient_app_sample[681:707] - > sessionStepWithCmd returned stepCmd:102 sta=20015 > > 2012-12-12 14:40:19.412 ios_syncclient_app_sample[681:707] -> unexpected > error 20015 while processing session step - discontinue session > > 2012-12-12 14:40:19.418 ios_syncclient_app_sample[681:707] SyncML Session > terminated with stepCmd:102, sessionEndStatus=0 > > Session aborted because of LOCAL SyncML error code 0 > > > > > > - Sync Statistics for 'text_contacts' (), slow sync > > Failed with status code=514 > > > > Regards > > -Zhoulei > > > > 2012/12/12 zhou lei > Hi, Lukas > > For one question, the demo client could works fine on simulator, but can not > sync on iPhone. Using iPhone_dbplugin1, and server side is funambol. Works > with simulator, but not iPhone. > > Regards > -Zhoulei > > ___ > os-libsynthesis mailing list > os-libsynthesis@synthesis.ch > http://lists.synthesis.ch/mailman/listinfo/os-libsynthesis ___ os-libsynthesis mailing list os-libsynthesis@synthesis.ch http://lists.synthesis.ch/mailman/listinfo/os-libsynthesis
Re: [os-libsynthesis] Def between iPhone and IOS simulator
Hi, Lukas When share this demo, and running it on ios 6, it works. The log on ios 5: < SyncML message #1 sent to 'http://192.168.2.179:8080/funambol/ds' 2012-12-12 14:40:19.389 ios_syncclient_app_sample[681:707] - sessionStepWithCmd returned stepCmd:100 sta=0 2012-12-12 14:40:19.391 ios_syncclient_app_sample[681:707] runSyncStep calling sessionStepWithCmd:10 2012-12-12 14:40:19.395 ios_syncclient_app_sample[681:707] - sessionStepWithCmd returned stepCmd:101 sta=0 2012-12-12 14:40:19.399 ios_syncclient_app_sample[681:707] *** Got SyncML Client progress Info: eventtype=6, targetid=0, extra1=0, extra2=0, extra3=0 2012-12-12 14:40:19.404 ios_syncclient_app_sample[681:707] runSyncStep calling sessionStepWithCmd:10 2012-12-12 14:40:19.408 ios_syncclient_app_sample[681:707] - sessionStepWithCmd returned stepCmd:102 sta=20015 2012-12-12 14:40:19.412 ios_syncclient_app_sample[681:707] -> unexpected error 20015 while processing session step - discontinue session 2012-12-12 14:40:19.418 ios_syncclient_app_sample[681:707] SyncML Session terminated with stepCmd:102, sessionEndStatus=0 Session aborted because of LOCAL SyncML error code 0 - Sync Statistics for 'text_contacts' (), slow sync Failed with status code=514 Regards -Zhoulei 2012/12/12 zhou lei > Hi, Lukas > > For one question, the demo client could works fine on simulator, but can > not sync on iPhone. Using iPhone_dbplugin1, and server side is funambol. > Works with simulator, but not iPhone. > > Regards > -Zhoulei > ___ os-libsynthesis mailing list os-libsynthesis@synthesis.ch http://lists.synthesis.ch/mailman/listinfo/os-libsynthesis
[os-libsynthesis] Def between iPhone and IOS simulator
Hi, Lukas For one question, the demo client could works fine on simulator, but can not sync on iPhone. Using iPhone_dbplugin1, and server side is funambol. Works with simulator, but not iPhone. Regards -Zhoulei ___ os-libsynthesis mailing list os-libsynthesis@synthesis.ch http://lists.synthesis.ch/mailman/listinfo/os-libsynthesis