Commit 09a3f06e by Martin Sundhaug

extractor: Improved warning for when the external extractor is not found, for…

extractor: Improved warning for when the external extractor is not found, for issues such as devttys0/binwalk#245
parent 21b9b392
...@@ -784,7 +784,7 @@ class Extractor(Module): ...@@ -784,7 +784,7 @@ class Extractor(Module):
except KeyboardInterrupt as e: except KeyboardInterrupt as e:
raise e raise e
except Exception as e: except Exception as e:
binwalk.core.common.warning("Extractor.execute failed to run external extractor '%s': %s" % (str(cmd), str(e))) binwalk.core.common.warning("Extractor.execute failed to run external extractor '%s': %s, '%s' might not be installed correctly" % (str(cmd), str(e), str(cmd)))
retval = None retval = None
if tmp is not None: if tmp is not None:
......
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