Generate Schematic Bug

Aperta
#201 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
backend

Direzione di ricerca

Start with skidl/tools/kicad7/bboxes.py at calc_symbol_bbox, then follow the call path through gen_schematic.py (calc_part_bbox, preprocess_circuit, and gen_schematic). Reproduce the failure with a circuit that triggers generate_schematic() and identify which symbol data reaches the unimplemented case. Done means schematic generation handles that case without raising NotImplementedError; the issue does not provide a reproduction circuit or expected output.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug

Describe the bug
generate_schematic()
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/skidl/circuit.py", line 1044, in generate_schematic
tool_modules[tool].gen_schematic(self, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/skidl/tools/kicad7/gen_schematic.py", line 733, in gen_schematic
preprocess_circuit(circuit, **options)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/skidl/tools/kicad7/gen_schematic.py", line 676, in preprocess_circuit
calc_part_bbox(part)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/skidl/tools/kicad7/gen_schematic.py", line 641, in calc_part_bbox
calc_symbol_bbox(part)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/skidl/tools/kicad7/bboxes.py", line 84, in calc_symbol_bbox
raise NotImplementedError
NotImplementedError

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS [type & version]
  • Python version
  • SKiDL version [e.g. 22]

Additional context
Add any other context about the problem here.

Lingua principale
Python
Stelle
1.7k
Fork
184
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di devbisme/skidl

Tutte le issue di devbisme/skidl

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.