Commit eb893a69 authored by Luke Macken's avatar Luke Macken

Make the gui work even if we can't import meliae

parent 5c8aedf8
...@@ -611,6 +611,9 @@ class PyrasiteWindow(Gtk.Window): ...@@ -611,6 +611,9 @@ class PyrasiteWindow(Gtk.Window):
try: try:
objects = loader.load('/tmp/%d.objects' % proc.pid, objects = loader.load('/tmp/%d.objects' % proc.pid,
show_prog=False) show_prog=False)
except NameError:
log.debug("Meliae not available, continuing...")
return
except: except:
log.debug("Falling back to slower meliae object dump loader") log.debug("Falling back to slower meliae object dump loader")
objects = loader.load('/tmp/%d.objects' % proc.pid, objects = loader.load('/tmp/%d.objects' % proc.pid,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment