Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.
I looked up the jython code to print out the trace when an exception occurs This exception .py will not evec "compile" Any suggestions would be helpful. Thanks copy from example: http://www.python.org/doc/2.1/lib/traceback-example.html import sys, traceback # not acceptible def run_user_code(envdir): source = raw_input(">>> ") try: exec source in envdir except: print "Exception in user code:" print '-'*60 traceback.print_exc(file=sys.stdout) print '-'*60 envdir = {} while 1: run_user_code(envdir) also tried: from sys import traceback def run_user_code(envdir): source = raw_input(">>> ") try: exec source in envdir except: print "Exception in user code:" print '-'*60 traceback.print_exc(file=sys.stdout) # not found print '-'*60 envdir = {} while 1: run_user_code(envdir) G. Garrett Campbell Ph. D. Cooperative Institute for Research in the Atmosphere Colorado State University Ft. Collins, CO, USA 970 491 8497 campbell@xxxxxxxxxxxxxxxxxx
visad
archives: