GDQuest / GDQuest/gdscript-docs-maker
Running gdscript_docs_maker.__main__ on reference.json
- Lingua principale
- Python
- Stelle
- 297
- Fork
- 26
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
**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`
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Riproduci il problema con `python3 -m gdscript_docs_maker /godot-project/reference.json`, quindi esamina l’entry point del package `gdscript_docs_maker` e confrontalo con l’invocazione funzionante di `gdscript_docs_maker.__main__`. L’attività è completata quando il comando a livello di package viene eseguito correttamente e genera i file markdown da `reference.json`.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- cli, tooling
- Tipo di issue
- Bug
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 45/100