summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/ExtractArchive.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hooks/ExtractArchive.py')
-rw-r--r--module/plugins/hooks/ExtractArchive.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/module/plugins/hooks/ExtractArchive.py b/module/plugins/hooks/ExtractArchive.py
index eaa68b834..5bedc4293 100644
--- a/module/plugins/hooks/ExtractArchive.py
+++ b/module/plugins/hooks/ExtractArchive.py
@@ -95,6 +95,14 @@ class ExtractArchive(Hook):
names.append(p)
self.plugins.append(klass)
+ except OSError, e:
+ if e.errno == 2:
+ self.logInfo(_("No %s installed"))
+ else:
+ self.logWarning(_("Could not activate %s") % p, str(e))
+ if self.core.debug:
+ print_exc()
+
except Exception, e:
self.logWarning(_("Could not activate %s") % p, str(e))
if self.core.debug: