Sandeep_Krishnan
2012-10-30 08:45:33 UTC
Sandeep_Krishnan [http://community.zenoss.org/people/Sandeep_Krishnan] created the discussion
"After login to zenoss getting following error"
To view the discussion, visit: http://community.zenoss.org/message/69591#69591
--------------------------------------------------------------
Hi,
    After doing a login to zenoss getting following screen. check the screen shot. Where can i start debuging this problem.The complete error message is given below.Please help :-/
Type: <type 'exceptions.AttributeError'>
Value: productionState
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 73, in get_metrics
   if d.productionState < 0:
AttributeError: productionState
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/69591#69591]
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]
"After login to zenoss getting following error"
To view the discussion, visit: http://community.zenoss.org/message/69591#69591
--------------------------------------------------------------
Hi,
    After doing a login to zenoss getting following screen. check the screen shot. Where can i start debuging this problem.The complete error message is given below.Please help :-/
Type: <type 'exceptions.AttributeError'>
Value: productionState
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 73, in get_metrics
   if d.productionState < 0:
AttributeError: productionState
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/69591#69591]
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]