[pypy-dev] problems running pypy-jvm

Antonio Cuni anto.cuni at gmail.com
Wed Jul 16 12:43:03 CEST 2008


Marek Paška wrote:
> You can download DEBUG=True version from here:
> 
> http://147.228.64.164/downloads/pypy-jvm.jar-debugOn

it works fine on my machine.

> The error message is now little more specific:
> 
> paskma at paskma:goal$ ./pypy-jvm
> 'import site' failed
> Python 2.4.1 (pypy 1.0.0 build 56547) on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> ``peephope optimizations are what a Sufficiently Smart Compiler uses''
> debug: exception-type:  ImportError
> debug: exception-value: cannot import name 'curdir'
> debug: exception-tb:    /home/data/opt/svnpypy/dist/lib-python/2.4.1/os.py:133
> Error calling sys.excepthook:
> debug: OperationError:
> debug:  operror-type: ImportError
> debug:  operror-value: cannot import name 'curdir'

weird. It fails when it tries to import curdir from os.path; could you 
try the following please?

./pypy-jvm -c 'import os.path; print os.path'
./pypy-jvm -c' import os.path; print dir(os.path)'


or maybe just come on #pypy on freenode, so we can try real time 
debugging over irc :-). My nick is antocuni.

ciao,
Anto



More information about the Pypy-dev mailing list