So, what tag is that. I tried updating from Trunk and that is completely hosed (from an interface stand-point any way). I just co'd svn/tags/zenoss-1.0.0/Products and am getting the exact same error.
Kristopher Dick -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Stevens Sent: Thursday, 16 November 2006 07:43 To: General discussion of using zenoss system Subject: Re: [zenoss-users] (no subject) Kristopher, This bug was fixed in the trunk on 11/3. If you don't want to upgrade to the latest release you might try adding a line to your copy of $ZENHOME/Products/ZenModel/MonitorClass.py: class MonitorClass(ZenModelRM, Folder): #isInTree = 1 meta_type = "MonitorClass" sub_class = 'MonitorClass' # <-- Try adding this line -jason On Nov 16, 2006, at 10:23 AM, Kristopher D. Dick wrote: > Any idea why I'm getting the following text when I click "Monitors:" > > Zenoss Error > > An error was encountered while publishing this resource. Please use > the form > below to submit details of this error to Zenoss, Inc. > > Type: AttributeError > Value: sub_class > > 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.ZenModelBase, line 49, 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/monitorList used for /zport/dmd/ > Monitors> > * 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 477, in do_setLocal_tal > * Module Products.PageTemplates.TALES, line 221, in evaluate > URL: file:ZenModel/skins/zenmodel/monitorList.pt > Line 5, Column 0 > Expression: <PythonExpr here.objectSubValues()> > Names: > > {'container': <ZentinelPortal at /zport>, > 'context': <MonitorClass at /zport/dmd/Monitors>, > 'default': <Products.PageTemplates.TALES.Default instance at > 0xb7490fcc>, > 'here': <MonitorClass at /zport/dmd/Monitors>, > 'loop': <Products.PageTemplates.TALES.SafeMapping object at > 0xb39067ec>, > 'modules': > <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter > instance at 0xb749c04c>, > 'nothing': None, > 'options': {'args': ()}, > 'repeat': <Products.PageTemplates.TALES.SafeMapping object at > 0xb39067ec>, > 'request': <HTTPRequest, > URL=http://zenoss.atgcorporate.com:8080/zport/dmd/Monitors>, > 'root': <Application at >, > 'template': <FSPageTemplate at /zport/monitorList used for > /zport/dmd/Monitors>, > 'traverse_subpath': [], > 'user': kdick} > > * Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__ > __traceback_info__: here.objectSubValues() > * Module Python expression "here.objectSubValues()", line 1, in > <expression> > * Module Products.ZenModel.MonitorClass, line 109, in > objectSubValues > > AttributeError: sub_class > > > _______________________________________________ > zenoss-users mailing list > [email protected] > http://lists.zenoss.org/mailman/listinfo/zenoss-users _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
