Skip to content

[P1] Blocking issue for qgroundcontrol project. #24

@IvDinten

Description

@IvDinten
Traceback (most recent call last):
  File "C:\Users\Imara\Documents\GitHub\CPS_SPA_Detection_Tool\dt\main.py", line 56, in <module>
    main()
  File "C:\Users\Imara\Documents\GitHub\CPS_SPA_Detection_Tool\dt\main.py", line 26, in main
    search.main(patterns.MAGICAL_WAITING_NUMBER)
  File "C:\Users\Imara\Documents\GitHub\CPS_SPA_Detection_Tool\dt\search.py", line 267, in main
    initial_search()
  File "C:\Users\Imara\Documents\GitHub\CPS_SPA_Detection_Tool\dt\search.py", line 87, in initial_search
    count, results = process_file(relative_filename, file_encoding)
  File "C:\Users\Imara\Documents\GitHub\CPS_SPA_Detection_Tool\dt\search.py", line 108, in process_file
    return ast_cpp_antlr.parse_file(abs_path, encoding, current_project.pattern_name)
  File "C:\Users\Imara\Documents\GitHub\CPS_SPA_Detection_Tool\dt\ast_cpp_antlr.py", line 58, in parse_file
    result_interest, number_results = translation_unit.find_identifier(term)
  File "C:\Users\Imara\Documents\GitHub\CPS_SPA_Detection_Tool\dt\ast_impl\cpp\types.py", line 18, in find_identifier
    for identifier in func_body.find_identifier(id_name):
AttributeError: 'tuple' object has no attribute 'find_identifier'

Process finished with exit code 1

Metadata

Metadata

Assignees

Labels

P1Highest prioritybugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions