[pypy-dev] Unable to get pypy sandbix running

lahwran blendmaster1024 at gmail.com
Sun Feb 12 02:02:03 CET 2012


you need to point to the actual file location of pypy-c, such as ../goal/pypy-c.

On Sat, Feb 11, 2012 at 5:59 PM, kracekumar ramaraju
<kracethekingmaker at gmail.com> wrote:
>
> Hi
>
>  I am on ubuntu 11.10 on 32 bit OS. I ran all the procedures to get sanbox
> env.
>
> Now I am unable to run sandboxed interpreter.
>
> kracekumar at python-lover:~/pypy-pypy-2346207d9946/pypy/translator/sandbox$ ls
> autopath.py   __init__.py   interact.py       rsandbox.py   sandlib.py
> script.py  vfs.py   virtualtmp
> autopath.pyc  __init__.pyc  pypy_interact.py  rsandbox.pyc  sandlib.pyc
>  test       vfs.pyc
> kracekumar at python-lover:~/pypy-pypy-2346207d9946/pypy/translator/sandbox$ ls
> virtualtmp/
> script.py
> kracekumar at python-lover:~/pypy-pypy-2346207d9946/pypy/translator/sandbox$
> ./pypy_interact.py --tmp=virtualtmp pypy-c /tmp/script.py
> ['/bin/pypy-c', '/tmp/script.py']
> Traceback (most recent call last):
>   File "./pypy_interact.py", line 121, in <module>
>     tmpdir=tmpdir, debug=debug)
>   File "./pypy_interact.py", line 44, in __init__
>     executable=executable)
>   File
> "/home/kracekumar/pypy-pypy-2346207d9946/pypy/translator/sandbox/sandlib.py",
> line 423, in __init__
>     super(VirtualizedSandboxedProc, self).__init__(*args, **kwds)
>   File
> "/home/kracekumar/pypy-pypy-2346207d9946/pypy/translator/sandbox/sandlib.py",
> line 147, in __init__
>     env={})
>   File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
>     errread, errwrite)
>   File "/usr/lib/python2.7/subprocess.py", line 1239, in _execute_child
>     raise child_exception
> OSError: [Errno 2] No such file or directory
>
> Inside sandlib at line no 146, added print args. am i  missing some thing ?
> --
> Thanks & Regards
>
> "Talk is cheap, show me the code" -- Linus Torvalds
> kracekumar
> www.kracekumar.com
>
>
> _______________________________________________
> pypy-dev mailing list
> pypy-dev at python.org
> http://mail.python.org/mailman/listinfo/pypy-dev
>


More information about the pypy-dev mailing list