Closed ftiff closed 7 years ago
Hey @ftiff. When running your generate script, does it do so with a python that has pyobjc available? /usr/bin/python will have it; but any virtualenv or other python2 that you have will not by default.
That being said, it's supposed to fall back to importing plistlib and trying to do a plutil -convert on the file and try reading it again.
Is your script catching exceptions and hiding any that may have been raised while it was trying to read the prefs?
To get this error, the parse_plist
code would have to have neither PyObjC nor success converting the plist from binary to xml1 and parsing using the stdlib plistlib.
Still an issue?
Got this error with latest release:
FYI I fixed this by converting the plist from binary to xml with
plutil -convert xml1 ~/Library/Preferences/com.github.sheagcraig.python-jss.plist