I need more information. Please provide the Python script that is failing
and specify exactly what line is failing with the complete error message.
Also, specify what version of Python you are using and what version of
STAF you are using and on what operating system. Provide the output of:
STAF local MISC LIST PROPERTIES
For more information about how to submit STAF service requests via a
Python script, including examples, see the STAF Python User's Guide at
http://staf.sourceforge.net/current/STAFPython.htm. This document
describes STAF's support for the Python language and includes information
on the core STAF Python APIs. STAF Python support must be installed in
order to submit requests to STAF via a Python program (this is selectable
when installing STAF). Also, note that you must use the STAF Python
libraries for the Python version that you have installed (also selectable
when installing STAF). You must also set the PYTHONPATH environment
variable to contain the STAF Python libraries. See section "3.0
Installation" in the STAF Python User's Guide for more information.
Note that links to all of the STAF documentation, including the STAF
Python User's Guide, are provided via the STAF Documentation web page at
http://staf.sourceforge.net/docs.php.
--------------------------------------------------------------
Sharon Lucas
IBM Austin, luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313
From: Ashokkumar Naidu <ashokkuma...@globaledgsoft.com>
To: staf-users@lists.sourceforge.net,
Date: 04/25/2013 08:26 AM
Subject: [staf-users] How to Run Python scripts under STAF
environment
I have established STAF environment on my system. Now I got problem that
when I am using Services of STAF using
Python scripts I am getting Return Code 2 . So please tell me how to
run python scripts under STAF environment.
N.Asok Kumar
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring
service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users