The trace is always the same; the os module ties to import 'curdir'. I logged to #pypy.
[EMAIL PROTECTED]:goal$ ./pypy-jvm -c 'import os.path; print os.path' 'import site' failed 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' [EMAIL PROTECTED]:goal$ ./pypy-jvm -c 'import os.path; print dir(os.path)' 'import site' failed 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' Marek On Wed, Jul 16, 2008 at 12:43, Antonio Cuni <[EMAIL PROTECTED]> wrote: > 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: >> >> [EMAIL PROTECTED]: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 > _______________________________________________ [email protected] http://codespeak.net/mailman/listinfo/pypy-dev
