Skip to content

AttributeError: module 'pcbnew' has no attribute 'DRILL_MARKS_NO_DRILL_SHAPE' #23

@pattla

Description

@pattla

Upload fails because of missing attribute. It seems that the attribute is available only in recent KiCad versions. See: https://gitlab.com/kicad/code/kicad/-/merge_requests/1401

Exception in thread Thread-1:
Traceback (most recent call last):
  File "C:\Program Files\KiCad\6.0\bin\Lib\threading.py", line 973, in _bootstrap_inner
    self.run()
  File "\KiCad\6.0\3rdparty\plugins\com_github_aislerhq_PushForKiCad\push_thread.py", line 58, in run
    popt.SetDrillMarksType(pcbnew.DRILL_MARKS_NO_DRILL_SHAPE)
AttributeError: module 'pcbnew' has no attribute 'DRILL_MARKS_NO_DRILL_SHAPE'

KiCad (64-bit) 6.0.1, Windows 10 (64-bit)
PushForKiCad 0.1.9

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