I tested a simple problem on a machine via an ssh tunnel:
Code: Select all
c=1
a=b*c
This produces a traceback in the McIDAS-V jython shell run through a window manager and vncserver:
I placed this code in a short script called "testError.py"
When I run this problem using python in a xterm, I see the NameError in the terminal:
python testError.py
returns:
Traceback (most recent call last):
File "../mcv_python/testerror.py", line 3, in <module>
a=b*c
NameError: name 'c' is not defined
I then used a simple background script to run the McIDAS-V libraries (mcvinit.sh) and this displays the Traceback as well.
However, when I start a vncserver from a script, and run McIDAS-V within the vncserver, the error does not print. This became a problem when I was trying to produce some images and failed to see a traceback error. The script just hangs.
Examples of the VNC scripts are at
ftp://ftp.ssec.wisc.edu/pub/ssec/joleenf/
Do you know where the traceback error might be found?
Thanks,
Joleen