munkiadmin icon indicating copy to clipboard operation
munkiadmin copied to clipboard

Pkginfo files with rong values get ignored/not displayed, errors logged 'silently'

Open arubdesu opened this issue 4 years ago • 5 comments

Log is showing an error, it's not crashing, but Slack isn't visible to be modified/interacted with. I have the repo freshly checked out from git into /private/tmp because... I like to live dangerously. On refresh these messages are logged:

2021/06/22 09:13:44:424  Error: Caught exception while reading pkginfo SlackIntel-4.17.0.plist
2021/06/22 09:13:44:425  Error: Caught exception while reading pkginfo Slack-4.17.0.plist
2021/06/22 09:13:44:431  Error: Caught exception while reading pkginfo Slack-4.16.2.plist

arubdesu avatar Jun 22 '21 09:06 arubdesu

Probably something in unexpected format in those pkginfos. Can you publicly share any of these?

hjuutilainen avatar Jun 22 '21 10:06 hjuutilainen

Pardon I slid into your MacAdmins Slack DM's with a zip 😅

arubdesu avatar Jun 22 '21 16:06 arubdesu

As per convo 'offline', I was setting supported_architectures to a (single) string instead of an array containing strings (as per the wiki. Because bad at computers. 😅

arubdesu avatar Jun 23 '21 05:06 arubdesu