Some possible solutions would be to either
- read the list from a file
- break the list up into smaller chunks.
I tried the latter and it seems to now build.
But the test server and client code in the examples does not work properly yet. Not sure if I broke up the list wrongly or what.
ie. using jython runserver and jython clienttest, it fails on the first test ie. Calculator
using a python runserver and jython clienttest, it passes all tests upto the TransferService test (ie, TransferService fails).
using jython runserver and python clienttest, it fails on the first test ie. Calculator
The error for Calculator looks like this.
Testing Calculator:
Traceback (most recent call last):
File "clienttest.py", line 96, in <module>
testCalculator()
File "clienttest.py", line 29, in testCalculator
calc_client = JSONWSPClient(base_url + '/Calculator/jsonwsp/description')
File "/usr/local/lib/python2.7/dist-packages/ladon/clients/jsonwsp.py", line 141, in __init__
self.parse_description()
File "/usr/local/lib/python2.7/dist-packages/ladon/clients/jsonwsp.py", line 223, in parse_description
self.jsonwsp_description = json.loads(PORTABLE_STRING(jsonwsp_response.response_body,response_charset))
File "/usr/lib/python2.7/json/__init__.py", line 326, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
Was info only. :-)
Many many thanks for all your hard work. ladon is v impressive.
I am using the following.
ladon 0.7.5
jython 2.7b
linux mint 14
These files are problematic (and I would suppose the corresponding py3 versions)
src/chardet_ py2/jpcntx. py py2/big5freq. py py2/euckrfreq. py py2/jisfreq. py py2/gb2312freq. py
src/chardet_
src/chardet_
src/chardet_
src/chardet_
Am getting the following when I try to install ladon
ie
$ jython setup.py install
java.lang. RuntimeExceptio n: java.lang. RuntimeExceptio n: Method code too large!
This is because java has a 64k limit to a class method. docs.oracle. com/javase/ specs/jvms/ se5.0/html/ ClassFile. doc.html# 88659
http://
Some possible solutions would be to either
- read the list from a file
- break the list up into smaller chunks.
I tried the latter and it seems to now build.
But the test server and client code in the examples does not work properly yet. Not sure if I broke up the list wrongly or what.
ie. using jython runserver and jython clienttest, it fails on the first test ie. Calculator
using a python runserver and jython clienttest, it passes all tests upto the TransferService test (ie, TransferService fails).
using jython runserver and python clienttest, it fails on the first test ie. Calculator
The error for Calculator looks like this.
Testing Calculator:
Traceback (most recent call last): tor() base_url + '/Calculator/ jsonwsp/ description' ) lib/python2. 7/dist- packages/ ladon/clients/ jsonwsp. py", line 141, in __init__ parse_descripti on() lib/python2. 7/dist- packages/ ladon/clients/ jsonwsp. py", line 223, in parse_description jsonwsp_ description = json.loads( PORTABLE_ STRING( jsonwsp_ response. response_ body,response_ charset) ) python2. 7/json/ __init_ _.py", line 326, in loads decoder. decode( s) python2. 7/json/ decoder. py", line 366, in decode python2. 7/json/ decoder. py", line 384, in raw_decode
File "clienttest.py", line 96, in <module>
testCalcula
File "clienttest.py", line 29, in testCalculator
calc_client = JSONWSPClient(
File "/usr/local/
self.
File "/usr/local/
self.
File "/usr/lib/
return _default_
File "/usr/lib/
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
Was info only. :-)
Many many thanks for all your hard work. ladon is v impressive.