Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracebacks with Ventura / M1 #3

Open
CBBuerger opened this issue Oct 26, 2022 · 2 comments
Open

Tracebacks with Ventura / M1 #3

CBBuerger opened this issue Oct 26, 2022 · 2 comments

Comments

@CBBuerger
Copy link

Running usage_stats
usage_stats Error: Traceback (most recent call last):
File "/usr/local/munkireport/scripts/usage_stats", line 197, in
main()
File "/usr/local/munkireport/scripts/usage_stats", line 188, in main
info = get_usage_metrics()
File "/usr/local/munkireport/scripts/usage_stats", line 12, in get_usage_metrics
plist = plistlib.readPlistFromString(output.rstrip(' \t\r\n\0'))
File "/Library/MunkiReport/Python.framework/Versions/2.7/lib/python2.7/plistlib.py", line 103, in readPlistFromString
return readPlist(StringIO(data))
File "/Library/MunkiReport/Python.framework/Versions/2.7/lib/python2.7/plistlib.py", line 78, in readPlist
rootObject = p.parse(pathOrFile)
File "/Library/MunkiReport/Python.framework/Versions/2.7/lib/python2.7/plistlib.py", line 406, in parse
parser.ParseFile(fileobj)
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 11680, column 33
WARNING: usage_stats return code: 1

@flammable
Copy link

Just to clarify - where are you seeing this message? When running /usr/local/munkireport/munkireport-runner manually?

I'm running Ventura on an Intel Mac and not seeing this output, so it might just be an Apple Silicon thing.

@CBBuerger
Copy link
Author

Hi
at the moment I'm seeing this on two intel macbooks running 13.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants