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-gui run with error, #78

Open
tianmafly opened this issue Oct 29, 2018 · 0 comments
Open

pyrasite-gui run with error, #78

tianmafly opened this issue Oct 29, 2018 · 0 comments

Comments

@tianmafly
Copy link

I install th pyrasite with ubuntu14.
Pyrasite can work correctly.
But pyrasite-gui does not work.
I have done this:
apt-get install python-dbg python-pycallgraph python-gobject-dev gir1.2-webkit-3.0 python-meliae python-psutil.
echo 0 > /proc/sys/kernel/yama/ptrace_scope
pip install pyrasite pyrasite-gui

the error infomation:
tx-deepocean@tx-deepocean:/etc/apt/sources.list.d$ pyrasite-gui

(pyrasite-gui:12517): Gtk-CRITICAL **: gtk_box_pack: assertion 'gtk_widget_get_parent (child) == NULL' failed
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/pyrasite_gui/gui.py", line 599, in selection_cb
self.generate_description(title)
File "/usr/local/lib/python2.7/dist-packages/pyrasite_gui/gui.py", line 469, in generate_description
""" % (self.proc.title, p.status, p.getcwd(), ' '.join(p.cmdline),
AttributeError: 'Process' object has no attribute 'getcwd'
/usr/lib/python2.7/dist-packages/gi/overrides/GLib.py:523: Warning: g_object_ref: assertion 'object->ref_count > 0' failed
super(MainLoop, self).run()
/usr/lib/python2.7/dist-packages/gi/overrides/GLib.py:523: Warning: g_object_unref: assertion 'object->ref_count > 0' failed
super(MainLoop, self).run()

What is the wrong?
Thank you.

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

1 participant