[horde] (no subject)

Michael J Rubinsky mrubinsk at horde.org
Thu Dec 12 06:07:15 UTC 2013


Quoting Simon Wilson <simon at simonandkate.net>:

> When using Tasks and Notes for MS Exchange application on android,   
> it fails to sync to Horde. It looks awesome,  so I'd like to see if  
> it can be made to sync.
>
> It auths to Horde and creates an account,  and the "device"  
> provisions Ok as Android | Tasks+Notes/6.7.0Wed, 11 Dec 2013  
> 14:50:42 +1000   7508073656    Provisioned   NOTESF664E0D92A2F9F8E
>
> But nothing syncs.

Works perfectly here.


> The Apache error log shows this:
>
> [Wed Dec 11 15:11:11 2013] [error] [client 192.168.1.155] PHP Fatal  
> error:  Call to undefined method Mnemo_Exception::encodeStream() in  
> /usr/share/pear/Horde/ActiveSync/Message/Base.php on line 390
> [Wed Dec 11 15:11:14 2013] [error] [client 192.168.1.155] PHP Fatal  
> error:  Call to undefined method Mnemo_Exception::encodeStream() in  
> /usr/share/pear/Horde/ActiveSync/Message/Base.php on line 390

I have a hard time seeing how a Mnemo_Exception could make it that  
far. That error means that an Mnemo_Exception was returned from  
Mnemo_Api::export() - and from what I can tell that looks impossible.  
No idea what is causing that for you.


> Horde AS device log appears normal,  I can send that if needed? I  
> see notes attempting to sync in that log.
>
> The software's logging shows this:
>
>
> 2013-12-11 15:11:10 [4459] org.myklos.inote.NotesSyncAdapterService:  
> performSync start (Version: 6.7.0, Account: simon at simonandkate.net,  
> Last sync: 15:03)
> 2013-12-11 15:11:10 [4459] org.myklos.inote.ActiveSyncClient:  
> ActiveSync version: 14.0, DeviceId: Notesf664e0d92a2f9f8e
> 2013-12-11 15:11:10 [4459]  
> org.myklos.sync.activesync.control.HttpUtils: HTTP POST  
> https://mail.simonandkate.net:443/Microsoft-Server-ActiveSync?Cmd=Sync&User=simon&DeviceId=Notesf664e0d92a2f9f8e&DeviceType=Android
> 2013-12-11 15:11:11 [4459]  
> org.myklos.sync.activesync.control.HttpUtils: >>> <Sync  
> xmlns="AirSync"><Collections><Collection><SyncKey>{52a7ef22-9ec0-4d8e-acca-4c9ac0a801e6}1</SyncKey><CollectionId>@Notes@</CollectionId><DeletesAsMoves/><GetChanges/><Options><BodyPreference xmlns="AirSyncBase"><Type>1</Type></BodyPreference></Options></Collection><Collection xmlns="AirSync"><SyncKey>{52a7ef22-bf48-4b13-9322-4c9ac0a801e6}1</SyncKey><CollectionId>@Tasks@</CollectionId><DeletesAsMoves/><GetChanges/><Options><BodyPreference xmlns="AirSyncBase"><Type>1</Type></BodyPreference></Options></Collection></Collections><WindowSize  
> xmlns="AirSync">32</WindowSize></Sync>
> 2013-12-11 15:11:11 [4459]  
> org.myklos.sync.activesync.control.HttpUtils: >>> WBXML  
> 03016A00455C4F4B037B35326137656632322D396563302D346438652D616363612D3463396163306138303165367D3100015203404E6F7465734000011E1357001145460331000101010100004F4B037B35326137656632322D626634382D346231332D393332322D3463396163306138303165367D3100015203405461736B734000011E1357001145460331000101010101000055033332000101
> 2013-12-11 15:11:12 [4459] HTTP Response: 500 Internal Server Error:  
> java.io.FileNotFoundException:  
> https://mail.simonandkate.net:443/Microsoft-Server-ActiveSync?Cmd=Sync&User=simon&DeviceId=Notesf664e0d92a2f9f8e&DeviceType=Android
>      
> libcore.net.http.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:186)
>      
> libcore.net.http.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:271)
>      
> org.myklos.sync.activesync.control.HttpUtils.getResponse(HttpUtils.java:52)
>      
> org.myklos.sync.activesync.control.handler.ItemSyncHandler.process(ItemSyncHandler.java:87)
>      
> org.myklos.sync.activesync.control.ActiveSyncController.getItems(ActiveSyncController.java:181)
>     org.myklos.inote.ActiveSyncClient.processItems(ActiveSyncClient.java:882)
>      
> org.myklos.inote.ActiveSyncClient.processInternal(ActiveSyncClient.java:1362)
>     org.myklos.inote.ActiveSyncClient.process(ActiveSyncClient.java:1385)
>      
> org.myklos.inote.NotesSyncAdapterService.performSync(NotesSyncAdapterService.java:203)
>      
> org.myklos.inote.NotesSyncAdapterService$SyncAdapterImpl.onPerformSync(NotesSyncAdapterService.java:65)
>      
> android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:261)
>
> 2013-12-11 15:11:12 [4459] org.myklos.inote.NotesSyncAdapterService:  
> performSync end
>
>
> I notice that the case is different between the name the device  
> calls and Horde's name for it.
>
> Any ideas? I have not yet dug into the Base.php error noted.

You are going to need to trace where the Mnemo_Exception is being  
returned from.

-- 
mike

The Horde Project (www.horde.org)
mrubinsk at horde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5849 bytes
Desc: S/MIME Signature
URL: <http://lists.horde.org/archives/horde/attachments/20131212/c574ac71/attachment.bin>


More information about the horde mailing list