lmacken / pyrasite

Inject code into running Python processes

Home Page:http://pyrasite.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pyrasite-gui run with error,

tianmafly opened this issue · comments

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.