[Kimchi-devel] [PATCH] [WOK] Github #745: Making import error messages less useless
dhbarboza82 at gmail.com
dhbarboza82 at gmail.com
Thu Oct 29 20:48:58 UTC 2015
From: Daniel Henrique Barboza <dhbarboza82 at gmail.com>
Title says it all.
This is an experiment I've made by removing the package 'python-magic' and
then trying to boot WoK:
Failed to import plugin plugins.kimchi.KimchiRoot
Failed to import plugin plugins.ginger.Ginger
Today, there's absolutely no info of what happened. With this fix we'll get:
Failed to import plugin plugins.kimchi.KimchiRoot, error: Class plugins.kimchi.KimchiRoot can not be imported, error: No module named magic
Failed to import plugin plugins.ginger.Ginger, error: Class plugins.ginger.Ginger can not be imported, error: No module named magic
And then we can install the missing dependency right away.
Daniel Henrique Barboza (1):
Github #745: WoK: improve error message when importing plug-ins
src/wok/server.py | 17 ++++++++++-------
src/wok/utils.py | 7 +++++--
2 files changed, 15 insertions(+), 9 deletions(-)
--
2.4.3
More information about the Kimchi-devel
mailing list