Commit f4ca5008 authored by Luke Macken's avatar Luke Macken

Add an error message if we can't import meliae

parent f864034d
......@@ -560,7 +560,9 @@ class PyrasiteWindow(Gtk.Window):
"tmp = '/tmp/%d' % os.getpid()",
"scanner.dump_all_objects(tmp + '.json')",
"shutil.move(tmp + '.json', tmp + '.objects')"])
proc.cmd(cmd)
output = proc.cmd(cmd)
if 'No module named meliae' in output:
log.error('Error: %s is unable to import `meliae`' % proc.title.strip())
self.update_progress(0.35)
# Clear previous model
......
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