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
Traceback (most recent call last):
File "/Users/abakhtin22/Documents/TempNet/code2DFD/code2DFD.py", line 115, in <module>
cli_invocation()
File "/Users/abakhtin22/Documents/TempNet/code2DFD/code2DFD.py", line 111, in cli_invocation
perform_analysis()
File "/Users/abakhtin22/Documents/TempNet/code2DFD/core/dfd_extraction.py", line 74, in perform_analysis
codeable_models, traceability_content = DFD_extraction()
^^^^^^^^^^^^^^^^
File "/Users/abakhtin22/Documents/TempNet/code2DFD/core/dfd_extraction.py", line 89, in DFD_extraction
microservices = tech_sw.get_microservices(dfd)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/abakhtin22/Documents/TempNet/code2DFD/core/technology_switch.py", line 28, in get_microservices
dcm.set_microservices(dfd)
File "/Users/abakhtin22/Documents/TempNet/code2DFD/technology_specific_extractors/docker_compose/dcm_entry.py", line 36, in set_microservices
microservices_set, properties_dict = dcm_parser.extract_microservices(docker_compose_content, raw_files[0]["path"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/abakhtin22/Documents/TempNet/code2DFD/technology_specific_extractors/docker_compose/dcm_parser.py", line 66, in extract_microservices
file = yaml.load(file_content)
^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/abakhtin22/envs/code2DFD/lib/python3.12/site-packages/ruamel/yaml/main.py", line 451, in load
return constructor.get_single_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/abakhtin22/envs/code2DFD/lib/python3.12/site-packages/ruamel/yaml/constructor.py", line 116, in get_single_data
return self.construct_document(node)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/abakhtin22/envs/code2DFD/lib/python3.12/site-packages/ruamel/yaml/constructor.py", line 125, in construct_document
for _dummy in generator:
File "/Users/abakhtin22/envs/code2DFD/lib/python3.12/site-packages/ruamel/yaml/constructor.py", line 1476, in construct_yaml_map
self.construct_mapping(node, data, deep=True)
File "/Users/abakhtin22/envs/code2DFD/lib/python3.12/site-packages/ruamel/yaml/constructor.py", line 1365, in construct_mapping
value = self.construct_object(value_node, deep=deep)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/abakhtin22/envs/code2DFD/lib/python3.12/site-packages/ruamel/yaml/constructor.py", line 147, in construct_object
data = self.construct_non_recursive_object(node)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/abakhtin22/envs/code2DFD/lib/python3.12/site-packages/ruamel/yaml/constructor.py", line 188, in construct_non_recursive_object
for _dummy in generator:
File "/Users/abakhtin22/envs/code2DFD/lib/python3.12/site-packages/ruamel/yaml/constructor.py", line 1476, in construct_yaml_map
self.construct_mapping(node, data, deep=True)
File "/Users/abakhtin22/envs/code2DFD/lib/python3.12/site-packages/ruamel/yaml/constructor.py", line 1365, in construct_mapping
value = self.construct_object(value_node, deep=deep)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/abakhtin22/envs/code2DFD/lib/python3.12/site-packages/ruamel/yaml/constructor.py", line 147, in construct_object
data = self.construct_non_recursive_object(node)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/abakhtin22/envs/code2DFD/lib/python3.12/site-packages/ruamel/yaml/constructor.py", line 188, in construct_non_recursive_object
for _dummy in generator:
File "/Users/abakhtin22/envs/code2DFD/lib/python3.12/site-packages/ruamel/yaml/constructor.py", line 1476, in construct_yaml_map
self.construct_mapping(node, data, deep=True)
File "/Users/abakhtin22/envs/code2DFD/lib/python3.12/site-packages/ruamel/yaml/constructor.py", line 1366, in construct_mapping
if self.check_mapping_key(node, key_node, maptyp, key, value):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/abakhtin22/envs/code2DFD/lib/python3.12/site-packages/ruamel/yaml/constructor.py", line 278, in check_mapping_key
raise DuplicateKeyError(*args)
ruamel.yaml.constructor.DuplicateKeyError: while constructing a mapping
in "<unicode string>", line 6, column 5:
image: mysql:5
^ (line: 6)
found duplicate key "restart" with value "on-failure" (original value: "always")
in "<unicode string>", line 17, column 5:
restart: on-failure
^ (line: 17)
To suppress this check see:
http://yaml.readthedocs.io/en/latest/api.html#duplicate-keys
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: