enthought / mayavi

3D visualization of scientific data in Python
http://docs.enthought.com/mayavi/mayavi/
Other
1.28k stars 282 forks source link

The pipeline is not displaying #1252

Closed srivatsasrinivas1729 closed 1 year ago

srivatsasrinivas1729 commented 1 year ago

Hi

When I open the mayavi application (on Ubuntu 22.04 LTS) no windows display correctly. The only thing the pipeline displays is the text

<mayavi.plugins.envisage_engine.EnvisageEngine object at 0x7f03b0d052b0>

This is the message I get on running the command "mayavi2"

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway. /home/vatsa/.local/lib/python3.10/site-packages/pyface/ui/qt/workbench/split_tab_widget.py:125: UserWarning: Attempting to restore to a non-empty widget. warnings.warn("Attempting to restore to a non-empty widget.") /home/vatsa/.local/lib/python3.10/site-packages/traitsui/qt4/clipboard.py:28: FutureWarning: The pyface.ui.qt4. modules have moved to pyface.ui.qt..

Applications which require backwards compatibility can either:

srivatsasrinivas1729 commented 1 year ago

SOLVED:

Change the ETS_TOOLKIT variable to qt4 before running by

export ETS_TOOLKIT=qt4