Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Results 1 to 4 of 4
  1. #1
    Lambourg Guest

    Default OXtender for Mac 1.2 issues

    Hello,

    I tried to setup the OXtender for Mac on my Snow Leopard laptop and didn't managed to use it.

    After entering the server (tried many combinations - IP address, 'myserver', 'https://myserver/ox6/'), and my username/passwork, and then activating the extender, I can see a python icon throttling for about 10 seconds, then disappear

    The OXTender reports the following:

    30/09/09 20:34:07 com.openexchange.MacSync[254] /Library/PreferencePanes/OXtender.prefPane/Contents/Resources/Programs/OXSync/pytz/tzinfo.py:5: DeprecationWarning: the sets module is deprecated
    30/09/09 20:34:07 com.openexchange.MacSync[254] from sets import Set
    30/09/09 20:34:07 com.openexchange.MacSync[254] [2009-09-30 20:34] INFO Looking for updates
    30/09/09 20:34:07 com.openexchange.MacSync[254] [2009-09-30 20:34:07,600] INFO Looking for updates
    30/09/09 20:34:07 com.openexchange.MacSync[254] [2009-09-30 20:34] INFO Registering or updating sync client
    30/09/09 20:34:07 com.openexchange.MacSync[254] [2009-09-30 20:34:07,714] INFO Registering or updating sync client
    30/09/09 20:34:08 SyncServer[255] [110ed0] |Server|Error| unhandled exception decodeRetainedObject: class "OC_PythonArray" not loaded
    30/09/09 20:34:08 iCalExternalSync[256] [eba0] |ISyncSession|Warning| com.apple.iCal: setting pending cancel - session cancelled by server: Sync was cancelled by shutdown.
    30/09/09 20:34:08 com.apple.syncservices.SyncServer[255] 2009-09-30 20:34:08.535 iCalExternalSync[256:903] [eba0] |ISyncSession|Warning| com.apple.iCal: setting pending cancel - session cancelled by server: Sync was cancelled by shutdown.
    30/09/09 20:34:08 com.apple.launchd.peruser.501[152] (com.apple.syncservices.SyncServer) Throttling respawn: Will start in 10 seconds
    30/09/09 20:34:18 SyncServer[260] [110ed0] |Server|Error| unhandled exception decodeRetainedObject: class "OC_PythonArray" not loaded
    30/09/09 20:34:19 /System/Library/CoreServices/CCacheServer.app/Contents/MacOS/CCacheServer[183] No valid tickets, timing out
    30/09/09 20:34:19 com.apple.launchd.peruser.501[152] (com.apple.syncservices.SyncServer) Throttling respawn: Will start in 9 seconds
    30/09/09 20:34:28 SyncServer[261] [110ed0] |Server|Error| unhandled exception decodeRetainedObject: class "OC_PythonArray" not loaded
    30/09/09 20:34:30 python[254] [2af9b0] |ISyncManager|Warning| connection is gone, exhausted retry count, giving up
    30/09/09 20:34:30 python[254] [2af9b0] |ISyncSession|Warning| com.openexchange.MacSync: can't start session, received exception ISyncServerUnavailableException with reason Lost connection to the sync server: NSInvalidReceivePortException: connection went invalid while waiting for a reply ((null)). Reraising exception.
    30/09/09 20:34:30 com.apple.launchd.peruser.501[152] (com.apple.syncservices.SyncServer) Throttling respawn: Will start in 9 seconds
    30/09/09 20:34:30 com.openexchange.MacSync[254] Traceback (most recent call last):
    30/09/09 20:34:30 com.openexchange.MacSync[254] File "/Library/PreferencePanes/OXtender.prefPane/Contents/Resources/Programs/OXSync/run.py", line 5, in <module>
    30/09/09 20:34:30 com.openexchange.MacSync[254] import OXSyncer
    30/09/09 20:34:30 com.openexchange.MacSync[254] File "/Library/PreferencePanes/OXtender.prefPane/Contents/Resources/Programs/OXSync/OXSyncer.py", line 102, in <module>
    30/09/09 20:34:30 com.openexchange.MacSync[254] syncer.activate()
    30/09/09 20:34:30 com.openexchange.MacSync[254] File "/Library/PreferencePanes/OXtender.prefPane/Contents/Resources/Programs/OXSync/oxsyncer/oxsync.py", line 77, in activate
    30/09/09 20:34:30 com.openexchange.MacSync[254] calendarId = self.createDefaultCalendar()
    30/09/09 20:34:30 com.openexchange.MacSync[254] File "/Library/PreferencePanes/OXtender.prefPane/Contents/Resources/Programs/OXSync/oxsyncer/oxsync.py", line 389, in createDefaultCalendar
    30/09/09 20:34:30 com.openexchange.MacSync[254] session = ISyncSession.beginSessionWithClient_entityNames_be foreDate_(client, [u"com.apple.calendars.Calendar"], NSDate.distantFuture())
    30/09/09 20:34:30 com.openexchange.MacSync[254] objc.error: ISyncServerUnavailableException - Lost connection to the sync server: NSInvalidReceivePortException: connection went invalid while waiting for a reply ((null))
    30/09/09 20:34:30 com.apple.launchd.peruser.501[152] (com.openexchange.MacSync[254]) Exited with exit code: 1


    Does anyone have an idea of what can be wrong ?

  2. #2
    Lambourg Guest

    Unhappy More on this subject

    Edit: Forget the following, I was going further just because the plugin was waiting for iSync. It MUST be enabled. The exception is raised during activation (registration) of the plugin to the iSync server. Seems to be related to a call to 'createDefaultCalendar'


    Previous incorrect post:
    For people interested, I have started debugging the issue.

    One major point that allowed me to go further concerns iSync activation. In my case, iSync was activated (This utility allows synchronisation between the mac and devices such as smart phones). Having iSync activated made the OXtender failing.

    So now I can go further, but still no luck: it just looks like there are cases where in the oxsync.py file (yes, I know, I *really* started debugging things), the python class OXSync has no attribute 'notifier'. This would indicate that this class is used before being activated ...

    Looking deeper to make this work, but it really looks like this OXtender is just not useable as is :-(
    Last edited by Lambourg; 10-01-2009 at 12:42 PM.

  3. #3
    Lambourg Guest

    Smile OK, Found the bug !!!!!

    OK, I finally found the issue:

    In oxsync.py, function createDefaultCalendar, replace the line (near the end of this function):

    session = ISyncSession.beginSessionWithClient_entityNames_be foreDate_(client, [u"com.apple.calendars.Calendar"], NSDate.distantFuture())

    by

    session = ISyncSession.beginSessionWithClient_entityNames_be foreDate_(client, ARRAY([STRING("com.apple.calendars.Calendar")]), NSDate.distantFuture())

  4. #4
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

    Default

    Thanks for discovering this, could you please open a bug report at https://bugs.open-xchange.com/ and append this solution?

    Thanks a lot!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •