Discussion:
enter zenoss system error
Eric Liu
2012-08-30 09:12:35 UTC
Permalink
Eric Liu [http://community.zenoss.org/people/hongfliu] created the discussion

"enter zenoss system error"

To view the discussion, visit: http://community.zenoss.org/message/68312#68312

--------------------------------------------------------------
Hi guys

             enter zenoss system error ,no item can be found .the error information is as follow ,please help me ..thanks

*Type: <type 'exceptions.AttributeError'>*
*Value: 'NoneType' object has no attribute 'getOrganizerName'*
Traceback (most recent call last):
  File "/opt/zenoss/lib/python/ZPublisher/Publish.py", line 126, in publish
    request, bind=1)
  File "/opt/zenoss/lib/python/ZPublisher/mapply.py", line 77, in mapply
    if debug is not None: return debug(object,args,context)
  File "/opt/zenoss/lib/python/ZPublisher/Publish.py", line 46, in call_object
    result=apply(object,args) # Type s<cr> to step into published object.
  File "/opt/zenoss/lib/python/Products/Five/browser/metaconfigure.py", line 476, in __call__
    return self.index(*args, **kw)
  File "/opt/zenoss/lib/python/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
    return self.im_func(im_self, *args, **kw)
  File "/opt/zenoss/Products/ZenWidgets/FileGzipper.py", line 85, in __call__
    return original(self, __instance, *args, **keywords)
  File "/opt/zenoss/lib/python/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
    sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
  File "/opt/zenoss/lib/python/zope/pagetemplate/pagetemplate.py", line 113, in pt_render
    strictinsert=0, sourceAnnotations=sourceAnnotations)()
  File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 271, in __call__
    self.interpret(self.program)
  File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 888, in do_useMacro
    self.interpret(macro)
  File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
    self.do_optTag(stuff)
  File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 518, in do_optTag
    return self.no_tag(start, program)
  File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 513, in no_tag
    self.interpret(program)
  File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 888, in do_useMacro
    self.interpret(macro)
  File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
    self.do_optTag(stuff)
  File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 518, in do_optTag
    return self.no_tag(start, program)
  File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 513, in no_tag
    self.interpret(program)
  File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 742, in do_insertStructure_tal
    structure = self.engine.evaluateStructure(expr)
  File "/opt/zenoss/lib/python/Products/PageTemplates/Expressions.py", line 218, in evaluateStructure
    text = super(ZopeContext, self).evaluateStructure(expr)
  File "/opt/zenoss/lib/python/zope/tales/tales.py", line 696, in evaluate
    return expression(self)
  File "/opt/zenoss/lib/python/zope/contentprovider/tales.py", line 80, in __call__
    return provider.render()
  File "/opt/zenoss/lib/python/zope/viewlet/manager.py", line 126, in render
    return u'\n'.join([viewlet.render() for viewlet in self.viewlets])
  File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.EnterpriseSkin-3.0.2-py2.7.egg/ZenPacks/zenoss/EnterpriseSkin/EntCheckIn.py", line 132, in render
    args = get_metrics(dmd)
  File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.EnterpriseSkin-3.0.2-py2.7.egg/ZenPacks/zenoss/EnterpriseSkin/EntCheckIn.py", line 76, in get_metrics
    index = "%s %s" % (d.getDeviceClassPath(), d.getProductionStateString())
  File "/opt/zenoss/Products/ZenModel/DeviceResultInt.py", line 67, in getDeviceClassPath
    return d.deviceClass().getOrganizerName()
AttributeError: 'NoneType' object has no attribute 'getOrganizerName'


--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/68312#68312]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...