Skip to content

TypeError: in method 'Menu_Append', expected argument 2 of type 'int' #2

@KarlZeilhofer

Description

@KarlZeilhofer

That's the new message I get:

Traceback (most recent call last):

  File "/usr/share/kicad/scripting/plugins/layerviewset.py", line 427, in Run
    self._lvset_frame=gui(self,parent)

  File "/usr/share/kicad/scripting/plugins/layerviewset.py", line 56, in __init__
    super(gui,self).__init__(parent_frame)#, *args, **kw)

  File "/usr/share/kicad/scripting/plugins/layerviewset_gui.py", line 61, in __init__
    self.m_menu3.Append( self.m_menuItem5 )

  File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 12003, in Append
    return _core_.Menu_Append(*args, **kwargs)

TypeError: in method 'Menu_Append', expected argument 2 of type 'int'

Linux Mint 18.1

Application: kicad
Version: 5.0.0-rc2-dev-unknown-5d71153~64~ubuntu16.04.1, release build
Libraries:
    wxWidgets 3.0.2
    libcurl/7.56.1 mbedTLS/2.6.0 zlib/1.2.8
Platform: Linux 4.10.0-40-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.2 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.58.0
    Curl: 7.47.0
    Compiler: GCC 5.4.0 with C++ ABI 1009

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_WXPYTHON=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_SPICE=ON

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions