Skip to content

unable to Parse keywords and error messages. #27

@arjunvc

Description

@arjunvc

Traceback (most recent call last):
File "C:\Users\Arjun.Choyikkandy\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\Arjun.Choyikkandy\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "D:\sunday\d\DbBot-SQLAlchemy\dbbot\run.py", line 53, in
DbBot().run()
File "D:\sunday\d\DbBot-SQLAlchemy\dbbot\run.py", line 44, in run
self._parser.xml_to_db(xml_file, self._options.build_number, self._options.branch_repo)
File "D:\sunday\d\DbBot-SQLAlchemy\dbbot\reader\robot_results_parser.py", line 56, in xml_to_db
self._parse_suite(test_run.suite, test_run_id, suite_metadata)
File "D:\sunday\d\DbBot-SQLAlchemy\dbbot\reader\robot_results_parser.py", line 127, in _parse_suite
self._parse_suites(suite, test_run_id, suite_metadata, suite_id)
File "D:\sunday\d\DbBot-SQLAlchemy\dbbot\reader\robot_results_parser.py", line 147, in _parse_suites
[self._parse_suite(subsuite, test_run_id, suite_metadata, parent_suite_id) for subsuite in suite.suites]
File "D:\sunday\d\DbBot-SQLAlchemy\dbbot\reader\robot_results_parser.py", line 147, in
[self._parse_suite(subsuite, test_run_id, suite_metadata, parent_suite_id) for subsuite in suite.suites]
File "D:\sunday\d\DbBot-SQLAlchemy\dbbot\reader\robot_results_parser.py", line 132, in _parse_suite
self._parse_keywords(suite.keywords, test_run_id, suite_id, None)
File "D:\sunday\d\DbBot-SQLAlchemy\dbbot\reader\robot_results_parser.py", line 190, in _parse_keywords
[self._parse_keyword(keyword, test_run_id, suite_id, test_id, keyword_id) for keyword in keywords]
File "D:\sunday\d\DbBot-SQLAlchemy\dbbot\reader\robot_results_parser.py", line 190, in
[self._parse_keyword(keyword, test_run_id, suite_id, test_id, keyword_id) for keyword in keywords]
File "D:\sunday\d\DbBot-SQLAlchemy\dbbot\reader\robot_results_parser.py", line 219, in _parse_keyword
self._parse_keywords(keyword.keywords, test_run_id, None, None, keyword_id)
File "D:\sunday\d\DbBot-SQLAlchemy\dbbot\reader\robot_results_parser.py", line 190, in _parse_keywords
[self._parse_keyword(keyword, test_run_id, suite_id, test_id, keyword_id) for keyword in keywords]
File "D:\sunday\d\DbBot-SQLAlchemy\dbbot\reader\robot_results_parser.py", line 190, in
[self._parse_keyword(keyword, test_run_id, suite_id, test_id, keyword_id) for keyword in keywords]
File "D:\sunday\d\DbBot-SQLAlchemy\dbbot\reader\robot_results_parser.py", line 219, in _parse_keyword
self._parse_keywords(keyword.keywords, test_run_id, None, None, keyword_id)
File "D:\sunday\d\DbBot-SQLAlchemy\dbbot\reader\robot_results_parser.py", line 190, in _parse_keywords
[self._parse_keyword(keyword, test_run_id, suite_id, test_id, keyword_id) for keyword in keywords]
File "D:\sunday\d\DbBot-SQLAlchemy\dbbot\reader\robot_results_parser.py", line 190, in
[self._parse_keyword(keyword, test_run_id, suite_id, test_id, keyword_id) for keyword in keywords]
File "D:\sunday\d\DbBot-SQLAlchemy\dbbot\reader\robot_results_parser.py", line 219, in _parse_keyword
self._parse_keywords(keyword.keywords, test_run_id, None, None, keyword_id)
File "D:\sunday\d\DbBot-SQLAlchemy\dbbot\reader\robot_results_parser.py", line 190, in _parse_keywords
[self._parse_keyword(keyword, test_run_id, suite_id, test_id, keyword_id) for keyword in keywords]
File "D:\sunday\d\DbBot-SQLAlchemy\dbbot\reader\robot_results_parser.py", line 190, in
[self._parse_keyword(keyword, test_run_id, suite_id, test_id, keyword_id) for keyword in keywords]
File "D:\sunday\d\DbBot-SQLAlchemy\dbbot\reader\robot_results_parser.py", line 215, in _parse_keyword
self._parse_messages(keyword.messages, keyword_id)
AttributeError: 'For' object has no attribute 'messages'

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