kicad_freerouting-plugin icon indicating copy to clipboard operation
kicad_freerouting-plugin copied to clipboard

KiCad leaves tombstone process

Open Andrei-Pozolotin opened this issue 6 years ago • 1 comments

  1. problem after plugin invocation, KiCad leaves tombstone process which must be killed manually by os task manager

  2. workaround start scripting console before plugin invocation:

Pcbnew -> Tools -> Scripting Console
  1. solution kicad should automatically provision global wx.App instance by default, similar to how it is done in kicad_pyshell https://git.launchpad.net/kicad/tree/pcbnew/python/kicad_pyshell/init.py#n92

See https://bugs.launchpad.net/kicad/+bug/1827742

Andrei-Pozolotin avatar May 04 '19 20:05 Andrei-Pozolotin

further ideas by @qu1ck :

  • use wx.PostEvent to resolve wx.App/wx.CallAfter problem
  • See https://github.com/wxWidgets/wxPython/blob/master/src/_core_ex.py#L146
  • See https://github.com/BrendanSimon/wxanythread/blob/master/wxAnyThread/init.py

Andrei-Pozolotin avatar May 14 '19 03:05 Andrei-Pozolotin