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

Errors on some devices #17

Open
ofirgalcon opened this issue Oct 21, 2024 · 0 comments
Open

Errors on some devices #17

ofirgalcon opened this issue Oct 21, 2024 · 0 comments

Comments

@ofirgalcon
Copy link

ofirgalcon commented Oct 21, 2024

softwareupdate Error: Traceback (most recent call last):
  File "/usr/local/munkireport/scripts/softwareupdate", line 450, in <module>
    main()
  File "/usr/local/munkireport/scripts/softwareupdate", line 434, in main
    result.update(get_ddm_info())
  File "/usr/local/munkireport/scripts/softwareupdate", line 306, in get_ddm_info
    if plist["SUCorePersistedStatePolicyFields"] and plist["SUCorePersistedStatePolicyFields"]["Declarations"]:
  File "/Library/ManagedFrameworks/Python/Python3.framework/Versions/3.10/lib/python3.10/site-packages/objc/_convenience_mapping.py", line 18, in __getitem__objectForKey_
    return container_unwrap(res, KeyError, key)
  File "/Library/ManagedFrameworks/Python/Python3.framework/Versions/3.10/lib/python3.10/site-packages/objc/_convenience.py", line 134, in container_unwrap
    raise exc_type(*exc_args)
KeyError: 'Declarations'

and

defaults read /private/var/db/softwareupdate/SoftwareUpdateDDMStatePersistence.plist SUCorePersistedStatePolicyFields
{
    SUCoreDDMDeclarationGlobalSettings =     {
        adminInstallRequired = 0;
        enableGlobalNotifications = 1;
        serializedKeys =         (
            "com.apple.RemoteManagement.SoftwareUpdateExtension.GlobalSettings/E44A9551-9090-4678-4459-23E431F57BAF:NEEzNDQyNkUtOEEzMi01NzJFLUJBREItWEIwQ0JCtUIz4DU1.N2U0Y2VlN2UtODI1YS01OWEzLTk3NWEtZDgwNTr1NjNjYvFi"
        );
    };
}
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

1 participant