gzz-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gzz] "object"???


From: Benja Fallenstein
Subject: Re: [Gzz] "object"???
Date: Mon, 19 Aug 2002 21:52:43 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020615 Debian/1.0.0-3

Tuomas Lukka wrote:

What in the world is causing this during "make"??

        /BIG/java2/j2sdk1.4.0//bin/java -Xms128M -Xmx128M 
-Dpython.path=../depends/jythonlib.jar:../depends/pythonlib.jar:../depends/yaml.jar
 -Dpython.verbose=message -Dgzzclient=awt  org.python.util.jython test/test.py
        Traceback (innermost last):
          File "yaml/ypath.py", line 6, in ?
        NameError: object

PyYAML contains an YPATH implementation, which depends on the iterators of Python 2.2. The way it detects the python version is by trying to import YPATH, and catching the NameError above (object is a builtin representing the root class of everything, like Object in Java, in Python 2.2). Jython actually throws an ImportError, and prints out the above.

-b.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]