> In the meantime: could you tell us what is the result of typing "print obj" > and "print ootype.typeOf(obj)" at the pdb prompt?
I don't know if its still necessary, but: [translation] start debugger... > c:\dokumente und einstellungen\jan wedel\eigene dateien\repo\trunk\rialto\tool s\pypy-1.1.0\py\io\terminalwriter.py(40)SetConsoleTextAttribute() -> handle, attr) (Pdb+) print obj *** NameError: name 'obj' is not defined (Pdb+) print ootype.typeOf(obj) *** NameError: name 'ootype' is not defined (Pdb+) Anyhow, I will try to use the trunk version. Thanks so far! -J -----Ursprüngliche Nachricht----- Von: Antonio Cuni [mailto:[email protected]] Gesendet: Mittwoch, 7. Oktober 2009 17:10 An: Jan Wedel Cc: [email protected]; [email protected] Betreff: Re: [pypy-dev] Problems translating PyPy to Java Jan Wedel wrote: >> c:\dokumente und einstellungen\jan wedel\eigene > dateien\repo\trunk\rialto\tool > s\pypy-1.1.0\pypy\rpython\typesystem.py(153)deref() > -> assert isinstance(ootype.typeOf(obj), ootype.OOType) > (Pdb+) exit uhm, that's weird. I've just tried a jvm translation on a linux machine and it works fine. I don't have any windows machine with JDK to try it by myself, but I'm downloading it right now. In the meantime: could you tell us what is the result of typing "print obj" and "print ootype.typeOf(obj)" at the pdb prompt? Thanks, Anto _______________________________________________ [email protected] http://codespeak.net/mailman/listinfo/pypy-dev
