Sat 23 May 2015 03:43:21 PM UTC, original submission:
The camera tolls of the GUI does not work due to following error
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "/home/Francesco/pyformex/pyformex/plugins/cameratools.py", line 106, in showCameraTool
default='Close',
File "/home/Francesco/pyformex/pyformex/gui/widgets.py", line 1626, in _init_
self.add_items(items, self.form, self.prefix)
File "/home/Francesco/pyformex/pyformex/gui/widgets.py", line 1693, in add_items
self.add_input(form,prefix=prefix,**item)
File "/home/Francesco/pyformex/pyformex/gui/widgets.py", line 1782, in add_input
field = inputAny(**item)
File "/home/Francesco/pyformex/pyformex/gui/widgets.py", line 1982, in inputAny
return f(name,value,**options)
TypeError: _init_() takes at least 4 arguments (3 given)
A quick investigation relates the problem to the fact that inputAny
passes only 3 arguments to InputPoint, but this class need also a parameter ndim.
both function are not documented so I am not sure what to do.
I need help to fix the problem and more important please document properly the classes.
|