[sync] sync error with A1000
Karsten Fourmont
fourmont at gmx.de
Tue Dec 19 04:59:13 PST 2006
Hi Ian,
it seems processing breaks somewhere on the horde side:
there's a client request syncml_cient_11.xml but no server answer
syncml_server_11.xml for this.
Also the horde.log ends in the middle of the message creation (and not
with "Finished at...")
Normally this means a php error. Can you turn on a php error log file in
php.ini with something like this
error_log=/var/log/phperrors.log
and see if it shows any errors?
> Worryingly it only says "Using device class SyncML_Device_P800" in the
> horde.log and I don't get a synclog.txt only a syncml_log.txt.
That's fine. syncml_log.txt is the correct name.
The syncml_log.txt is only written when a complete message is sent to
the client. If processing fails (with a php error) the syncml_log.txt is
not written for this message and you only get the log data from the
horde.log
Thanks,
Karsten
Iain McFarlane wrote:
> Hi,
>
> I tested it tonight but still didn't get anywhere - I did patch
> Devices.php to pick up the A1000 as a P800 type device contacts work but
> still no luck with the calendar
>
> I added in these lines:
> } elseif (!empty($di->_Mod) && stristr($di->_Mod, 'A1000') !==
> false) {
> include_once 'SyncML/Device/P800.php';
> $device = new SyncML_Device_P800();
>
> The events are all created in Horde but the phone says "failed"
>
> Logs etc at http://imcfarla.homelinux.net/~iain/syncml-A1000.tar.gz
>
> Worryingly it only says "Using device class SyncML_Device_P800" in the
> horde.log and I don't get a synclog.txt only a syncml_log.txt.
>
> Regards,
>
> Iain
>
>
> Quoting Karsten Fourmont <fourmont at gmx.de>:
>
>> Hi Ian,
>>
>> I finally managed to test it with my P900.
>> SyncML1.0 devices should be working now again (with current cvs).
>>
>> I'm not sure yet if your phone gets properly identified as a P800
>> class device. Please check if you get a line like
>>
>> "Using device class SyncML_Device_P800"
>> in your synclog.txt (in the second message)
>>
>> If not, please mail the devinf.txt so I can adjust the code accordingly.
>>
>> Thanks for your patience.
>>
>> Cheers,
>> Karsten
>>
>>
>>
>> Iain McFarlane wrote:
>>> On Sunday 19 November 2006 10:58, Karsten Fourmont wrote:
>>>> Iain McFarlane wrote:
>>>>> This is getting better but I am still having problems.
>>>>> For reference the A1000 is a Symbian UIQ device very similar to the
>>>>> P800
>>>> I made some change. Please try what I just committed.
>>>>
>>>> Cheers,
>>>> Karsten
>>>
>>> Just updated from cvs but still no go.
>>>
>>> Logs at http://imcfarla.homelinux.net/~iain/sync1.tar.gz. Run 10
>>> was contacts only, run 11 was calendar only same symptoms as before.
>>>
>>> DEBUG: New session created: syncml3549110003693891635334564
>>> DEBUG: checking auth for user=iain
>>> DEBUG: authorized=1 version=0 msgid=1 source=354911000369389
>>> target=http://imcfarla.homelinux.net/horde/rpc.php user=iain
>>> charset=UTF-8 wbxml=
>>> DEBUG: Create new sync for contacts; synctype=201
>>> DEBUG: Received Final from client.
>>> DEBUG: Sending Final to client.
>>> DEBUG: SyncML: return message completed
>>> DEBUG: Finished at 2006-11-22 22:48:41. Packet logged in
>>> /tmp/sync/syncml_server_10.(wb)xml
>>>
>>> DEBUG: New session created: syncml3549110003693892131549532
>>> DEBUG: checking auth for user=iain
>>> DEBUG: authorized=1 version=0 msgid=1 source=354911000369389
>>> target=http://imcfarla.homelinux.net/horde/rpc.php user=iain
>>> charset=UTF-8 wbxml=
>>> DEBUG: Create new sync for calendar; synctype=201
>>> DEBUG: Received Final from client.
>>> DEBUG: Sending Final to client.
>>> DEBUG: SyncML: return message completed
>>> DEBUG: Finished at 2006-11-22 22:51:17. Packet logged in
>>> /tmp/sync/syncml_server_11.(wb)xml
>>>
>>> Regards,
>>>
>>> Iain
>
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
More information about the sync
mailing list