From bf33fa8f13a23837fce7d9a0be7e22a42a6e5ae7 2011-11-30 21:41:54 From: MinRK Date: 2011-11-30 21:41:54 Subject: [PATCH] add config file note to failed load_extension message --- diff --git a/IPython/core/shellapp.py b/IPython/core/shellapp.py index 83eccbe..f4cd644 100644 --- a/IPython/core/shellapp.py +++ b/IPython/core/shellapp.py @@ -168,7 +168,9 @@ class InteractiveShellApp(Configurable): self.log.info("Loading IPython extension: %s" % ext) self.shell.extension_manager.load_extension(ext) except: - self.log.warn("Error in loading extension: %s" % ext) + self.log.warn("Error in loading extension: %s" % ext + + "\nCheck your config files in %s" % self.profile_dir.location + ) self.shell.showtraceback() except: self.log.warn("Unknown error in loading extensions:")