You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
atomic-operator run --techniques=all or atomic-operator run
Error as follows :
Traceback (most recent call last):
File "/usr/local/bin/atomic-operator", line 8, in <module>
sys.exit(main())
^^^^^^
File "/home/ubuntu/.local/lib/python3.12/site-packages/atomic_operator/__main__.py", line 6, in main
fire.Fire({
File "/home/ubuntu/.local/lib/python3.12/site-packages/fire/core.py", line 141, in Fire
component_trace = _Fire(component, args, parsed_flag_args, context, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.local/lib/python3.12/site-packages/fire/core.py", line 475, in _Fire
component, remaining_args = _CallAndUpdateTrace(
^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.local/lib/python3.12/site-packages/fire/core.py", line 691, in _CallAndUpdateTrace
component = fn(*varargs, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.local/lib/python3.12/site-packages/atomic_operator/atomic_operator.py", line 355, in run
self.__run_technique(item)
File "/home/ubuntu/.local/lib/python3.12/site-packages/atomic_operator/atomic_operator.py", line 106, in __run_technique
self._set_input_arguments(test, **kwargs)
File "/home/ubuntu/.local/lib/python3.12/site-packages/atomic_operator/base.py", line 167, in _set_input_arguments
if k in input.default:
^^^^^^^^^^^^^^^^^^
TypeError: argument of type 'NoneType' is not iterable
However , single test works fine .
atomic-operator run --techniques T1564.001 --input_arguments '{"project-id": "some_value", "another_key": "another value"}'
Desktop (please complete the following information):
OS: [e.g. iOS] : Ubuntu 24.0 LTS
The text was updated successfully, but these errors were encountered:
@Benjamin-Connelly I think the issue is fixed in the source version. You will run into a similar issue where it'll throw an error because of other types not being iterable. I threw together a fix for it and submited a PR for it.
Feel free to check out my fix and modify the code locally: Plensu@113a40d
Or you can install directly from my repo by doing the following: pip install git+https://github.com/plensu/atomic-operator.git#egg=atomic-operator
Describe the bug
Error while executing following
atomic-operator run --techniques=all or atomic-operator run
Error as follows :
However , single test works fine .
atomic-operator run --techniques T1564.001 --input_arguments '{"project-id": "some_value", "another_key": "another value"}'
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: