Content-Type: multipart/alternative; boundary="----_=_NextPart_002_01C3FFEE.7CD82F08" ------_=_NextPart_002_01C3FFEE.7CD82F08 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I'm using JythonC to compile a jython class into java, and I am getting an inscrutable error. Hoping for some enlightenment, at least some hint as to how I can get more useful debugging information. The error message tells me nothing about where in my code the problem might be =20 The python class file is attached. It consists of methods taken from web-recorded activities using TestMaker4.0.6 from PushToTest.com, and I'm using Jython 2.2a0 =20 =20 C:\jython>jythonc PortalAction.py processing PortalAction =20 Required packages: com.pushtotest.tool.protocolhandler com.pushtotest.tool.response java.lang java.util =20 Creating adapters: =20 Creating .java files: PortalAction module Traceback (innermost last): File "c:\jython\Tools\jythonc\jythonc.py", line 5, in ? File "c:\jython\Tools\jythonc\main.py", line 300, in main File "c:\jython\Tools\jythonc\main.py", line 221, in doCompile File "c:\jython\Tools\jythonc\compile.py", line 389, in dump File "c:\jython\Tools\jythonc\compile.py", line 325, in preprocessModule File "c:\jython\Tools\jythonc\compile.py", line 312, in makeJavaProxy File "c:\jython\Tools\jythonc\compile.py", line 44, in getsig ValueError: unpack sequence too long =20 =20 =20 The error comes from From Py.java public static PyObject[] unpackSequence(PyObject o, int length) { ... if (o.__finditem__(length) !=3D null) { throw Py.ValueError("unpack sequence too long"); =20 ------_=_NextPart_002_01C3FFEE.7CD82F08 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I’m using JythonC to compile a jython class = into java, and I am getting an inscrutable error. Hoping for some enlightenment, at = least some hint as to how I can get more useful debugging information. The = error message tells me nothing about where in my code the problem might = be

 

The python class file is attached. It consists of = methods taken from web-recorded activities using TestMaker4.0.6 from = PushToTest.com, and I’m using Jython 2.2a0

 

 

C:\jython>jythonc = PortalAction.py

processing PortalAction

 

Required packages:

  = com.pushtotest.tool.protocolhandler

  com.pushtotest.tool.response

  java.lang

  java.util

 

Creating adapters:

 

Creating .java files:

  PortalAction module

Traceback (innermost last):

  File = "c:\jython\Tools\jythonc\jythonc.py", line 5, in ?

  File = "c:\jython\Tools\jythonc\main.py", line 300, in main

  File = "c:\jython\Tools\jythonc\main.py", line 221, in doCompile

  File = "c:\jython\Tools\jythonc\compile.py", line 389, in dump

  File = "c:\jython\Tools\jythonc\compile.py", line 325, in preprocessModule

  File = "c:\jython\Tools\jythonc\compile.py", line 312, in makeJavaProxy

  File = "c:\jython\Tools\jythonc\compile.py", line 44, in getsig

ValueError: unpack sequence too = long

 

 

 

The error comes from From Py.java

public static = PyObject[] unpackSequence(PyObject o, int = length) {

   if = (o.__finditem__(length) !=3D null) = {

            throw = Py.ValueError("unpack sequence too long");

 

=00 ------_=_NextPart_002_01C3FFEE.7CD82F08--