z-push for kolab 0.4 with N900

Alain Abbas alain.abbas at libertech.fr
Thu Apr 15 16:16:38 CEST 2010


wp1133599-user a écrit :
> Hi Alain
>
> Here is what I was testing.
>
> Am Donnerstag, den 15.04.2010, 14:24 +0200 schrieb Alain Abbas
> <alain.abbas at libertech.fr>:
>   
>> Hello
>> if you have set the mode to 1 (Folder mode ) and that the N900 doesn t 
>> support user folders
>> it s normal that you don t see it (in this case you just see the default
>>     
>
>   
>> calendar)
>>     
>
> Correct the N900 showed this behaviour.
>   
yes seems normal
>  
>   
>> In folder mode each calendar appear on the mobile as a separated 
>> calendar ( like on the iphone or ipod)
>> if the phone doesnt support it, you would see in this mode just the 
>> default calendar) (same for the contacts)
>>
>> if you set the mode at 0 or 2 (automatic) the backend will make a 
>> Virtual Calendar with all the calendars folders in it .
>> we tested on Android, Windows mobile and it work well
>>     
>
> I guess here starts the unexpected behaviour. When set to mode 0 the sync
> runs through without errors on the phone but also nothing happens. I didn't
> add the extra calendar for the test which should also work without the
> extra, right?
> Here is the debug.txt output:
>
> 04/15/10 15:21:18 [6749] Start
> 04/15/10 15:21:18 [6749] Z-Push version: SVN 1.3 RC2 276
> 04/15/10 15:21:18 [6749] Client IP: 141.2.210.105
> 04/15/10 15:21:18 [6749] Client supports version 2.5
> 04/15/10 15:21:18 [6749] KolabBackend Version : 0.4
> 04/15/10 15:21:18 [6749] POST cmd: FolderSync
> 04/15/10 15:21:18 [6749] Initializing folder diff engine
> 04/15/10 15:21:18 [6749] Found 2 folder changes
> 04/15/10 15:21:18 [6749] IMAP-errors: SECURITY PROBLEM: insecure server
> advertised AUTH=PLAIN
> 04/15/10 15:21:18 [6749] IMAP connection closed
> 04/15/10 15:21:18 [6749] end
> 04/15/10 15:21:18 [6749] --------
>
> and here is the /var/log/z-push/access.log output:
>
> 04/15/10 15:21:18 [6749] :  : KolabBackend Version : 0.4
> 04/15/10 15:21:18 [6749] :  : IMAP connection opened sucessfully user :
> me at alexanderschroeter.net
> 04/15/10 15:21:18 [6749] : me at alexanderschroeter.net : Setup :  Mobile ID
> :356938031394910 Proto Version : 2.5 DeviceType : SmartPhone DeviceAgent :
> N900/1.1
> 04/15/10 15:21:18 [6749] : me at alexanderschroeter.net : NOTICE : Forced to
> flatmode
> 04/15/10 15:21:18 [6749] : me at alexanderschroeter.net : GetAnnotation
> INBOX/Tasks : task.default
> 04/15/10 15:21:18 [6749] : me at alexanderschroeter.net : GetAnnotation
> INBOX/Sent : 0
> 04/15/10 15:21:18 [6749] : me at alexanderschroeter.net : GetAnnotation
> INBOX/Notes : note.default
> 04/15/10 15:21:18 [6749] : me at alexanderschroeter.net : GetAnnotation
> INBOX/Journal : journal.default
> 04/15/10 15:21:18 [6749] : me at alexanderschroeter.net : GetAnnotation
> INBOX/Contacts : contact.default
> 04/15/10 15:21:18 [6749] : me at alexanderschroeter.net : GetAnnotation
> INBOX/Calendar : event.default
> 04/15/10 15:21:18 [6749] : me at alexanderschroeter.net : GetAnnotation INBOX
> : 0
> 04/15/10 15:21:18 [6749] : me at alexanderschroeter.net : IMAP connection
> closed
>
>
>   
>> I think if you want to use this mode you must reset your N900 but not 
>> switch  to a mode to another without reset on the mobile
>>     
>
> Do I understand correctly that I should switch to mode 0 and reset the
> server (rm state/* and kolabindex/*)?
>
>   
no you must reset the sync on the Mobile
i know how one the iphone and android
but not on the N900
i think you must unset the sync to set all blank (calendar and contact) 
and set the sync again
or tell to the mobile that you dont sync anything and set it again

>> My main question is if N900 support  the activesync (User-created 
>> Calendar folder , this is excatly the term in the activesync protocol)
>>     
>
> I don't think it does but I will get in contact with the maemo people and
> make sure.
>
>   
>> for the moment i know just the iphone who support that .
>>
>> Alain
>>     
>
> Regards Alexander
>
>   
>> wp1133599-user a écrit :
>>     
>>> I did create a new Calendar but it was not synced to the N900. The N900
>>> really needs some work done in this area. I know a couple of Bugs
>>>       
> related
>   
>>> to syncronization. So it's not a surprise that this feature is missing.
>>>
>>> Since I am planing to take on a project for the N900 this summer and I
>>>       
> am
>   
>>> really looking forward to making this work with the N900. I might just
>>> take
>>> this one.
>>>
>>> Cheers Alexander
>>>
>>> Am Mittwoch, den 14.04.2010, 20:07 +0200 schrieb Alain Abbas
>>> <alain.abbas at libertech.fr>:
>>>   
>>>       
>>>> hi
>>>> i donvt know if n900 support the folders but to set like that you sync
>>>>         
>
>   
>>>> like with the version 0.3 .could you try to create another calendar  
>>>> you inbox space and to see if u see it in the n900?
>>>>
>>>> alain
>>>>
>>>>
>>>>
>>>> Le 14 avr. 2010 à 19:31, Alexander Schröter
>>>> <webmaster at computational-chemistry.o 
>>>> rg> a écrit :
>>>>
>>>>     
>>>>         
>>>>> Ok. The solution seems to be setting the config to
>>>>> "define("KOLAB_MODE",1);"
>>>>> I guess adding the n900 to the list would do the same right?
>>>>>
>>>>> As to my previous issue where the sync faild do to the tasks, this  
>>>>> is fixed. thank you very much!
>>>>>
>>>>> I will keep playing with my toy and let you know if I can find any  
>>>>> other issues.
>>>>>
>>>>> Thank you.
>>>>> Alexander
>>>>>
>>>>>
>>>>> Am 14.04.2010 18:55, schrieb Alain Abbas:
>>>>>       
>>>>>           
>>>>>> hi Alex
>>>>>> i think you must reset the sync on the mobile because a lot of  
>>>>>> things has
>>>>>> changed. on the iphone just the swich on and off of the calendar  
>>>>>> and of
>>>>>> the contact is sufficient
>>>>>> on the N900 i dont know how you could make that.
>>>>>> did you check the config-kolab.php too ? there are some new define  
>>>>>> in it
>>>>>>
>>>>>> Alain
>>>>>>
>>>>>>
>>>>>> Alexander Schröter a écrit :
>>>>>>
>>>>>>         
>>>>>>             
>>>>>>> Hi Alain
>>>>>>>
>>>>>>> first thank you very much for puting so much effort in making this 
>>>>>>>               
>
>   
>>>>>>> work.
>>>>>>>
>>>>>>> Since I haven't found a how to I will quickly discribe what I did
>>>>>>>               
> to
>   
>>>>>>> update to the new version.
>>>>>>> Overwrite the files from 0.3 with the ones from 0.4 and delete the 
>>>>>>>               
>
>   
>>>>>>> files
>>>>>>> in state and kolabindex to initialize a new sync. I hope that  
>>>>>>> wasn't wrong.
>>>>>>>
>>>>>>> Now whats happening. The Sync runs through without giving any  
>>>>>>> errors but
>>>>>>> unfortunetly also nothing happens.
>>>>>>> Tell me if you need anything else. Here are the logs created by  
>>>>>>> the sync.
>>>>>>>
>>>>>>> Regards Alexander
>>>>>>>
>>>>>>> /var/log/z-push/access.log
>>>>>>>
>>>>>>> 04/14/10 18:23:32 [2058] :  : KolabBackend Version : 0.4
>>>>>>> 04/14/10 18:23:32 [2058] :  : IMAP connection opened sucessfully  
>>>>>>> user :
>>>>>>> me at alexanderschroeter.net
>>>>>>> 04/14/10 18:23:32 [2058] : me at alexanderschroeter.net : Setup :   
>>>>>>> Mobile
>>>>>>> ID :356938031394910 Proto Version : 2.5 DeviceType : SmartPhone
>>>>>>> DeviceAgent : N900/1.1
>>>>>>> 04/14/10 18:23:32 [2058] : me at alexanderschroeter.net : NOTICE :  
>>>>>>> findMode
>>>>>>> Flatmode
>>>>>>> 04/14/10 18:23:32 [2058] : me at alexanderschroeter.net :
>>>>>>>               
> GetAnnotation
>   
>>>>>>> INBOX/Tasks : task.default
>>>>>>> 04/14/10 18:23:32 [2058] : me at alexanderschroeter.net :
>>>>>>>               
> GetAnnotation
>   
>>>>>>> INBOX/Sent : 0
>>>>>>> 04/14/10 18:23:32 [2058] : me at alexanderschroeter.net :
>>>>>>>               
> GetAnnotation
>   
>>>>>>> INBOX/Notes : note.default
>>>>>>> 04/14/10 18:23:32 [2058] : me at alexanderschroeter.net :
>>>>>>>               
> GetAnnotation
>   
>>>>>>> INBOX/Journal : journal.default
>>>>>>> 04/14/10 18:23:32 [2058] : me at alexanderschroeter.net :
>>>>>>>               
> GetAnnotation
>   
>>>>>>> INBOX/Contacts : contact.default
>>>>>>> 04/14/10 18:23:32 [2058] : me at alexanderschroeter.net :
>>>>>>>               
> GetAnnotation
>   
>>>>>>> INBOX/Calendar : event.default
>>>>>>> 04/14/10 18:23:32 [2058] : me at alexanderschroeter.net :
>>>>>>>               
> GetAnnotation
>   
>>>>>>> INBOX : 0
>>>>>>> 04/14/10 18:23:32 [2058] : me at alexanderschroeter.net : IMAP  
>>>>>>> connection
>>>>>>> closed
>>>>>>>
>>>>>>> debug.txt:
>>>>>>>
>>>>>>> 04/14/10 18:23:31 [2058] Start
>>>>>>> 04/14/10 18:23:31 [2058] Z-Push version: SVN 1.3 RC2 276
>>>>>>> 04/14/10 18:23:31 [2058] Client IP: 85.180.136.13
>>>>>>> 04/14/10 18:23:31 [2058] Client supports version 2.5
>>>>>>> 04/14/10 18:23:31 [2058] KolabBackend Version : 0.4
>>>>>>> 04/14/10 18:23:31 [2058] POST cmd: FolderSync
>>>>>>> 04/14/10 18:23:31 [2058] Initializing folder diff engine
>>>>>>> 04/14/10 18:23:31 [2058] Found 2 folder changes
>>>>>>> 04/14/10 18:23:31 [2058] IMAP-errors: SECURITY PROBLEM: insecure  
>>>>>>> server
>>>>>>> advertised AUTH=PLAIN
>>>>>>> 04/14/10 18:23:31 [2058] IMAP connection closed
>>>>>>> 04/14/10 18:23:31 [2058] end
>>>>>>> 04/14/10 18:23:31 [2058] --------
>>>>>>> 04/14/10 18:23:31 [2058] Start
>>>>>>> 04/14/10 18:23:31 [2058] Z-Push version: SVN 1.3 RC2 276
>>>>>>> 04/14/10 18:23:31 [2058] Client IP: 85.180.136.13
>>>>>>> 04/14/10 18:23:31 [2058] Client supports version 2.5
>>>>>>> 04/14/10 18:23:31 [2058] KolabBackend Version : 0.4
>>>>>>> 04/14/10 18:23:31 [2058] POST cmd: FolderSync
>>>>>>> 04/14/10 18:23:31 [2058] Initializing folder diff engine
>>>>>>> 04/14/10 18:23:31 [2058] Found 2 folder changes
>>>>>>> 04/14/10 18:23:31 [2058] IMAP-errors: SECURITY PROBLEM: insecure  
>>>>>>> server
>>>>>>> advertised AUTH=PLAIN
>>>>>>> 04/14/10 18:23:31 [2058] IMAP connection closed
>>>>>>> 04/14/10 18:23:31 [2058] end
>>>>>>> 04/14/10 18:23:31 [2058] --------
>>>>>>> 04/14/10 18:23:32 [2058] Start
>>>>>>> 04/14/10 18:23:32 [2058] Z-Push version: SVN 1.3 RC2 276
>>>>>>> 04/14/10 18:23:32 [2058] Client IP: 85.180.136.13
>>>>>>> 04/14/10 18:23:32 [2058] Client supports version 2.5
>>>>>>> 04/14/10 18:23:32 [2058] KolabBackend Version : 0.4
>>>>>>> 04/14/10 18:23:32 [2058] POST cmd: FolderSync
>>>>>>> 04/14/10 18:23:32 [2058] Initializing folder diff engine
>>>>>>> 04/14/10 18:23:32 [2058] Found 2 folder changes
>>>>>>> 04/14/10 18:23:32 [2058] IMAP-errors: SECURITY PROBLEM: insecure  
>>>>>>> server
>>>>>>> advertised AUTH=PLAIN
>>>>>>> 04/14/10 18:23:32 [2058] IMAP connection closed
>>>>>>> 04/14/10 18:23:32 [2058] end
>>>>>>> 04/14/10 18:23:32 [2058] --------
>>>>>>> 04/14/10 18:23:39 [2058] Start
>>>>>>> 04/14/10 18:23:39 [2058] Z-Push version: SVN 1.3 RC2 276
>>>>>>> 04/14/10 18:23:39 [2058] Client IP: 85.180.136.13
>>>>>>> 04/14/10 18:23:39 [2058] KolabBackend Version : 0.4
>>>>>>> 04/14/10 18:23:39 [2058] Options request
>>>>>>> 04/14/10 18:23:39 [2058] IMAP-errors: SECURITY PROBLEM: insecure  
>>>>>>> server
>>>>>>> advertised AUTH=PLAIN
>>>>>>> 04/14/10 18:23:39 [2058] IMAP connection closed
>>>>>>> 04/14/10 18:23:39 [2058] end
>>>>>>> 04/14/10 18:23:39 [2058] --------
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Kolab-users mailing list
>>>>>>> Kolab-users at kolab.org
>>>>>>> https://kolab.org/mailman/listinfo/kolab-users
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>>               
>>>>>> _______________________________________________
>>>>>> Kolab-users mailing list
>>>>>> Kolab-users at kolab.org
>>>>>> https://kolab.org/mailman/listinfo/kolab-users
>>>>>>
>>>>>>
>>>>>>         
>>>>>>             
>>>>> _______________________________________________
>>>>> Kolab-users mailing list
>>>>> Kolab-users at kolab.org
>>>>> https://kolab.org/mailman/listinfo/kolab-users
>>>>>       
>>>>>           
>>> _______________________________________________
>>> Kolab-users mailing list
>>> Kolab-users at kolab.org
>>> https://kolab.org/mailman/listinfo/kolab-users
>>>   
>>>       
>> _______________________________________________
>> Kolab-users mailing list
>> Kolab-users at kolab.org
>> https://kolab.org/mailman/listinfo/kolab-users
>>     
>
> _______________________________________________
> Kolab-users mailing list
> Kolab-users at kolab.org
> https://kolab.org/mailman/listinfo/kolab-users
>   




More information about the users mailing list