scripts icon indicating copy to clipboard operation
scripts copied to clipboard

AttributeError with Munki 3.3.0.3515

Open delbertcole opened this issue 6 years ago • 2 comments

Script was perviously working under Munki 2. Now I receive the following error when trying to run against my latest Munki instance:

Traceback (most recent call last): File "munkiimport_logic_audio.py", line 205, in main() File "munkiimport_logic_audio.py", line 147, in main munkiimport.repoAvailable = munkiimport.repo_available AttributeError: 'module' object has no attribute 'repo_available'

Is there any plan to resolve this issue? Can you recommend a work-a-around?

Thank you for your time, DC

delbertcole avatar Aug 21 '18 05:08 delbertcole

I currently have no plans to resolve this error however I would accept a pull request to update the code to support munki 3.

As a work around you can install the munki 2 code base and then run this script.

clburlison avatar Aug 21 '18 10:08 clburlison

Thank you. Your work around solves my problem.

Take care, DC

delbertcole avatar Aug 22 '18 00:08 delbertcole