Hi Michelle,

Sorry for the slow reply.

On Wed, Dec 28, 2011 at 11:24:15AM +0100, Michele Mattioni wrote:
> I was wondering if you can replicate this two bugs or not with current master:

> https://github.com/enthought/mayavi/issues/21
> https://github.com/enthought/mayavi/issues/20

> both bugs are 'regression' bugs. Everything was working before with
> Mayavi 3.6.0.

It seems to me that the first one (#21) is really a bug due to a change
in VTK rather than Mayavi. Are you sure that with the same VTK version,
3.6.0 works. Anyhow, it should be fixed... Someone just needs to find
time.

The second bug (#20] should probably be reassigned to traitsui, as it is
really a problem in the image_enum_editor.py. By the way, you'll probably
find more traction to such emails on the enthought-dev, as this is where
both Traits and Mayavi developers (what's left of them) hang out.

> I'm not familiar with Mayavi source code, however I could try to help
> if you point me in the right direction!

Here are a few ideas to try and move the situation:

Bug #21: figure out which call in VTK has changed signature, and what is
the new signature. For this inspect the call stack using pdb to see where
'vtk_method' comes from when the error is raised, then look at the online
VTK reference and see what is the more recent signature of this VTK
method, finally implement both options in abstract_picker, with a
try/except.

Bug #20: write a small example using the image_enum_editor, and insert
print statements in image_enum_editor.py to find out why None is passed.
I suspect that the fix will lie in this code.

Ideally, commenting on each one of the bug reports is the best way to
have a discussion: you may not be able to solve fully the problem by
itself, but I may be able to fix it quicker by looking at your comments.

Thanks for your feedback,

Gael

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
MayaVi-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mayavi-users

Reply via email to