ladon wont install with jython 2.7b1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ladon |
New
|
Undecided
|
Unassigned |
Bug Description
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_
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.
This is because java has a 64k limit to a class method.
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):
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.
description: | updated |
Ladon does compile on Jython 2.7 trunk now, so no more issues with these large literals (the compiler can break up the most common case into small methods). Also I can resolve all dependencies with pip.
I did try running with nosestests, but some test issues remain, beyond the scope of what I would be able to investigate. Please note that I have also recently fixed perhaps a related issue with socket/select/ssl, although this may or may not suffice.
(I came here because I was googling for "method size too large" errors with respect to Jython, just to see what's out there in the wild, so I can confirm against my solution for this specific problem.)
Good luck!