Skip to content
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: 'str' object has no attribute 'get' - invalid fields specification for Voltages #75

Open
ehaligow opened this issue Apr 16, 2024 · 0 comments
Assignees

Comments

@ehaligow
Copy link

intel@ubuntu:~/Redfish-Interop-Validator$ python3 RedfishInteropValidator.py -c config/example.ini OCPRackManagerController.v1_0_3.json >> validatorErr.txt
Traceback (most recent call last):
File "RedfishInteropValidator.py", line 10, in
status_code, lastResultsPage, exit_string = main()
File "/home/intel/Redfish-Interop-Validator/redfish_interop_validator/RedfishInteropValidator.py", line 225, in main
success, _, resultsNew, _, _ = validateURITree('/redfish/v1/', profile, 'ServiceRoot', expectedJson=jsonData)
File "/home/intel/Redfish-Interop-Validator/redfish_interop_validator/validateResource.py", line 338, in validateURITree
msgs = interop.validateComparisonAnyOfAllOf(profile_entry['PropertyRequirements'], resource_type)
File "/home/intel/Redfish-Interop-Validator/redfish_interop_validator/interop.py", line 98, in validateComparisonAnyOfAllOf
new_msgs = validateComparisonAnyOfAllOf(property_profile.get('PropertyRequirements'), '.'.join([property_path, key]))
File "/home/intel/Redfish-Interop-Validator/redfish_interop_validator/interop.py", line 48, in validateComparisonAnyOfAllOf
my_compare = property_profile.get('Comparison', 'AnyOf')
AttributeError: 'str' object has no attribute 'get'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants