[pypy-dev] Unable to get pypy sandbix running

kracekumar ramaraju kracethekingmaker at gmail.com
Sun Feb 12 01:59:31 CET 2012


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
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20120212/bf264467/attachment.html>


More information about the pypy-dev mailing list