Skip to content

Crashes for wanghaichao0611/Vue-SpringCloud-Blog #45

Description

@bakhtos

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'

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions