Re: Notes sync to device fails
"Alex May" <[email protected]>
| Newsgroups | gmane.comp.horde.sync |
|---|---|
| Message-ID | <30037ACC9DCE42A9837FAB1F53832893@Minidell> |
----- Original Message ----- From: "Alex May" <[email protected]> To: <[email protected]> Sent: Saturday, January 28, 2012 2:41 PM Subject: Fw: [sync] Notes sync to device fails ----- Original Message ----- From: "Jan Schneider" <[email protected]> To: <[email protected]> Sent: Tuesday, January 24, 2012 9:29 AM Subject: Re: [sync] Notes sync to device fails Zitat von Alex May <[email protected]>: > ----- Original Message ----- > From: "Michael J Rubinsky" <[email protected]> > To: <[email protected]> > Sent: Monday, January 23, 2012 2:38 PM > Subject: Re: [sync] Notes sync to device fails > > > Quoting Alex May <[email protected]>: > >> 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 -- sync mailing list - Join the hunt: http://horde.org/bounties/#sync Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [email protected]