Skip to content

main.py refuses to run #2

@VitHrncir

Description

@VitHrncir

Despite my best efforts, I haven't been able to get main.py to generate a pinout diagram. The code threw this error in just its stock state. It has been run in a virtual environment to rule out library conflicts.

`Input data valid!

Traceback (most recent call last):
File "/home/vik/PycharmProjects/pinouts/main.py", line 50, in
PinLabelGroup(
File "/home/vik/PycharmProjects/pinouts/.venv/lib/python3.12/site-packages/pinout/components/pinlabel.py", line 182, in init
label.add_tag(tag)
^^^
UnboundLocalError: cannot access local variable 'tag' where it is not associated with a value`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions