-
-
Save arubdesu/1ed5afabd258f616a791 to your computer and use it in GitHub Desktop.
traceback when attempting POST to purported policy creation url
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(same 409 error when using previous customizeAndPostXMLtoAPI function w/ appropriate policy_id value, current state of JSSImporter in repo has the following error:) | |
File "/usr/local/bin/autopkg", line 1212, in <module> | |
sys.exit(main(sys.argv)) | |
File "/usr/local/bin/autopkg", line 1206, in main | |
exit(subcommands[verb]['function'](argv)) | |
File "/usr/local/bin/autopkg", line 1034, in run_recipes | |
autopackager.process(recipe) | |
File "/Library/AutoPkg/autopkglib/__init__.py", line 375, in process | |
self.env = processor.process() | |
File "/Library/AutoPkg/autopkglib/__init__.py", line 211, in process | |
self.main() | |
File "/Library/AutoPkg/autopkglib/JSSImporter.py", line 240, in main | |
self.customizeAndPostPolicy(repoUrl, apiUrl, policy_id, replace_dict, template_string, base64string) | |
File "/Library/AutoPkg/autopkglib/JSSImporter.py", line 159, in customizeAndPostPolicy | |
submitResult = urllib2.urlopen(submitRequest) | |
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 126, in urlopen | |
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 400, in open | |
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 513, in http_response | |
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 438, in error | |
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 372, in _call_chain | |
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 521, in http_error_default | |
urllib2.HTTPError: HTTP Error 409: Conflict |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment