-
Notifications
You must be signed in to change notification settings - Fork 285
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
Error when setting colorbar in traits #86
Comments
@Tscheik can you report what platform you use? and what EPD/Canopy version? This code runs fine on Canopy 1.1 |
Hi @dpinte, |
I am on 1.1.0.371 on MacOSX 10.6 64bit. |
I also tested this with ubuntu 12.04 and 13.04 (mayavi2 should be version 4.0.0.3, respectively 4.1.0.1, see http://packages.ubuntu.com/precise/mayavi2 and http://packages.ubuntu.com/raring/mayavi2), same error:
|
I am also having this issue on OS X 10.9 with Canopy 1.4. Has there been a fix (for client or Enthought code)? |
Confirmed still present in 4.4.4 with vtk 6.2 and 7.1. Investigating. |
After investigation, I am not sure we can call it a bug, rather it's intended behavior. The problem, straightforward from the message, is that we are trying to install the scalarbarwidget before there's an interactor. This check is perform in the My point is that graphic setup should occur later, when the displaying environment is correctly setup. |
Specifically, maybe the example should be changed to something along these lines.
However, I must say that this message appears at every repaint. I don't know if it's unrelated or not.
The alternative would be to postpone the enabling of the scalarbar if the interactor is None. |
I leave this pending. @prabhuramachandran any comment? |
Dear Mayavi developers,
I've run into (another :) ) error... This time when trying to display a colorbar within the traits example:
throws an error:
I'm not sure whether this is an mayavi issue or a VTK bug (or I'm missing something and this is done otherwise...).
Best regards,
Tscheik
The text was updated successfully, but these errors were encountered: