GDQuest / GDQuest/gdscript-docs-maker
Running gdscript_docs_maker.__main__ on reference.json
- Lenguaje dominante
- Python
- Estrellas
- 297
- Forks
- 26
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
**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`
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Reproduce el fallo con `python3 -m gdscript_docs_maker /godot-project/reference.json`, después inspecciona el punto de entrada del paquete `gdscript_docs_maker` y compáralo con la invocación funcional de `gdscript_docs_maker.__main__`. La tarea estará terminada cuando el comando a nivel de paquete se ejecute correctamente y genere los archivos markdown a partir de `reference.json`.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python
- Área
- cli, tooling
- Tipo de issue
- Error
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Estado de actividad
- Estancado
- Claridad
- Bien especificado
- Aptitud para principiantes
- 45/100