Thanks jason
that's helped do the commit correctly
Code:
[EMAIL PROTECTED] ~]$ zendmd
Welcome to zenoss dmd command shell!
use zhelp() to list commands
>>> for p in dmd.ZenPackManager.packs():
... p.manager.obj = dmd.ZenPackManager # this line indented 1 space
...
>>> commit()
sadly I'm still getting this error on the ZenPacks screen
Code:
Type: DistributionNotFound
Value: ZenPacks.zenoss.HttpMonitor
Traceback (innermost last):
* Module ZPublisher.Publish, line 114, in publish
* Module ZPublisher.mapply, line 88, in mapply
* Module ZPublisher.Publish, line 40, in call_object
* Module Shared.DC.Scripts.Bindings, line 311, in __call__
* Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
* Module Products.CMFCore.FSPageTemplate, line 195, in _exec
* Module Products.CMFCore.FSPageTemplate, line 134, in pt_render
* Module Products.PageTemplates.PageTemplate, line 104, in pt_render
<FSPageTemplate at /zport/viewZenPacks used for /zport/dmd/ZenPackManager>
* Module TAL.TALInterpreter, line 206, in __call__
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 711, in do_useMacro
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 426, in do_optTag_tal
* Module TAL.TALInterpreter, line 411, in do_optTag
* Module TAL.TALInterpreter, line 406, in no_tag
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 711, in do_useMacro
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 426, in do_optTag_tal
* Module TAL.TALInterpreter, line 411, in do_optTag
* Module TAL.TALInterpreter, line 406, in no_tag
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 734, in do_defineSlot
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 426, in do_optTag_tal
* Module TAL.TALInterpreter, line 411, in do_optTag
* Module TAL.TALInterpreter, line 406, in no_tag
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 734, in do_defineSlot
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 426, in do_optTag_tal
* Module TAL.TALInterpreter, line 411, in do_optTag
* Module TAL.TALInterpreter, line 406, in no_tag
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 426, in do_optTag_tal
* Module TAL.TALInterpreter, line 411, in do_optTag
* Module TAL.TALInterpreter, line 406, in no_tag
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 711, in do_useMacro
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 426, in do_optTag_tal
* Module TAL.TALInterpreter, line 411, in do_optTag
* Module TAL.TALInterpreter, line 406, in no_tag
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 734, in do_defineSlot
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 426, in do_optTag_tal
* Module TAL.TALInterpreter, line 411, in do_optTag
* Module TAL.TALInterpreter, line 406, in no_tag
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 653, in do_loop_tal
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 477, in do_setLocal_tal
* Module Products.PageTemplates.TALES, line 221, in evaluate
URL: file:ZenModel/skins/zenmodel/viewZenPacks.pt
Line 33, Column 5
Expression: <PythonExpr not hasattr(pack,'isBroken') or pack.isBroken()>
Names:
{'container': <ZentinelPortal at /zport>,
'context': <ZenPackManager at /zport/dmd/ZenPackManager>,
'default': <Products.PageTemplates.TALES.Default instance at 0xb7266a2c>,
'here': <ZenPackManager at /zport/dmd/ZenPackManager>,
'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xb3cf030c>,
'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
instance at 0xb726aa8c>,
'nothing': None,
'options': {'args': ()},
'repeat': <Products.PageTemplates.TALES.SafeMapping object at
0xb3cf030c>,
'request': <HTTPRequest,
URL=http://zenoss.actional.com:8080/zport/dmd/ZenPackManager/viewZenPacks>,
'root': <Application at >,
'template': <FSPageTemplate at /zport/viewZenPacks used for
/zport/dmd/ZenPackManager>,
'traverse_subpath': [],
'user': hrant}
* Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
__traceback_info__: not hasattr(pack,'isBroken') or pack.isBroken()
* Module Python expression "not hasattr(pack,'isBroken') or
pack.isBroken()", line 1, in <expression>
* Module Products.ZenModel.ZenPack, line 812, in isBroken
* Module Products.ZenModel.ZenPack, line 616, in path
* Module Products.ZenModel.ZenPack, line 729, in getModule
* Module Products.ZenModel.ZenPack, line 712, in getEntryPoint
* Module Products.ZenModel.ZenPack, line 702, in getDistribution
* Module pkg_resources, line 229, in get_distribution
* Module pkg_resources, line 115, in get_provider
* Module pkg_resources, line 585, in require
* Module pkg_resources, line 483, in resolve
DistributionNotFound: ZenPacks.zenoss.HttpMonitor
Thanks for your help
-------------------- m2f --------------------
Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=20385#20385
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users