6.0.0-alpha10
5/15/25

[#9837] kronolith ActiveSync
Summary kronolith ActiveSync
Queue Synchronization
Queue Version Git master
Type Bug
State Duplicate
Priority 2. Medium
Owners mrubinsk (at) horde (dot) org
Requester ulli_um (at) arcor (dot) de
Created 04/07/2011 (5152 days ago)
Due
Updated 05/13/2011 (5116 days ago)
Assigned 04/07/2011 (5152 days ago)
Resolved 05/02/2011 (5127 days ago)
Milestone
Patch No

History
05/13/2011 05:57:06 PM Git Commit Comment #26 Reply to this comment
Changes have been made in Git for this ticket:

Refactor Ansel for H4:
This is a fairly big change, lots of testing encouraged!

Compose Horde_Share_Object with Ansel_Gallery
instead of extending it so any H4 share driver can
now be used.

Use Horde_Db

Bunch of other stuff :)

Squashed commit of the following:

commit f75e20be1234bc8fea9f354d6e00b7b843dbbc8e
Merge: f9eea1f e7a93ed
Author: Michael J. Rubinsky <mrubinsk@horde.org>
Date:   Fri May 13 13:43:16 2011 -0400

     Merge branch 'master' into ansel_sharesng

     Conflicts:
             framework/Share/package.xml

commit f9eea1f5c6e52d40c128f94c6e16ac38685ac6bf
Author: Michael J. Rubinsky <mrubinsk@horde.org>
Date:   Fri May 13 13:31:17 2011 -0400

     Horde_Db

commit 605ae7369562a8ea2b8e9169541d75a5c7a9597c
Author: Michael J. Rubinsky <mrubinsk@horde.org>
Date:   Fri May 13 13:17:27 2011 -0400

     use the globally configured share driver

commit 09791ccc5fc7e729b29f8519dd3e8a34946d5cae
Author: Michael J. Rubinsky <mrubinsk@horde.org>
Date:   Fri May 13 13:17:07 2011 -0400

     initial data migration for sqlng

commit db2452d86d2a89ed2e0e4564369172e2ac12750c
Author: Michael J. Rubinsky <mrubinsk@horde.org>
Date:   Fri May 13 13:09:21 2011 -0400

     Fix a number of issues with sqlng and sql driver

     - getShareCriteria() should be protected
     - return value of Horde_Share_Sql::_getShareCriteria is not compatible
       with Horde_Share_Sqlng::, and $perms need to be an array 
instead of bitmask
       so need to also override countOwners() and
       listOwners() in the sqlng driver.

commit c2c7c382ccd257ea097040070fcd639be071d0d0
Author: Michael J. Rubinsky <mrubinsk@horde.org>
Date:   Fri May 13 11:49:37 2011 -0400

     Don't tag item if the tag is empty.

commit 4a4fdcc7e8d2583682ad43b11250bc1a9965ca4e
Author: Michael J. Rubinsky <mrubinsk@horde.org>
Date:   Fri May 13 11:35:57 2011 -0400

     more ->getId() -> id fixes, fix adding default perms to new galleries

commit fc4f065fd5655bcd9fa505d09bcb8281907f41e9
Author: Michael J. Rubinsky <mrubinsk@horde.org>
Date:   Fri May 13 10:59:56 2011 -0400

     Fix setting gallery permissions

commit 4a775d42e78df59e6661a7b92cdf388679f052b6
Author: Michael J. Rubinsky <mrubinsk@horde.org>
Date:   Fri May 13 10:58:53 2011 -0400

     ws

commit 8d820dca3b36b8a2c2aef752c0c2138c4b59eee9
Author: Michael J. Rubinsky <mrubinsk@horde.org>
Date:   Fri May 13 10:14:28 2011 -0400

     fix property name

commit d3bbc0aaf13dd98f006a76ea3080fcb24be1f547
Author: Michael J. Rubinsky <mrubinsk@horde.org>
Date:   Fri May 13 10:13:17 2011 -0400

     fix variable name, ws.

commit 62a644801b391a3d5215116b428669bd146c486a
Author: Michael J. Rubinsky <mrubinsk@horde.org>
Date:   Fri May 13 10:12:30 2011 -0400

     Need to make sure that ::widgets is populated correctly.

commit 10681ff90a1254be80fb14664e3c7734dffeab5c
Author: Michael J. Rubinsky <mrubinsk@horde.org>
Date:   Fri May 13 10:11:39 2011 -0400

     Ansel_Gallery needs a getChildren method now that it doesn't 
extend Horde_Share_Object

commit 3fe78fa362c85950d071c5ab730e6b1279e90975
Author: Michael J. Rubinsky <mrubinsk@horde.org>
Date:   Fri May 13 10:10:10 2011 -0400

     galleryShare hasn't been used for quite some time. Remove it.

commit aff40353b3108f21355297b4aff0800faccc4665
Merge: 1053879 1d7a5fd
Author: Michael J. Rubinsky <mrubinsk@horde.org>
Date:   Fri May 13 09:19:57 2011 -0400

     Merge branch 'master' into ansel_sharesng

     Conflicts:
             turba/package.xml

commit 10538792730fcd54406a37fff8f442f01e003c75
Author: Michael J. Rubinsky <mrubinsk@horde.org>
Date:   Tue May 10 09:32:23 2011 -0400

     Ansel_Gallery needs a setPermission() too

commit 917b204f44454270fe7bcf5d1eea4b79eaf4f051
Author: Michael J. Rubinsky <mrubinsk@horde.org>
Date:   Tue May 10 09:31:38 2011 -0400

     another ->getId() => ->id

commit f8bf508a1d3cdcfbb00f2aa27dac064538dec5ad
Author: Michael J. Rubinsky <mrubinsk@horde.org>
Date:   Tue May 10 09:31:08 2011 -0400

     This is autoincrement, don't attempt to insert and image_id

commit a553b58953e1faf1ea6639852086b853fdb28763
Author: Michael J. Rubinsky <mrubinsk@horde.org>
Date:   Tue May 10 00:38:43 2011 -0400

     Fix Ansel_Gallery#set - still not quite right yet.

commit 889ae5052791cbe2a3765f8154f1fe858c4b9407
Author: Michael J. Rubinsky <mrubinsk@horde.org>
Date:   Tue May 10 00:38:25 2011 -0400

     properly pass a style

commit 874e99e8463ed81d212435b79b4f1587d863482f
Author: Michael J. Rubinsky <mrubinsk@horde.org>
Date:   Tue May 10 00:38:02 2011 -0400

     typo

commit 0dd603855008d15399ed1c56d4761bc1731bc283
Author: Michael J. Rubinsky <mrubinsk@horde.org>
Date:   Tue May 10 00:37:46 2011 -0400

     autoloaded

commit 1ce1f74f0aa6f57c7dd42f836ddef677caab3b43
Author: Michael J. Rubinsky <mrubinsk@horde.org>
Date:   Tue May 10 00:03:32 2011 -0400

     $gallery->data['attribute_property_name'] -> 
$gallery->get('property_name')

commit 410261ee8cf672483c6eb8513410d467e94b76fa
Author: Michael J. Rubinsky <mrubinsk@horde.org>
Date:   Tue May 10 00:02:38 2011 -0400

     Readd the Action widget, got removed somewhere along the way.

commit 6898a3f13cd6a7b16c81010b849637d29742f346
Author: Michael J. Rubinsky <mrubinsk@horde.org>
Date:   Mon May 9 20:16:32 2011 -0400

     standardize/fix Ansel_Gallery vs Horde_Share_Object vs ids

commit f3c0d4510791a9e0f6abd3124de689d8ec39764e
Author: Michael J. Rubinsky <mrubinsk@horde.org>
Date:   Mon May 9 20:15:22 2011 -0400

     Work around issues with __get() and arrays, while avoiding 
reference warnings

commit 189f63535c645ef2d8832f5b41ba0e47695b74cc
Author: Michael J. Rubinsky <mrubinsk@horde.org>
Date:   Mon May 9 17:03:28 2011 -0400

     Horde_Db cannot support blob/text indexes at this time

commit c9aad057ecd6d021b4ec13d4c82b93810f0b9f8b
Author: Michael J. Rubinsky <mrubinsk@horde.org>
Date:   Mon May 9 17:03:06 2011 -0400

     Throw exception if shareOb cannot be obtained

commit 64d45d059b160cecf4ce627e98951d21e69fcd3b
Author: Michael J. Rubinsky <mrubinsk@horde.org>
Date:   Mon May 9 13:44:17 2011 -0400

     Fix images property access

commit 7670a409472e6a6fe8536dc0f4e3f7e8acde2324
Author: Michael J. Rubinsky <mrubinsk@horde.org>
Date:   Mon May 9 13:36:55 2011 -0400

     remove debug code

commit 8bb37b86eee5e9202e110119182334e9fa86751c
Author: Michael J. Rubinsky <mrubinsk@horde.org>
Date:   Mon May 9 13:36:31 2011 -0400

     fix query for image data

commit 13c5d581358461bde5b727ee2663adf88851e432
Author: Michael J. Rubinsky <mrubinsk@horde.org>
Date:   Mon May 9 13:36:13 2011 -0400

     catch cache version change

commit 26e06c26702d2f0aff0a41ea359595a7d15c6492
Author: Michael J. Rubinsky <mrubinsk@horde.org>
Date:   Mon May 9 12:51:38 2011 -0400

     first round of share refactorings

commit d874b69f5f2116afb7e3c6d7ce57dfa97a940a24
Author: Michael J. Rubinsky <mrubinsk@horde.org>
Date:   Fri May 6 00:43:15 2011 -0400

     fix method signature

commit e8eeb489fdf1e5488714b8a5c2be3925e4db7935
Author: Michael J. Rubinsky <mrubinsk@horde.org>
Date:   Fri May 6 00:32:08 2011 -0400

     parse error

commit 00c962f72066c9971f1831117d4f15ae4056687a
Merge: 4f294dc cea4c8d
Author: Michael J. Rubinsky <mrubinsk@horde.org>
Date:   Fri May 6 00:28:54 2011 -0400

     Merge branch 'master' into ansel_sharesng

     Conflicts:
             framework/Share/package.xml
             horde/lib/Application.php
             horde/package.xml
             imp/lib/Application.php
             imp/package.xml
             kronolith/lib/Application.php
             kronolith/package.xml
             mnemo/package.xml
             nag/lib/Application.php
             nag/package.xml
             turba/lib/Application.php
             turba/package.xml

commit 4f294dcbec48e177f0d306a348a1e2cb94cdb53c
Author: Michael J. Rubinsky <mrubinsk@horde.org>
Date:   Sat Apr 23 20:28:43 2011 -0400

     Don't let a broken date value totally break activesync session.

     Possibly fixes one part of Bug: 9837

commit 22f2f1030bd134273f0070cac32d62c540372196
Author: Michael J. Rubinsky <mrubinsk@horde.org>
Date:   Thu Apr 21 16:26:14 2011 -0400

     bump version

commit fd927e0a1c8b1532b07046ea7a70b30bdfd65c32
Merge: 8ed94b4 dc03419
Author: Michael J. Rubinsky <mrubinsk@horde.org>
Date:   Thu Apr 21 16:20:35 2011 -0400

     Merge branch 'develop' into ansel_sharesng

     Conflicts:
             imp/package.xml

commit 8ed94b461169b4c2c89728e585b1517b828de9af
Author: Michael J. Rubinsky <mrubinsk@horde.org>
Date:   Thu Apr 21 14:44:33 2011 -0400

     Add ability to immediatley save the change when calling 
Horde_Share_Object#set

     Implemented in the sql drivers, but was unsure how to implment 
this in kolab.
     For now, it just calls _save() there.

commit f92f4fb0894786415472a7da5f830a859a1692d9
Merge: 6724680 e84667a
Author: Michael J. Rubinsky <mrubinsk@horde.org>
Date:   Thu Apr 21 14:34:35 2011 -0400

     Merge branch 'master' into ansel_sharesng

commit dc03419d7d329bbc1a5b598155af7b355cd37ddb
Author: Jan Schneider <jan@horde.org>
Date:   Thu Apr 21 19:00:49 2011 +0200

     Bump API versions too.

commit 206ff72dbee119a1f1f473d83627357fdb9d7f6d
Author: Jan Schneider <jan@horde.org>
Date:   Thu Apr 21 18:55:21 2011 +0200

     Bump versions.

commit 6724680553937c02d0e838df2eb876b9c31dcf2d
Author: Michael J. Rubinsky <mrubinsk@horde.org>
Date:   Thu Apr 21 11:04:21 2011 -0400

     initial sharesng migration. just creates tables

  28 files changed, 804 insertions(+), 531 deletions(-)
http://git.horde.org/horde-git/-/commit/540710601ccf3cff029fe27d10876eb7c62f6cb6
05/12/2011 08:01:20 AM bugs (dot) horde (dot) org (at) sjau (dot) ch Comment #25 Reply to this comment
I think I experience the same problem with SyncML.

Steps I did:

(1) Clear calendar and todo on cell phone
(2) Reset sync log on cell phone
(3) update to latest git (may 12, 2011)
(4) Reset sync log in horde (not necessary as this keeps staying empty)
(5) Initialize first sync session --> on cell phone the sync is 
successfull however no entry on the horde side of a successful sync

(6) Upon next sync, the cell phone sends all calendar and todo entries 
again to the server and successfully finishes the sync session. Horde 
does not have multiple entries of those re-sent events and tasks and 
the sync protocoll on horde stays empty
05/02/2011 02:29:26 AM Michael Rubinsky Comment #24
State ⇒ Duplicate
Reply to this comment
*sigh*

This also looks like it's due to Bug: 9733

Accessing Kronolith to poll for any changes causes hasApiPermisisons 
to be called - which relies on the session value being set in certain 
cases.
05/02/2011 01:55:06 AM Michael Rubinsky Comment #23
Priority ⇒ 2. Medium
Reply to this comment
I can finally periodically reproduce this...
05/01/2011 12:46:16 AM stephan (at) skleber (dot) de Comment #22
New Attachment: failedActiveSync-Calendar.txt Download
Reply to this comment
I can confirm the described problem. At my end contacts sync well, 
whereas calendar fails to do so on three devices tested:

Android 2.2: HTC Desire: Geräte-ID:HTCAnd3062b66b
iOS 4.2.1 (jailbreaked): iPod touch 2G: Geräte-ID:Appl1A840UK5201
iOS 4.2.1: iPhone 4 (no log)

Log is attached.

The Desire reports "problems" after syncing. iOS-Devices simply do not 
show anything. The Exchange calendar is displayed in the list of 
calendars on Android as well as iOS but neither does contain anything.

I used horde without and with the changes described in this Ticket:
Horde 4.0.1
kronolith 3.0.1
turba 3.0.1

The complete Horde database was created from cratch by the 
configuration panel in the Administration Menu directly prior to the 
test. I then created one contact and three events for the user I tried 
syncing for.

[Show Quoted Text - 17 lines]
04/24/2011 02:11:39 AM Michael Rubinsky Comment #21 Reply to this comment
That did it.
Great.
Does not work with Android 2.3 Mail (exchange) by itself I had to 
use touchdown as the syncing never started it authenticates, but 
never starts to download contacts or calendar.
Hm. Works perfectly here on 2.3.3 (Cyanogen 7). What happens if you 
force the sync in the Accounts and Sync settings screen?
I'm not sure where to make the change on the   
framework/ActiveSync/lib/Horde/ActiveSync/State/History.php
To give you more error logging.
That change shouldn't affect your issue, it was related to the 
original poster's problem, but you just need to add the new line 
within the catch block (after line 226).
04/24/2011 01:19:39 AM steven (at) tkfast (dot) com Comment #20 Reply to this comment
I made the change to turba/lib/Driver.php and that fixed the touchdown 
so it has synced contacts and calendars now.

That did it.

Does not work with Android 2.3 Mail (exchange) by itself I had to use 
touchdown as the syncing never started it authenticates, but never 
starts to download contacts or calendar.

I'm not sure where to make the change on the   
framework/ActiveSync/lib/Horde/ActiveSync/State/History.php
To give you more error logging.


04/24/2011 01:00:40 AM Michael Rubinsky Taken from Michael J Rubinsky <mrubinsk@horde.org>
Assigned to Michael Rubinsky
 
04/24/2011 12:46:35 AM Michael Rubinsky Comment #19 Reply to this comment
...and to the original poster. According to your logs, your devices 
sync state is not being properly saved to the database. I've added 
some additional logging (see last ticket entry for the commit info). 
Can you try again, and post both the sync log and the horde log?
04/24/2011 12:44:42 AM Git Commit Comment #18 Reply to this comment
Changes have been made in Git for this ticket:

log this exception at the ERR level.
Hopefully will help track down original report for Bug: 9837

  1 files changed, 1 insertions(+), 0 deletions(-)
http://git.horde.org/horde-git/-/commit/9e07157f62a9aeb1cbdfe3d5a4be81c99f107367
04/24/2011 12:32:25 AM Michael Rubinsky Comment #17 Reply to this comment
Touchdown Logs do not sync either.  Here is the Logs from the Phone 
Touchdown Program.   Acts like its doing more stuff on the horde 
logs which I have attached some of them.
This latest sync log contains errors related to a date field in Turba, 
like the birthday or anniversary fields. It looks like you might have 
broken date values in some of your contacts.

Regardless, an issue with something like this should not break the 
entire sync session, so I've committed a fix that should take care of 
that. Can you see if your issue is resolved by this latest commit?
04/24/2011 12:30:23 AM Git Commit Comment #16 Reply to this comment
Changes have been made in Git for this ticket:

Don't let a broken date value totally break activesync session.
Possibly fixes one part of Bug: 9837

  1 files changed, 6 insertions(+), 2 deletions(-)
http://git.horde.org/horde-git/-/commit/9f75c9b12358ec8bf6d3e970709b68115a846811
04/22/2011 07:33:55 PM steven (at) tkfast (dot) com Comment #15 Reply to this comment
Here are the versions of Android the Phones are running

HTC Evo is Running
Android 2.2
FreshEvo-3.5.0.1 Rom

HTC Hero is Running
Android 2.1
Fresh Rom
04/22/2011 07:09:46 PM steven (at) tkfast (dot) com Comment #14
New Attachment: hordelog.txt Download
Reply to this comment
Touchdown Logs do not sync either.  Here is the Logs from the Phone 
Touchdown Program.   Acts like its doing more stuff on the horde logs 
which I have attached some of them.

Version : 6.4.0002
------------------------------
Device info:
sprint
supersonic
3.70.651.1
FRF91
PC36100
htc_supersonic
------------------------------
Configuration
UserID:steven
Domain:
Server:webmail.xxxxxx.com
ActiveSync Server:webmail.xxxxx.com
Class :com.nitrodesk.activesync.ActiveSyncServiceProvider25
SSL:false
Max Days:3
Max Calendar History code:4
Options:33563469
Poll:60
ISA Flags:destination=Z2F&flags=0
Uses ISA:false
Email:steven@xxxxxxx.com
MaxDownload Size:0
Enable HTML:true
AS ProtocolVersion :25
Version String:Versions:Apache/2.2.14 (Ubuntu),1.0,2.0,2.1,2.5
------------------------------

Provisioning Requirements :
AllowStorageCard :true
DeviceEncryptionEnabled :false
RequireDeviceEncryption :false
RequireStorageCardEncryption :false
RequireEncryptedSMIMEMessages :false
RequireEncryptionSMIMEAlgorithm :false
RequireSignedSMIMEAlgorithm :false
RequireSignedSMIMEMessages :false
AllowHTMLEmail :true
------------------------------
Enabled Folders :3
------------------------------
Folder Name : Tasks
Folder ID : Tasks
ActiveSync ID : Tasks
------------------------------
Folder Name : Contacts
Folder ID : Contacts
ActiveSync ID : Contacts
------------------------------
Folder Name : Calendar
Folder ID : Calendar
ActiveSync ID : Calendar
------------------------------
Messages :0
Contacts :0
Appointments :1
Notes :0
------------------------------
BLOBS to be deleted :0
------------------------------
QUEUED/FAILED Messages :0
------------------------------
DB Still allocated for thread :main:1
DB Still allocated for thread :Thread-141:141
DB Still allocated for thread :Thread-37:37
DB Still allocated for thread :Thread-52:52
DB Still allocated for thread :Thread-80:80
---------------
Checking System
---------------
Total Memory : 7086048
Free Memory : 1702064
Max Memory : 25165824
---------------
Checking Database
---------------
File Exists : true
File location : /data/data/com.nitrodesk.nitroid/databases/windroid.db
File Size : 75776
Free Space : 235052Kb
File Exists : true
File location : /data/data/com.nitrodesk.nitroid/databases/blobs.db
File Size : 13312
Free Space : 235052Kb
DB was opened
Version : 60040002
Max Size: 1099511626752
Page Size: 1024
---------------
Integrity Check
---------------
ok
---------------


22 Apr 12:31pm:[1]:Database file : 
/data/data/com.nitrodesk.nitroid/databases/windroid.db : does not 
exist now!
22 Apr 12:31pm:[1]:-------------------  BEGIN STACK TRACE
22 Apr 12:31pm:[1]:WHY : Database tables are being created!
22 Apr 12:31pm:[1]:dalvik.system.VMStack.getThreadStackTrace(Native Method)
22 Apr 12:31pm:[1]:java.lang.Thread.getStackTrace(Thread.java:794)
22 Apr 
12:31pm:[1]:com.nitrodesk.nitroid.helpers.StoopidHelpers.logStack(StoopidHelpers.java:457)
22 Apr 
12:31pm:[1]:com.nitrodesk.nitroid.helpers.StoopidHelpers.emergencyLogStack(StoopidHelpers.java:489)
22 Apr 
12:31pm:[1]:com.nitrodesk.libraries.data.DBHelpers.onCreate(DBHelpers.java:115)
22 Apr 
12:31pm:[1]:android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:106)
22 Apr 
12:31pm:[1]:com.nitrodesk.servicemanager.BaseServiceProvider.getDatabase(BaseServiceProvider.java:262)
22 Apr 
12:31pm:[1]:com.nitrodesk.servicemanager.BaseServiceProvider.getAppDatabase(BaseServiceProvider.java:184)
22 Apr 
12:31pm:[1]:com.nitrodesk.data.appobjects.SecurityOverride.getMasterInfo(SecurityOverride.java:98)
22 Apr 
12:31pm:[1]:com.nitrodesk.data.appobjects.SecurityOverride.getOverrideInfo(SecurityOverride.java:124)
22 Apr 
12:31pm:[1]:com.nitrodesk.data.appobjects.PolicyManager.polDevicePasswordEnabled(PolicyManager.java:138)
22 Apr 
12:31pm:[1]:com.nitrodesk.daemon.PINLockSvc.setPINAlarm(PINLockSvc.java:113)
22 Apr 12:31pm:[1]:com.nitrodesk.nitroid.MainApp.onCreate(MainApp.java:129)
22 Apr 
12:31pm:[1]:android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:979)
22 Apr 
12:31pm:[1]:android.app.ActivityThread.handleBindApplication(ActivityThread.java:4498)
22 Apr 
12:31pm:[1]:android.app.ActivityThread.access$3000(ActivityThread.java:135)
22 Apr 
12:31pm:[1]:android.app.ActivityThread$H.handleMessage(ActivityThread.java:2181)
22 Apr 12:31pm:[1]:android.os.Handler.dispatchMessage(Handler.java:99)
22 Apr 12:31pm:[1]:android.os.Looper.loop(Looper.java:144)
22 Apr 12:31pm:[1]:android.app.ActivityThread.main(ActivityThread.java:4937)
22 Apr 12:31pm:[1]:java.lang.reflect.Method.invokeNative(Native Method)
22 Apr 12:31pm:[1]:java.lang.reflect.Method.invoke(Method.java:521)
22 Apr 
12:31pm:[1]:com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
22 Apr 
12:31pm:[1]:com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
22 Apr 12:31pm:[1]:dalvik.system.NativeStart.main(Native Method)
22 Apr 12:31pm:[1]:-------------------  END STACK TRACE
22 Apr 12:33pm:[15]:Database file : 
/data/data/com.nitrodesk.nitroid/databases/windroid.db : does not 
exist now!
22 Apr 12:33pm:[15]:-------------------  BEGIN STACK TRACE
22 Apr 12:33pm:[15]:WHY : Database tables are being created!
22 Apr 12:33pm:[15]:dalvik.system.VMStack.getThreadStackTrace(Native Method)
22 Apr 12:33pm:[15]:java.lang.Thread.getStackTrace(Thread.java:794)
22 Apr 
12:33pm:[15]:com.nitrodesk.nitroid.helpers.StoopidHelpers.logStack(StoopidHelpers.java:457)
22 Apr 
12:33pm:[15]:com.nitrodesk.nitroid.helpers.StoopidHelpers.emergencyLogStack(StoopidHelpers.java:489)
22 Apr 
12:33pm:[15]:com.nitrodesk.libraries.data.DBHelpers.onCreate(DBHelpers.java:115)
22 Apr 
12:33pm:[15]:android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:106)
22 Apr 
12:33pm:[15]:com.nitrodesk.servicemanager.BaseServiceProvider.getDatabase(BaseServiceProvider.java:262)
22 Apr 
12:33pm:[15]:com.nitrodesk.servicemanager.BaseServiceProvider.getDatabase(BaseServiceProvider.java:346)
22 Apr 
12:33pm:[15]:com.nitrodesk.servicemanager.BaseServiceProvider.getDatabase(BaseServiceProvider.java:188)
22 Apr 
12:33pm:[15]:com.nitrodesk.nitroid.settings.ConfigWizard.doEZConfig(ConfigWizard.java:839)
22 Apr 
12:33pm:[15]:com.nitrodesk.nitroid.settings.ConfigWizard.doEZConfig(ConfigWizard.java:675)
22 Apr 
12:33pm:[15]:com.nitrodesk.nitroid.settings.ConfigWizard$9.run(ConfigWizard.java:610)
22 Apr 12:33pm:[15]:-------------------  END STACK TRACE
22 Apr 12:34pm:[30]:Unable to acquire Sync Lock. Aborting Sync, 
isUpdating=false
22 Apr 12:36pm:[45]:Unable to acquire Sync Lock. Aborting Sync, 
isUpdating=false
22 Apr 12:45pm:[58]:Unable to acquire Sync Lock. Aborting Sync, 
isUpdating=false
22 Apr 1:06pm:[111]:Unable to acquire Sync Lock. Aborting Sync, 
isUpdating=true
22 Apr 1:15pm:[121]:Unable to acquire Sync Lock. Aborting Sync, 
isUpdating=false

------SYNC LOG------
LOG not found : /data/data/com.nitrodesk.nitroid/sync.log (No such 
file or directory)
############# ANR LOG:

04/22/2011 04:59:47 PM Michael Rubinsky Comment #13 Reply to this comment
I have tried to use two Phone HTC Hero and HTC Evo
Is it possible for you to try using the TouchDown client? There is a 
free 30 day trial in the Marketplace. This will rule out issues with 
the code/server setup.

This is probably a different issue than OP since he reported only 
calendar is inop.  To the OP: any feedback on my last questions to you ?
htcheroc | Android-EAS/0.1Fri, 22 Apr 2011 11:15:39 -0500    0     
Not Provisioned    HTCAnd44faee32

htcsupersonic | Android-EAS/2.0Fri, 22 Apr 2011 11:22:15 -0500    0   
   Not Provisioned    HTCAnde30ed845

Just never starts to Download the Contacts or calendars on either device.
04/22/2011 04:28:17 PM steven (at) tkfast (dot) com Comment #12 Reply to this comment
I have tried to use two Phone HTC Hero and HTC Evo

htcheroc | Android-EAS/0.1Fri, 22 Apr 2011 11:15:39 -0500    0    Not 
Provisioned    HTCAnd44faee32

htcsupersonic | Android-EAS/2.0Fri, 22 Apr 2011 11:22:15 -0500    0     
Not Provisioned    HTCAnde30ed845

Just never starts to Download the Contacts or calendars on either device.

04/22/2011 04:01:25 PM Michael Rubinsky Comment #11 Reply to this comment
Log looks normal at first glance, other than the fact that the client 
just requests the initial folder sync over and over.
Works fine for me on all my test devices, what device is the OP using? 
Maybe device specific issue?
04/22/2011 03:42:52 PM steven (at) tkfast (dot) com Comment #10
New Attachment: horde.log Download
Reply to this comment
I'm experiencing the exact same problem.  The phone does not downlaod 
any of the Contacts or Calendar.

I have updated to 3.01 and still have the same problem.

When I add the account to the Android Evo Phone

attached
horde.log
Is the OP still seeing this? I cannot reproduce, and provided logs 
all look normal.
04/21/2011 02:09:16 PM Michael Rubinsky Comment #9 Reply to this comment
Is the OP still seeing this? I cannot reproduce, and provided logs all 
look normal.
04/11/2011 04:16:13 PM Michael Rubinsky Assigned to Michael J Rubinsky <mrubinsk@horde.org>
 
04/11/2011 04:12:34 PM Michael Rubinsky Comment #8 Reply to this comment
Thanks. Will review when I'm back in front of my computer.
Log looks normal, though it only shows the conversation involved in 
the initial folder sync. There is no request for any of the actual data.
04/09/2011 01:45:42 PM Michael Rubinsky Comment #7 Reply to this comment
I removed the active-sync devices on horde. (two entries were 
listed) and the active sync account on the device was deleted as well.
I attached the log file after creating a new account on the smartphone.
Thanks. Will review when I'm back in front of my computer.
Is it right to have two devices in the horde activesync devicelist ? 
(one for contacts and one for calendar?)
Not normally, though it depends on the client. Each device represents 
a different device/client. What are the client ids or sync keys for 
the two devices?
both were marked as "not linked"...whats does it mean?
It means they are not provisioned, so security policies cannot be 
enforced by the server and devices cannot be remote wiped. This is 
normal for most android devices, as they don't natively support this.



04/08/2011 07:27:35 PM ulli_um (at) arcor (dot) de Comment #6
New Attachment: horde_activesync[1].log Download
Reply to this comment
I removed the active-sync devices on horde. (two entries were listed) 
and the active sync account on the device was deleted as well.
I attached the log file after creating a new account on the smartphone.

Is it right to have two devices in the horde activesync devicelist ? 
(one for contacts and one for calendar?)
both were marked as "not linked"...whats does it mean?
04/08/2011 04:05:36 AM Michael Rubinsky Comment #5 Reply to this comment
Sorry, I should have been more clear. Please post a log of the 
*initial* sync. Either remove the account from the device and re-enter 
the information, or use ActiveSync prefs to remove the device binding 
(which will force a resync).

The posted log doesn't contain the commands I need to see about what 
folders the device wants.

Thanks.
04/07/2011 08:13:36 PM ulli (at) da (dot) de Comment #4
New Attachment: horde_activesync.log Download
Reply to this comment
enclosed you will find a log
04/07/2011 08:12:33 PM ulli_um (at) arcor (dot) de Comment #3 Reply to this comment
enclosed you will find a log
04/07/2011 07:36:01 PM Michael Rubinsky Comment #2
State ⇒ Feedback
Priority ⇒ 1. Low
Reply to this comment
Calendar sync works fine on Android...

If the contacts sync ok, as you stated they do, then all the 
configuration you need to do with horde should be ok.

I assume you selected to sync the calendar on the android client (in 
the accounts and sync prefs)?

For further help, you should provide a log of the sync conversation. 
See http://wiki.horde.org/ActiveSync for how to get this.
04/07/2011 07:28:31 PM ulli_um (at) arcor (dot) de Comment #1
Priority ⇒ 2. Medium
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Queue ⇒ Synchronization
Type ⇒ Bug
Summary ⇒ kronolith ActiveSync
Reply to this comment
I am trying to sync the calendar and contacts on my android 2.2 
smartphone with horde4 (activesync). The contact sync works very well 
but the calender does not. After starting the sync on the phone I do 
not get any errors. On the phone I do not see the category activesync 
in the calendar function. No calender entrys were synced in no 
direction.
Do I need to configurate horde to get the sync working?

Saved Queries