almenscorner / Munki-Manifest-Generator

Tool to create and update Munki manifests for devices managed in Intune
MIT License
12 stars 1 forks source link

Error with a module #6

Closed LorealEndPoint closed 11 months ago

LorealEndPoint commented 11 months ago

Hello,

after an update of the version on Azure Automation it seems that there is a call of a module that does not work. here is the error on the Runbook.

Traceback (most recent call last): File "/usr/src/tmp/8a7f0eb2-4efc-470f-bf33-b3ca382f769e/runbooks/MunkiManifest1.py", line 2, in from munki_manifest_generator import main as mmg File "C:\userenv\lib\site-packages\munki_manifest_generator\main.py", line 17, in from munki_manifest_generator.graph.make_api_request import make_api_request File "C:\userenv\lib\site-packages\munki_manifest_generator\graph\make_api_request.py", line 10, in from retrying import retry ModuleNotFoundError: No module named 'retrying'

almenscorner commented 11 months ago

You need to import the python package to your Automation account: https://pypi.org/project/retrying/

LorealEndPoint commented 11 months ago

Thanks for your prompt answer. by adding the pkg it is working. i've another error but will find it. could be interesting to add that pkg in your doc as mandatory