Skip navigation
2966 Views 2 Replies Latest reply: Jan 11, 2011 12:09 PM by cspencer RSS
cspencer Rank: White Belt 7 posts since
Nov 10, 2010
Currently Being Moderated

Jan 5, 2011 1:47 PM

ERROR zen.CommandConfig: Could not load plugin

Hi all,


I'm trying to write a command parser plugin for my ZenPack and am running into some trouble. When it tries to load the plugin I get the following error message in zenhub.log:


ERROR zen.CommandConfig: Could not load ZenPacks.My.ZenPack.parsers.MyPlugin plugin


The code behind this message is in Products/ZenHub/services/, and is as follows:


ploader = getParserLoader(dmd, parserName)

if ploader is None:

    log.error("Could not load %s plugin", parserName)


getParserLoader() is:


return MonitoringManager.getInstance().getPluginLoader(dmd.ZenPackManager.packs(), modPath)


However, duplicating that in zendmd it seems to work (i.e., it does not return None):


>>> MonitoringManager.getInstance().getPluginLoader(dmd.ZenPackManager.packs(), 'ZenPacks.My.ZenPack.parsers.MyPlugin')

<Products.DataCollector.Plugins.PluginLoader instance at 0xc012d4c>

Can someone shed some light onto this for me?

More Like This

  • Retrieving data ...


  • Correct Answers - 4 points
  • Helpful Answers - 2 points