pyNotificationCenter icon indicating copy to clipboard operation
pyNotificationCenter copied to clipboard

Class 'OC_PythonDictionary' disallows secure coding.

Open willwade opened this issue 7 years ago • 0 comments

Theres a problem with this and the example in the readme on 10.13

You get:

Traceback (most recent call last):
  File "test.py", line 3, in <module>
    pyNotificationCenter.notify("Test message", "Subtitle", "Show instantly", sound=True)
  File "pyNotificationCenter.py", line 22, in notify
    notification.setUserInfo_(userInfo)
objc.error: NSInvalidUnarchiveOperationException - Class 'OC_PythonDictionary' disallows secure coding. It must return YES from supportsSecureCoding.

willwade avatar Aug 01 '18 22:08 willwade