FS#41791 - [mayavi] Warnings and errors, no Tab-completion (with workaround)
Attached to Project:
Community Packages
Opened by Alain Kalker (ackalker) - Tuesday, 02 September 2014, 14:36 GMT
Last edited by Andrzej Giniewicz (Giniu) - Thursday, 04 September 2014, 10:35 GMT
Opened by Alain Kalker (ackalker) - Tuesday, 02 September 2014, 14:36 GMT
Last edited by Andrzej Giniewicz (Giniu) - Thursday, 04 September 2014, 10:35 GMT
|
Details
Description:
Running mayavi2 without options, I'm getting warnings and errors trying to visualize a surface. The warnings shown only within the Mayavi application are: Warning (popup): "ICCP: known incorrect sRGB profile" Warning (in Logger tab): "could not restore editor [TVTK Scene 1]" Some errors are output only to the terminal emulator from which I started Mayavi. I'm attaching the full log as captured from the terminal. From some Googling, I found a workaround[1] mentioned on the Enthought mailing list with regards to Enaml, which appears to work well with Mayavi as well: $ ETS_TOOLKIT=qt4 mayavi2 As an added bonus, this also makes Tab-completion work in the Python window, and in general the application feels more responsive. Perhaps it is a good idea to put this in the Wiki. Additional info: * package version(s) mayavi 4.3.1-2 * config and/or log files etc. Steps to reproduce: 1. $ mayavi2 2. File > Load data > Create built-in surface, leave Mayavi object editor at "Arrow" which is okay for this test 3. Visualize > Modules > Axes 4. Visualize > Modules > Surface 5. In Python interpreter window, try Tab-completing a symbol. [1] Enaml - TypeError when running the image processing example : http://permalink.gmane.org/gmane.comp.python.enthought.devel/30753 |
This task depends upon
Closed by Andrzej Giniewicz (Giniu)
Thursday, 04 September 2014, 10:35 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 4.3.1-3
Thursday, 04 September 2014, 10:35 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 4.3.1-3
Comment by
Andrzej Giniewicz (Giniu) -
Wednesday, 03 September 2014, 11:24 GMT
Comment by
Andrzej Giniewicz (Giniu) -
Thursday, 04 September 2014, 10:35 GMT
Thanks for letting me know. I think this is good candidate to add
to profile.d. I have to rebuild mayavi anyway, so I might as well
do it when I am at it.
I've switched mayavi to qt4 by default, by adding ETS_TOOLKIT to
/etc/profile.d/ - you might need to logout and login to make the
changes visible. If you have some further issues, reopen this
issue. Thanks again for great report!