-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't do anything: NotImplementedError: Wrong number or type of arguments for overloaded function 'new_VECTOR2I'. #24
Comments
Thanks, I'll check it out.
Il giorno mer 31 mag 2023 alle ore 20:35 Jeremy Billheimer <
***@***.***> ha scritto:
… Pressing the OK button results in nothing. No messages, no vias, nothing.
If I open the Python console and then hit OK, I'll get some errors in
another window:
Traceback (most recent call last):
File
"/home/jeremy/.local/share/kicad/6.0/scripting/plugins/viastitching-master/viastitching_dialog.py",
line 456, in onProcessAction
self.FillupArea()
File
"/home/jeremy/.local/share/kicad/6.0/scripting/plugins/viastitching-master/viastitching_dialog.py",
line 363, in FillupArea
p = pcbnew.VECTOR2I(xp, yp)
File "/usr/lib/python3/dist-packages/pcbnew.py", line 5286, in *init*
this = _pcbnew.new_VECTOR2I(*args)
NotImplementedError: Wrong number or type of arguments for overloaded
function 'new_VECTOR2I'.
Possible C/C++ prototypes are:
VECTOR2< int >::VECTOR2()
VECTOR2< int >::VECTOR2(wxPoint const &)
VECTOR2< int >::VECTOR2(wxSize const &)
VECTOR2< int >::VECTOR2(int,int)
VECTOR2< int >::VECTOR2(VECTOR2< int > const &)
Traceback (most recent call last):
File
"/home/jeremy/.local/share/kicad/6.0/scripting/plugins/viastitching-master/viastitching_dialog.py",
line 456, in onProcessAction
self.FillupArea()
File
"/home/jeremy/.local/share/kicad/6.0/scripting/plugins/viastitching-master/viastitching_dialog.py",
line 363, in FillupArea
p = pcbnew.VECTOR2I(xp, yp)
File "/usr/lib/python3/dist-packages/pcbnew.py", line 5286, in *init*
this = _pcbnew.new_VECTOR2I(*args)
NotImplementedError: Wrong number or type of arguments for overloaded
function 'new_VECTOR2I'.
Possible C/C++ prototypes are:
VECTOR2< int >::VECTOR2()
VECTOR2< int >::VECTOR2(wxPoint const &)
VECTOR2< int >::VECTOR2(wxSize const &)
VECTOR2< int >::VECTOR2(int,int)
VECTOR2< int >::VECTOR2(VECTOR2< int > const &)
Traceback (most recent call last):
File
"/home/jeremy/.local/share/kicad/6.0/scripting/plugins/viastitching-master/viastitching_dialog.py",
line 456, in onProcessAction
self.FillupArea()
File
"/home/jeremy/.local/share/kicad/6.0/scripting/plugins/viastitching-master/viastitching_dialog.py",
line 363, in FillupArea
p = pcbnew.VECTOR2I(xp, yp)
File "/usr/lib/python3/dist-packages/pcbnew.py", line 5286, in *init*
this = _pcbnew.new_VECTOR2I(*args)
NotImplementedError: Wrong number or type of arguments for overloaded
function 'new_VECTOR2I'.
Possible C/C++ prototypes are:
VECTOR2< int >::VECTOR2()
VECTOR2< int >::VECTOR2(wxPoint const &)
VECTOR2< int >::VECTOR2(wxSize const &)
VECTOR2< int >::VECTOR2(int,int)
VECTOR2< int >::VECTOR2(VECTOR2< int > const &)
—
Reply to this email directly, view it on GitHub
<#24>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABOP54RTZ24ONKG3JWPXELDXI6FOBANCNFSM6AAAAAAYV3O3LE>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
bye by(t)e[s]... WeirdGyn!
|
Ive got a similar issue:
|
Okay several things.
Note: The line numbers are off by... I don't know. Some non-zero amount. I had to add a bunch of wx.MessageBoxes to see what was going on (How do they not have a debugger running this stuff? And here I was thinking embedded dev environments were hostile...) |
Seeing the same issue on kicad 7.0.2 when I use "randomize". If I deselect randomize, the error goes away but no vias are placed. |
Just reiterating what @mpieper figured out: replace 259 with: the_distance = norm(pcbnew.VECTOR2I(p2) - pcbnew.VECTOR2I(p1)) comment-out lines 317-319. comment-out lines 362-364. replace line 368 with: if self.area.HitTestFilledArea(layer, pcbnew.VECTOR2I(p), 0): |
Pressing the OK button results in nothing. No messages, no vias, nothing.
If I open the Python console and then hit OK, I'll get some errors in another window:
Traceback (most recent call last):
File "/home/jeremy/.local/share/kicad/6.0/scripting/plugins/viastitching-master/viastitching_dialog.py", line 456, in onProcessAction
self.FillupArea()
File "/home/jeremy/.local/share/kicad/6.0/scripting/plugins/viastitching-master/viastitching_dialog.py", line 363, in FillupArea
p = pcbnew.VECTOR2I(xp, yp)
File "/usr/lib/python3/dist-packages/pcbnew.py", line 5286, in init
this = _pcbnew.new_VECTOR2I(*args)
NotImplementedError: Wrong number or type of arguments for overloaded function 'new_VECTOR2I'.
Possible C/C++ prototypes are:
VECTOR2< int >::VECTOR2()
VECTOR2< int >::VECTOR2(wxPoint const &)
VECTOR2< int >::VECTOR2(wxSize const &)
VECTOR2< int >::VECTOR2(int,int)
VECTOR2< int >::VECTOR2(VECTOR2< int > const &)
Traceback (most recent call last):
File "/home/jeremy/.local/share/kicad/6.0/scripting/plugins/viastitching-master/viastitching_dialog.py", line 456, in onProcessAction
self.FillupArea()
File "/home/jeremy/.local/share/kicad/6.0/scripting/plugins/viastitching-master/viastitching_dialog.py", line 363, in FillupArea
p = pcbnew.VECTOR2I(xp, yp)
File "/usr/lib/python3/dist-packages/pcbnew.py", line 5286, in init
this = _pcbnew.new_VECTOR2I(*args)
NotImplementedError: Wrong number or type of arguments for overloaded function 'new_VECTOR2I'.
Possible C/C++ prototypes are:
VECTOR2< int >::VECTOR2()
VECTOR2< int >::VECTOR2(wxPoint const &)
VECTOR2< int >::VECTOR2(wxSize const &)
VECTOR2< int >::VECTOR2(int,int)
VECTOR2< int >::VECTOR2(VECTOR2< int > const &)
Traceback (most recent call last):
File "/home/jeremy/.local/share/kicad/6.0/scripting/plugins/viastitching-master/viastitching_dialog.py", line 456, in onProcessAction
self.FillupArea()
File "/home/jeremy/.local/share/kicad/6.0/scripting/plugins/viastitching-master/viastitching_dialog.py", line 363, in FillupArea
p = pcbnew.VECTOR2I(xp, yp)
File "/usr/lib/python3/dist-packages/pcbnew.py", line 5286, in init
this = _pcbnew.new_VECTOR2I(*args)
NotImplementedError: Wrong number or type of arguments for overloaded function 'new_VECTOR2I'.
Possible C/C++ prototypes are:
VECTOR2< int >::VECTOR2()
VECTOR2< int >::VECTOR2(wxPoint const &)
VECTOR2< int >::VECTOR2(wxSize const &)
VECTOR2< int >::VECTOR2(int,int)
VECTOR2< int >::VECTOR2(VECTOR2< int > const &)
The text was updated successfully, but these errors were encountered: