[sync] Notes sync to device fails
Alex May
alex at maymay.de
Sat Jan 28 15:37:32 UTC 2012
----- Original Message -----
From: "Alex May" <alex at maymay.de>
To: <sync at lists.horde.org>
Sent: Saturday, January 28, 2012 2:41 PM
Subject: Fw: [sync] Notes sync to device fails
----- Original Message -----
From: "Jan Schneider" <jan at horde.org>
To: <sync at lists.horde.org>
Sent: Tuesday, January 24, 2012 9:29 AM
Subject: Re: [sync] Notes sync to device fails
Zitat von Alex May <alex at maymay.de>:
> ----- Original Message -----
> From: "Michael J Rubinsky" <mrubinsk at horde.org>
> To: <sync at lists.horde.org>
> Sent: Monday, January 23, 2012 2:38 PM
> Subject: Re: [sync] Notes sync to device fails
>
>
> Quoting Alex May <alex at maymay.de>:
>
>> I don't have a GIT client installed and I'm not sure I need one.
>> Searching around the GIT repository, the relevant change seems to be
>> to .../mnemo/lib/Api.php
>> Can I just copy that from the GIT repository and overwrite my
>> version of the same file?
>
> Yes, that should work.
>
>
>
> --
> mike
>
> =============================================
>
> Tried that and got a weird kind of error where when I tried to
> access my normal login, I got a screen telling me about the new file.
Not sure what you mean by that.
> Instead, I copied the relevant part of Api.php from the GIT
> repository to my installation.
> (Which was also effectively what Christian Bomhardt suggested.)
> No more errors, but the problem isn't quite fixed.
> The attached shows that the error relating to the missing function
> is gone, but I am still not getting the changes.
> I added a new note and then ran the sync and captured the log.
> It shows horde found no changes, hence no sync.
> Any further ideas?
Did you turn off the history system? Does the note show a creation date?
Jan.
I had not knowingly turned off the history system. The note did show a creation date, but as I was doing everything in close
succession, I was concerned that that might be the problem.
I therefore switched to daily automatic syncing in stead of every 15mins. I then created a new note (and, as you can see, deleted
earlier test notes) and tried again by manually starting the sync.
The results are attached.
I seem to have a different problem now.
I think the issue is " Unsupported Content-Type: text/x-s4j-sifn"
I am syncing to Funambol on a Blackberry.
Any suggestions?
Alex
I continued searching and found Christian Bomhardt had posted the following addition for Api.php in lib in mnemo:
switch ($contentType) {
case 'text/x-s4j-sifn':
$a=array('Body' => $memo['body'],'Categories' =>
$memo['category'],
'Subject' => Mnemo_Driver::getMemoDescription($memo['body']));
return Horde_SyncMl_Device_sync4j::array2sif($a, '<note>',
'</note>');
Adding that (at three places) got rid of the content type error and the process went without apparent error, but still did not sync.
I then got hold of the Funambol logs which say:
Unable to save new item in source [Notes]: general error(javax.microedition.pim.PIMException: Memo must have a title.
So I guess Horde is failing to deliver a title in a format that Funambol can understand.
Can anyone help?
Thanks,
Alex
More information about the sync
mailing list