Scripting not working on Linux with M-V 1.02Beta1

Post any questions, ideas, or topics related to Jython and Python scripting.
User avatar
Rick
Posts: 404
Joined: Fri Jan 16, 2009 8:20 pm

Re: Scripting not working on Linux with M-V 1.02Beta1

Post by Rick »

Hi Boa,

Glad to hear you got the bundle to save properly. As for the error, our first suggestion is to update your video card graphics drivers.

It is also possible that your OS version combined with older video drivers may not support 3D off screen rendering. What OS (including version) are you running and what type of video card? Fedora 6 in combination with ATI cards have been problematic.

Rick
User avatar
kbedka1
Posts: 428
Joined: Wed Jan 28, 2009 7:27 pm

Re: Scripting not working on Linux with M-V 1.02Beta1

Post by kbedka1 »

Bao is trying to do this on a remote linux machine. Could this be causing the problem? I recall running into GLX and other errors in the past when trying to save an image from a remote Mc-V session.
User avatar
Rick
Posts: 404
Joined: Fri Jan 16, 2009 8:20 pm

Re: Scripting not working on Linux with M-V 1.02Beta1

Post by Rick »

Hi Kris - thanks for that additional information. Boa may be able to use xvfb which creates a virtual display. One of inquiry discusses this option:

http://mcidas.ssec.wisc.edu/inquiry-v/?inquiry=184

Rick
User avatar
bshan
Posts: 12
Joined: Tue Mar 31, 2009 5:25 pm

Re: Scripting not working on Linux with M-V 1.02Beta1

Post by bshan »

Hi,

I followed the actions on inquiry 184 and my script which loads a bundle is working on both command line and cron tab .

In command line, I run the following :
Xvfb :1 -screen 0 1280x1024x24 &
setenv DISPLAY :1 ( I am running cshell in my remote linux machine)

In crontab , I added the following:
DISPLAY=":1"

In the script file, I have setOffScreen(0) on the first line.

I tried to run the script which loads netcdf file, but it is not working so far. It seems the program just hanging there...

FYI : My local machine is Mac, and I run the script on remote Linux machine

Thanks for your help,
Post Reply