GDQuest / GDQuest/gdscript-docs-maker

Running gdscript_docs_maker.__main__ on reference.json

オープン
#94 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
297
フォーク
26
PR マージ指標
30日以内にマージされた PR はありません

説明

**I'm submitting an Issue**

- [x] Bug report.
- [ ] Feature request.

## Bug report ##

**What is the current behavior?**
When running `python3 -m gdscript_docs_maker /godot-project/reference.json` I get the error message:

> opt/homebrew/opt/python@3.11/bin/python3.11: No module named gdscript-docs-maker.__main__; 'gdscript-docs-maker' is a package and cannot be directly executed

**What is the expected behavior?**
The module to run successfully generating the markdown files.

**Tell us the steps to reproduce the bug, and if possible share a minimal demo of the problem.**

1. Generate `reference.json`
2. Run `python3 -m gdscript_docs_maker /godot-project/reference.json`

**My Solution.**

Run `python3 -m gdscript_docs_maker.__main__ /godot-project/reference.json` instead.

## Other ##

**Other information**

Running on macOS 13.5.1 (22G90)
Python version `Python 3.11.6`

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

`python3 -m gdscript_docs_maker /godot-project/reference.json` で失敗を再現し、次に `gdscript_docs_maker` パッケージのエントリーポイントを調べ、動作する `gdscript_docs_maker.__main__` の呼び出しと比較してください。`reference.json` から markdown ファイルが生成され、パッケージレベルのコマンドが正常に実行されれば完了です。

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

評価

技術スタック
python
領域
cli, tooling
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
45/100

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

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