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

Crashes for wanghaichao0611/Vue-SpringCloud-Blog #45

Open
bakhtos opened this issue Oct 21, 2024 · 0 comments
Open

Crashes for wanghaichao0611/Vue-SpringCloud-Blog #45

bakhtos opened this issue Oct 21, 2024 · 0 comments

Comments

@bakhtos
Copy link
Contributor

bakhtos commented Oct 21, 2024

Seems like some detectors write flow properties as list, others as set. This is best fixed by adopting classes to store everything

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 132, in DFD_extraction
    merge_duplicate_flows(information_flows)
  File "/Users/abakhtin22/Documents/TempNet/code2DFD/core/dfd_extraction.py", line 417, in merge_duplicate_flows
    flow_i[field] = flow_i.get(field, list()) + list(j_value)
                    ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for +: 'set' and 'list'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant