[New-bugs-announce] [issue41491] plistlib can't load macOS BigSur system LaunchAgent

Wesley Whetstone report at bugs.python.org
Wed Aug 5 18:16:19 EDT 2020


New submission from Wesley Whetstone <jckwhet at gmail.com>:

When attempting to load the new LaunchAgent at `/System/Library/LaunchAgents/com.apple.cvmsCompAgent3600_arm64.plist` plistlib Raises a ValueError of 

  File "/opt/salt/lib/python3.7/plistlib.py", line 272, in handle_end_element
    handler()
  File "/opt/salt/lib/python3.7/plistlib.py", line 332, in end_integer
    self.add_object(int(self.get_data()))
ValueError: invalid literal for int() with base 10: '0x0100000c'

on

	<array>
		<integer>0x0100000c</integer>
	</array>

Technically this violates the spec at http://www.apple.com/DTDs/PropertyList-1.0.dtd. Figured it was worth reporting.

Full Plist is attached.

----------
files: com.apple.cvmsCompAgent_arm64.plist
messages: 374908
nosy: jckwhet
priority: normal
severity: normal
status: open
title: plistlib can't load macOS BigSur system LaunchAgent
Added file: https://bugs.python.org/file49371/com.apple.cvmsCompAgent_arm64.plist

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41491>
_______________________________________


More information about the New-bugs-announce mailing list