Hello,
I am new to sfepy and as I was going over the examples I had issues running
postproc.py and the error is posted below
[arthur@arthurpc sfepy]$ ./postproc.py cylinder.vtk
(postproc.py:3360): Gdk-WARNING **: gdkdrawable-x11.c:952 drawable is not a
pixmap or window
(postproc.py:3360): Gdk-WARNING **: gdkdrawable-x11.c:952 drawable is not a
pixmap or window
(postproc.py:3360): Gdk-WARNING **: gdkdrawable-x11.c:952 drawable is not a
pixmap or window
(postproc.py:3360): Gdk-WARNING **: gdkdrawable-x11.c:952 drawable is not a
pixmap or window
(postproc.py:3360): Gdk-WARNING **: gdkdrawable-x11.c:952 drawable is not a
pixmap or window
(postproc.py:3360): Gdk-WARNING **: gdkdrawable-x11.c:952 drawable is not a
pixmap or window
(postproc.py:3360): Gdk-WARNING **: gdkdrawable-x11.c:952 drawable is not a
pixmap or window
sfepy: point scalars t at [-0.05 -0.02 0. ]
sfepy: range: -2.00e+00 2.00e+00 l2 norm range: 1.06e-02 2.00e+00
No handlers could be found for logger "mayavi.core.common"
(postproc.py:3360): Gdk-WARNING **: gdkdrawable-x11.c:952 drawable is not a
pixmap or window
(postproc.py:3360): Gdk-WARNING **: gdkdrawable-x11.c:952 drawable is not a
pixmap or window
(postproc.py:3360): Gdk-WARNING **: gdkdrawable-x11.c:952 drawable is not a
pixmap or window
(postproc.py:3360): Gdk-WARNING **: gdkdrawable-x11.c:952 drawable is not a
pixmap or window
Exception occurred in traits notification handler.
Please check the log file for details.
Exception occurred in traits notification handler for object:
,
trait: activated, old value: <undefined>, new value: True
Traceback (most recent call last):
File
"/home/arthur/anaconda/lib/python2.7/site-packages/traits/trait_notifiers.py",
line 520, in _dispatch_change_event
self.dispatch( handler, *args )
File
"/home/arthur/anaconda/lib/python2.7/site-packages/traits/trait_notifiers.py",
line 483, in dispatch
handler( *args )
File "/home/arthur/sfepy/sfepy/postprocess/viewer.py", line 1217, in
_post_init
viewer.render_scene(self.scene, viewer.options)
File "/home/arthur/sfepy/sfepy/postprocess/viewer.py", line 687, in
render_scene
self.build_mlab_pipeline(**options)
File "/home/arthur/sfepy/sfepy/postprocess/viewer.py", line 527, in
build_mlab_pipeline
active = mlab.pipeline.set_active_attribute(source)
File
"/home/arthur/anaconda/lib/python2.7/site-packages/mayavi/tools/pipe_base.py",
line 38, in the_function
factory = factory_class(*args, **kwargs)
File
"/home/arthur/anaconda/lib/python2.7/site-packages/mayavi/tools/pipe_base.py",
line 163, in __init__
self.set(**traits)
File
"/home/arthur/anaconda/lib/python2.7/site-packages/mayavi/tools/pipe_base.py",
line 180, in set
self._anytrait_changed(trait, value)
File
"/home/arthur/anaconda/lib/python2.7/site-packages/mayavi/tools/pipe_base.py",
line 198, in _anytrait_changed
setattr(obj, components[-1], value)
File
"/home/arthur/anaconda/lib/python2.7/site-packages/mayavi/core/trait_defs.py",
line 101, in set_value
value )
TraitError: The 'point_vectors_name' trait of a SetActiveAttribute instance
must be one of [], but a value of '' was specified.
./src/common/module.cpp(194): assert "module->m_state == State_Initialized"
failed in DoCleanUpModules(): not initialized module being cleaned up
Any ideas on how I can get it working?
Appreciate your help,
Arthur.