Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pyrasite-memory-viewer: IOError: [Errno 2] File not found: '/tmp/pyrasite-23216-objects.json' #134

Open
spaceone opened this issue Dec 18, 2019 · 6 comments

Comments

@spaceone
Copy link

# pyrasite-memory-viewer 23216
Traceback (most recent call last):
  File "/usr/local/bin/pyrasite-memory-viewer", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/dist-packages/pyrasite/tools/memory_viewer.py", line 150, in main
    objects = loader.load(filename)
  File "/usr/lib/python2.7/dist-packages/meliae/loader.py", line 529, in load
    source, cleanup = files.open_file(source)
  File "/usr/lib/python2.7/dist-packages/meliae/files.py", line 32, in open_file
    source = open(filename, 'rb')
IOError: [Errno 2] File not found: '/tmp/pyrasite-23216-objects.json'

Afterwards the python process is not running anymore. :-(

@Fangyh09
Copy link

Same error

@zhangming8
Copy link

me too

2 similar comments
@zxiong
Copy link

zxiong commented Jul 6, 2020

me too

@yeyuqiu
Copy link

yeyuqiu commented Apr 20, 2021

me too

@qcymkxyc
Copy link

qcymkxyc commented Nov 7, 2021

same error with me

@sorrat
Copy link

sorrat commented Oct 16, 2023

Try

echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope

https://pyrasite.readthedocs.io/en/latest/Installing.html#ubuntu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants