Hello all,
Forgive the cross-post. The discussion concerning documenting
Jython migrated to jython-dev, but I feared someone interested in
documentation might be missed there. I'll stick to jython-devel in
the future.
1. I've added a wicki page for 'in-development' Jython
documentation at:
http://www.jython.org/cgi-bin/moin.cgi/JythonDevelDocs
2. Fred Drake peeked into his crystal ball and says XML could be
in the Python docs future, but not the immediate future. This
gives credence to 'stick to the wiki for now' plan.
3. The outline is paraphrased from what was originally posted on
this list. It's been reorganized a bit, and had some notes added.
The outline seems due for some fresh eyes.
-Robert

Can you help? I am getting the following stack trace from some jythonc'd
jython code. The code works fine in jython, but when I turn it into a
jar with command:
$ //c/jython-2.1a1/jythonc.bat -C c:/JBuilder4/jdk1.3/bin/javac.exe
-core -jar TB2.jar TB2.py
I get a stacktrace on my awt actionPerformed:
def actionPerformed(self, e):
conversation = WebConversation()
request = GetMethodWebRequest( self.getURL() )
response = conversation.getResponse( request )
self.setHTML(response.getText())
The external classes I'm using are from httpunit.sourceforge.net.
If I just have:
def actionPerformed(self, e):
self.setHTML("hi")
It would appear, just having the line:
conversation = WebConversation()
causes the stack trace. Can you help?
> java -jar TB2.jar
Exception occurred during event dispatching:
java.lang.NullPointerException
at java.lang.Class.isAssignableFrom(Native Method)
at org.python.core.PyJavaClass.init__class__(PyJavaClass.java:151)
at org.python.core.PyJavaClass.init(PyJavaClass.java:209)
at org.python.core.PyJavaClass.initLazy(PyJavaClass.java:85)
at org.python.core.PyJavaClass.initialize(PyJavaClass.java:101)
at
org.python.core.PyJavaClass.initConstructors(PyJavaClass.java:657)
at org.python.core.PyJavaClass.__call__(PyJavaClass.java:809)
at org.python.core.PyObject.__call__(PyObject.java:262)
at TB2$_PyInner.go$6(TB2.java:126)
at TB2$_PyInner.call_function(TB2.java:74)
at org.python.core.PyTableCode.call(PyTableCode.java:198)
at org.python.core.PyTableCode.call(PyTableCode.java:388)
at org.python.core.PyTableCode.call(PyTableCode.java:288)
at org.python.core.PyFunction.__call__(PyFunction.java:185)
at org.python.core.PyMethod.__call__(PyMethod.java:96)
at
org.python.core.PyCompoundCallable.__call__(PyCompoundCallable.java:2
8)