Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

unable to Parse keywords and error messages.

オープン
#27 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python, sqlite

調査の方向性

dbbot/reader/robot_results_parser.py の _parse_keyword と、traceback に示されている再帰的な _parse_keywords 呼び出しから着手してください。For オブジェクトがメッセージと比較して keyword データをどのように公開しているかを調べ、その後、エラーが発生した XML-to-database パスを再実行してください。keyword の解析が AttributeError を発生させずにネストされた keyword まで到達し、関連するエラーメッセージを保持できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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'

主要言語
Python
スター
60
フォーク
66
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

MarketSquare/DbBot のほかの issue

MarketSquare/DbBot の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。