Reinstalled zenoss on a new computer. All Zenoss services load, all devices of
interest can be loaded.
Clicking any network interface or perf tab for any device (except UPSs, oddly)
gives the error:
Type: NameError
Value: global name 'gp' is not defined
followed by:
* Module ZPublisher.Publish, line 114, in publish
* Module ZPublisher.mapply, line 88, in mapply
* Module ZPublisher.Publish, line 40, in call_object
* Module Products.ZenModel.ZenModelBase, line 63, in __call__
* 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/viewFileSystem used for
/zport/dmd/Devices/Server/Windows/devices/computer.domain.coml/os/filesystems/C__
Label_OS Serial Number 9866d3b2>
* 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 677, in do_condition
* 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 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 651, in do_loop_tal
* Module Products.PageTemplates.TALES, line 206, in setRepeat
* Module Products.PageTemplates.TALES, line 221, in evaluate
URL: file:ZenModel/skins/zenmodel/viewPerformanceDetail.pt
Line 46, Column 4
Expression: <PythonExpr here.getDefaultGraphDefs(drange=drange)>
Names:
{'container': <ZentinelPortal at /zport>,
'context': <FileSystem at
/zport/dmd/Devices/Server/Windows/devices/computer.domain.com/os/filesystems/C__
Label_OS Serial Number 9866d3b2>,
'default': <Products.PageTemplates.TALES.Default instance at 0xb751bf8c>,
'here': <FileSystem at
/zport/dmd/Devices/Server/Windows/devices/computer.domain.com/os/filesystems/C__
Label_OS Serial Number 9866d3b2>,
'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xa725c6c>,
'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
instance at 0xb751e1cc>,
'nothing': None,
'options': {'args': ()},
'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0xa725c6c>,
'request': <HTTPRequest,
URL=http://ub-zenoss:8080/zport/dmd/Devices/Server/Windows/devices/computer.domain.com/os/filesystems/C__%20Label_OS%20%20Serial%20Number%209866d3b2>,
'root': <Application at >,
'template': <FSPageTemplate at /zport/viewFileSystem used for
/zport/dmd/Devices/Server/Windows/devices/computer.domain.com/os/filesystems/C__
Label_OS Serial Number 9866d3b2>,
'traverse_subpath': [],
'user': admin}
* Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
__traceback_info__: here.getDefaultGraphDefs(drange=drange)
* Module Python expression "here.getDefaultGraphDefs(drange=drange)", line
1, in <expression>
* Module Products.ZenModel.RRDView, line 200, in getDefaultGraphDefs
* Module Products.ZenModel.RRDView, line 64, in getGraphDefUrl
* Module Products.ZenModel.PerformanceConf, line 224, in performanceGraphUrl
* Module Products.ZenModel.GraphDefinition, line 426, in getGraphCmds
* Module Products.ZenModel.ThresholdGraphPoint, line 120, in getGraphCmds
* Module Products.ZenModel.MinMaxThreshold, line 255, in getGraphElements
Attempting to make a report on Interface Utilization gives:
Type: TypeError
Value: unsupported operand type(s) for *: 'NoneType' and 'int'
Threshold report gives:
Type: NameError
Value: global name 'gp' is not defined
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 Products.ZenModel.Report, line 93, in __call__
* Module Products.PageTemplates.PageTemplate, line 104, in pt_render
<ZopePageTemplate at /zport/dmd/Reports/Performance Reports/Threshold
Summary/Threshold Summary>[...]
Anyone have an idea of what is wrong? On the old install everything worked
(reinstalled after loading a zenpack seized the system) and that was with the
same instructions as this time.
Thanks in advance.
-------------------- m2f --------------------
Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=16725#16725
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users