Hi,
the script t.py runs fine for me with
mayavi2 -x t.py
while with
mayavi2 -x t.py -o
I get always the same error:
ERROR|2011-04-04 10:40:53,231|'MayaviOffscreen' object has no attribute
'engine'
Traceback (most recent call last):
File "/usr/bin/mayavi2", line 413, in run_script
execfi
On Saturday 02 April 2011 12:01 AM, Giovanni Ghigliotti wrote:
Hi,
adding the two lines
print mayavi
print mayavi.engine
at the beginning of the script (run with mayavi2 -x script.py -o) gives:
<__main__.MayaviOffscreen object at 0xc0fd4dc>
ERROR|2011-04-01 11:30:24,454|'MayaviOffscreen' o
Hi,
adding the two lines
print mayavi
print mayavi.engine
at the beginning of the script (run with mayavi2 -x script.py -o) gives:
<__main__.MayaviOffscreen object at 0xc0fd4dc>
ERROR|2011-04-01 11:30:24,454|'MayaviOffscreen' object has no attribute
'engine'
Traceback (most recent call last):
On Thu, Mar 31, 2011 at 04:32:38PM -0700, Giovanni Ghigliotti wrote:
> here there are more details on the fact that my script does not run with
> the flag -o.
> the command:
> mayavi2 -x script.py -o
> gives:
> ERROR|2011-03-31 12:34:48,079|'MayaviOffscreen' object has no attribute
> 'new_scene'
>
Hi,
here there are more details on the fact that my script does not run with
the flag -o.
the command:
mayavi2 -x script.py -o
gives:
ERROR|2011-03-31 12:34:48,079|'MayaviOffscreen' object has no attribute
'new_scene'
Traceback (most recent call last):
File "/usr/bin/mayavi2", line 413, in run_s
On Wed, Mar 30, 2011 at 05:45:42PM -0700, Giovanni Ghigliotti wrote:
> 1) I have written a script 'script.py' that runs fine turning the GUI
> on:
> mayavi2 -x script.py
> and does not work with the option -o (offscreen):
> mayavi2 -x script.py -o
What does 'does not work mean'? If you tell a
Hi,
I have two basic questions about scripting mayavi:
1) I have written a script 'script.py' that runs fine turning the GUI
on:
mayavi2 -x script.py
and does not work with the option -o (offscreen):
mayavi2 -x script.py -o
The script is here:
--
mayavi.new_scene()
s = mayavi.engine.curre