bugpyFormex - Bugs: bug #45172, ...

 
 

bug #45172: plugins.cameratools.showCameraTools does not work

Submitted by:  francesco <francio>
Submitted on:  Sat 23 May 2015 03:43:21 PM UTC  
 
Category: GUISeverity: 3 - Normal
Item Group: Functionality errorStatus: Fixed
Privacy: PublicAssigned to: Benedict Verhegghe <bverheg>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 23 May 2015 04:00:08 PM UTC, comment #1:

Fixed in c336c5d by adding a default value ndim=3.

Benedict Verhegghe <bverheg>
Project AdministratorIn charge of this item.
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.

francesco <francio>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bverheg (Posted a comment)
  • -unavailable- added by francio (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 23 May 2015 04:00:08 PM UTCbverhegStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1