Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-663

notifications do not fire on Sierra

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.1.914
    • Fix Version/s: None
    • Component/s: Local client

      Description

      Notifications do not fire on Sierra and the following appears in the log:

        File "/Users/constantinm/gitrepo/sharp-cpo-clients/nuxeo-drive/nuxeo-drive-client/nxdrive/wui/application.py", line 466, in _new_notification
          return notify(notification.get_title(), None, notification.get_description(), userInfo=userInfo)
        File "/Users/constantinm/gitrepo/sharp-cpo-clients/nuxeo-drive/nuxeo-drive-client/nxdrive/osi/darwin/pyNotificationCenter.py", line 48, in notify
          notification.setUserInfo_(userInfo)
      objc.error: NSInvalidUnarchiveOperationException - Class 'OC_PythonDictionary' has a superclass that supports secure coding, but 'OC_PythonDictionary' overrides -initWithCoder: and does not override +supportsSecureCoding. The class must implement +supportsSecureCoding and return YES to verify that its implementation of -initWithCoder: is secure coding compliant.
      

      A PR seems to have been submitted for this:
      https://bitbucket.org/ronaldoussoren/pyobjc/pull-requests/12/add-supportssecurecoding-to-things/diff

      Waiting for next objpyc release before integration into Drive client

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 5 minutes
                  5m