this is using the cvs as of 4/26 running tomcat 4.04b2 jdk 1.4 jython
download this week
At 11:31 PM 4/24/2002 -0700, I wrote:
>I'm getting a jython error
>=
>org.apache.cocoon.ProcessingException: Exception in
>ScriptGenerator.generate(): com.ibm.bsf.BSFExcepti
I'm getting a jython error
=
org.apache.cocoon.ProcessingException: Exception in
ScriptGenerator.generate(): com.ibm.bsf.BSFException: exception from
JPython: Traceback (innermost last):
File "", line 3, in ?
NameError: System
clearl
Here is how I finally got this working.
1. In the generate tag, create a parameter to hold the python.path (not
PYTHONPATH, thats for CPython)
2. In the actual python script, before trying to import any modules
params = bsf.lookupBean( "parameters" )
# par
Hi,
I tried to get my Python scripts to work in Cocoon 2.1, and I can run
simple scripts that do not import any Python modules.
But I can't import anything to that script. I tried everything, I set
PYTHONPATH, set CATALINA_OPTS -Dpython.path, put .jython properties in
my home, put registry in c