|
From: Rodrigo D. A. S. <Rod...@ic...> - 2001-06-02 03:58:35
|
On Wed, 30 May 2001 10:15:08 GMT
bc...@wo... (Finn Bock) wrote:
> On Tue, 29 May 2001 02:57:39 -0300, you wrote:
> >So I figured is time to change the note in platform.html (Jython's
> >web site) that states lack of compatibility between jython and Kaffe.
Maybe I should have rephrased that to: ``the lack of compatibility has=20
diminished'' ;o) Sorry about that. I was so excited to (retire jacl)=20
have Jython running on our modified Kaffe version (Guaran=E1) that=20
I probably rushed things over. I apologize for the unprecise information=20
given.
The status is the following (after having my ear pulled deservedly):
- Kaffe does not run the jython's installer properly.
Kaffe triggers the installer all right, asks for install profile, but du=
ring
copying it accuses: ``can get instance of an SHA-1 Digest Object''
Is this supposed to be in the JVM class libs or is it bundled within=20
the installer ? Apparentely, the script failed right after creating the =
directory
tree and before copying any file (screen accused intention of copying th=
e gif
PythonPowered).
- Through the ``add_package'' workaround, it is possible to circunvent K=
affe's
autodiscovery failure. I did not yet manage to figure out why.
=20
> Did you find out the why site.py wasn't imported correctly? Since all
> exceptions from site.py are silently ignored during startup, it is
> parhaps easier to debug the problem by importing site.py manually. Star=
t
> the interpreter with -S option like this:
>=20
> i:\>jython -S
> Jython 2.1a1 on java1.3.0 (JIT: null)
> >>> import site
> >>>
>=20
I did it with the following results...
[rodrigo@Max python]$ jython -S =20
Jython 2.1a1 on java1.0.6-20010401 (JIT: kaffe.jit)
>>> import site
Traceback (innermost last):
File "<console>", line 1, in ?
File "/usr/local/jython-2.1a1/Lib/site.py", line 62, in ?
File "/usr/local/jython-2.1a1/Lib/javaos.py", line 22, in ?
ImportError: no module named java
>>> import sys
>>> sys.add_package('java')
<java package java at 139235008>
>>> import site
>>>=20
Rod
=20
---=20
Rodrigo Senra =20
Computer Engineer (GPr Sistemas Ltda) rod...@gp...=20
MSc Student (IC - UNICAMP) Rod...@ic...
Home Page http://www.ic.unicamp.br/~921234 (ICQ 114477550)
|