def load_plugins(self):
        # Check if BasePlugin template is present
        # or raise exception
        try:
            self.get_template('BasePlugin')
        except (TemplateNotFound, NoTemplatesConfigured):
            lg.error("Required BasePlugin template is not configured!")
            raise BasePluginTemplateNotFound

        for plugin, options in self.conf_plugins.iteritems():
            if options.has_key('Enabled') and options['Enabled'] == False:
                lg.info("Plugin %s is disabled, skipping.." % plugin)
                continue

            try:
                self.plugins[plugin] = self.load_plugin(plugin, options)
            except TemplateNotFound:
                lg.error("Can't find configured template %s for plugin %s, plugin not loaded" % (options['Template'], plugin))
                continue
            except NoTemplatesConfigured:
                lg.error("There are no templates configured, template %s is required by plugin %s, plugin not loaded" % (options['Template'], plugin))
                continue
            except AssertionError as e:
                lg.error("Plugin %s not loaded: AssertionError, %s" % (plugin, e))
                continue
            except Exception as e:
                lg.error("Plugin %s not loaded: %s" % (plugin, e))
                lg.exception(e)
                continue
            lg.info("Loaded plugin %s" % plugin)

        if len(self.plugins) == 0:
            lg.error("No plugins loaded!")
            raise NoRunningPlugins("No plugins loaded!")
First Sunday on or after dt.
dataset/ETHPy150Open gooddata/smoker/smoker/server/plugins/__init__.py/PluginManager.load_plugins--crossover with--dataset/ETHPy150Open googleanalytics/google-analytics-super-proxy/src/controllers/util/date_helper.py/NorthAmericanTzinfo._FirstSunday