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
AttributeError: '__NSCFString' object has no attribute 'get' #323
Comments
What version of autopkg? You may also want to post on autopkg-discuss. As for JSS Importer issues, https://github.com/sheagcraig/JSSImporter/issues is probably a better place to look/report -- the JSSImporter is not part of the core AutoPkg project and the core AutoPkg maintainers don't use Casper/JAMFPro. |
That's a good call, will do. I have edited the original post to exclude that. Additionally, I should have posted in: https://github.com/lindegroup/autopkgr Just noticed. However, this would be the latest release of AutoPkg (1.0.0) but I will post over there. |
The AutoPkgr folk are going to ask you to test via the command line.
etc. |
For what it's worth, I'm getting the same error when running a test recipe list:
|
And I get no such error. |
That @homebysix did! Apologies about the cross-post issue. I had originally meant to put it over on AutoPkgr.
|
Perhaps share a recipe_list.txt file generated by AutoPkgr? (because 1.0 now supports recipe_lists in plist format) |
I'm not going to say AutoPkgr isn't involved, but it looks that way at first glance. |
Looks like it works fine if given a plist:
|
I'm sure it's the support for plist recipe lists. Too bad there wasn't a lengthy testing period where people might have tested this and found and reported issues before official release. :-( But again, 1.0 works fine here with plain text recipe lists that look like this:
|
I can confirm what @homebysix is saying. With the recipe list in a plist format, it seems to like that. |
Can you please share 1) your recipe list that's causing the issue, and 2) the output of a run of |
The output above is verbose. @timsutton This happens on any recipe list. But here a sample that it happens with: |
As it turns out, it doesn't happen on any recipe list. It happens only with version 1.0.0 on plain-text recipe lists containing a single item. Using recipe lists that contain a single item is not common for non-AutoPkgr users, as it's more work and more difficult than just running the single recipe directly. A fix has been pushed to GitHub. 1a912bb |
@gregneagle Ah, okay, that's good to know. I meant any single one that I have tried. Example: this happens when I try to run a single recipe directly. If i was say, following this guide: https://github.com/homebysix/auto-update-magic |
@TheVakman When this fix is included in an official release, AutoPkgr users will be able to update with one click. Until then, I'd recommend "checking" more than one recipe in AutoPkgr for now. |
@homebysix Sounds good! |
AutoPkg 1.0.1 just released with this fix - AutoPkgr should now show this as an available update. |
Hello, I just set this up but I am having an issue with any recipe that I try. Is there a particular version of Python that I should have installed?
According to Console/System Logs, this is the error:
This issue occurs on both Mac OS X 10.11 and macOS 10.12.
Thanks!
The text was updated successfully, but these errors were encountered: