cluther wrote:
> On Mar 13, 2008, at 4:18 PM, webpass wrote:
>
> This is caused by an object existing in the componentSearch catalog,
> but not really existing anymore. You can try to fix it by running
> zendmd as the zenoss user and running the following commands:
>
> dmd.Devices.reIndex()
> commit()
I get this traceback when I run dmd.Devices.reIndex(), and now my zenperfsnmp
log shows only 285 devices when there should be about 570 or so:
Code:
>>> dmd.Devices.reIndex()
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/srv/zenoss/Products/ZenModel/DeviceClass.py", line 731, in reIndex
dev.index_object()
File "/srv/zenoss/Products/ZenModel/ZenModelRM.py", line 315, in index_object
cat.catalog_object(self, self.getPrimaryId())
File "usr/local/zenoss/lib/python/Products/ZCatalog/ZCatalog.py", line 567,
in catalog_object
File "usr/local/zenoss/lib/python/Products/ZCatalog/Catalog.py", line 360, in
catalogObject
File "/srv/zenoss/Products/ManagableIndex/ManagableIndex.py", line 231, in
index_object
val= self._evaluate(obj)
File "/srv/zenoss/Products/ManagableIndex/ManagableIndex.py", line 574, in
_evaluate
return self._standardizeValue(v,object)
File "/srv/zenoss/Products/ManagableIndex/ManagableIndex.py", line 578, in
_standardizeValue
return self._standardizeTerm(value,object,1)
File "/srv/zenoss/Products/ManagableIndex/ManagableIndex.py", line 534, in
_standardizeTerm
value = self._prenormalizeTerm(value, object)
File "/srv/zenoss/Products/ManagableIndex/ManagableIndex.py", line 557, in
_prenormalizeTerm
return normalizer._normalize(value, object)
File "/srv/zenoss/Products/ManagableIndex/Evaluation.py", line 132, in
_normalize
return evaluator._evaluate(value,object)
File "/srv/zenoss/Products/ManagableIndex/Evaluation.py", line 86, in
_evaluate
v= EvalAndCall.inheritedAttribute('_evaluate')(self,value,object)
File "/srv/zenoss/Products/ManagableIndex/Evaluation.py", line 58, in
_evaluate
return expr(context)
File "usr/local/zenoss/lib/python/Products/PageTemplates/Expressions.py",
line 185, in __call__
File "usr/local/zenoss/lib/python/Products/PageTemplates/Expressions.py",
line 173, in _eval
File "usr/local/zenoss/lib/python/Products/PageTemplates/Expressions.py",
line 127, in _eval
File "usr/local/zenoss/lib/python/Products/PageTemplates/Expressions.py",
line 334, in restrictedTraverse
AttributeError: 'int' object has no attribute 'lower'
Buh?[/code]
-------------------- m2f --------------------
Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=18523#18523
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users