lindegroup / autopkgr

AutoPkgr is a free Mac app that makes it easy to install and configure AutoPkg.
http://www.lindegroup.com/autopkgr
Apache License 2.0
532 stars 51 forks source link

A Python exception occurred during the execution of autopkg, see the system log for more details. [ERROR] argument of type 'NoneType' is not iterable #592

Closed biggievan closed 7 years ago

biggievan commented 7 years ago

I am getting the following error message: "A Python exception occurred during the execution of autopkg, see the system log for more details.

[ERROR] argument of type 'NoneType' is not iterable"

I have had this issue before, but I can't remember the fix. It usually happens a day after I install Autopkgr for some reason.

homebysix commented 7 years ago

Have you confirmed whether this error occurs when you run your recipes in Terminal?

/usr/bin/python /usr/local/bin/autopkg run --verbose --recipe-list ~/Library/Application\ Support/AutoPkgr/recipe_list.txt
v3rsusM0d3 commented 7 years ago

Hi guys

Same issue here.

@homebysix, I can confirm this error occurs when I run the recipes in Terminal.

And I get several messages like the one below when I run recipes from the AutoPkgr GUI

_WARNING: com.github.valdore86.munki.KeePassX is missing trust info and FAIL_RECIPES_WITHOUT_TRUSTINFO is not set. Proceeding...

And then the below at the end of "Error running recipes window"

"A Python exception occurred during the execution of autopkg, see the system log for more details. [ERROR] argument of type 'NoneType' is not iterable"

Ps: I have been a Mac sysadmin for only a few months and still learning all these stuff.

Any help appreciated.

Thanks

homebysix commented 7 years ago

The "NoneType" error is most likely this one, and will be fixed in the next release of AutoPkg.

The "missing trust info" error is unrelated. Read the TL;DR section at the top of this page.

@v3rsusM0d3 — Welcome to the MacAdmin world! Join us on Slack, if you haven't already: macadmins.org.

biggievan commented 7 years ago

Thanks Elliot!

On Wednesday, July 26, 2017, 8:33:55 AM PDT, Elliot Jordan notifications@github.com wrote:

The "NoneType" error is most likely this one, and will be fixed in the next release of AutoPkg.

The "missing trust info" error is unrelated. Read the TL;DR section at the top of this page.

@v3rsusM0d3 — Welcome to the MacAdmin world! Join us on Slack, if you haven't already: macadmins.org.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.