-
Notifications
You must be signed in to change notification settings - Fork 112
Description
I get the following result on any call to assign_project_application_id:
File "assign_application_id_to_project.py", line 23, in <module> response = hub.assign_project_application_id(args.project_name, args.application_id, overwrite=args.overwrite) File "/usr/local/lib/python3.7/site-packages/blackduck/HubRestApi.py", line 1073, in assign_project_application_id existing_application_id, application_id_url = self.get_project_application_id(project_name) File "/usr/local/lib/python3.7/site-packages/blackduck/HubRestApi.py", line 1126, in get_project_application_id project_mapping_info = self.get_project_info(project_name, 'project-mappings') File "/usr/local/lib/python3.7/site-packages/blackduck/HubRestApi.py", line 1142, in get_project_info link = self.get_link(project, link_name) File "/usr/local/lib/python3.7/site-packages/blackduck/HubRestApi.py", line 211, in get_link if '_meta' in bd_rest_obj and 'links' in bd_rest_obj['_meta']: TypeError: argument of type 'NoneType' is not iterable
It appears that the 'links' field is empty, but I'm not clear on where that should be populated from, or the proper return value if that is in fact empty.
I'm running version 0.37, installed from pip.