I have a problem with Zenoss 1.0.1, using the VM.

I've added a new manufacturer, Netgear, and I can add a product to the
manufacturer, but I can't then select that product.  The traceback is
shown below:

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: TypeError
Value: sequence item 0: expected string, NoneType found

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/viewProductClassOverview used for
/zport/dmd/Manufacturers/Netgear/products/FS726T>
  * 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 501, in do_insertText_tal
  * Module Products.PageTemplates.TALES, line 227, in evaluateText
  * Module Products.PageTemplates.TALES, line 221, in evaluate
    URL: file:ZenModel/skins/zenmodel/viewProductClassOverview.pt
    Line 23, Column 6
    Expression: <PythonExpr ','.join(here.productKeys)>
    Names:

    {'container': <ZentinelPortal at /zport>,
     'context': <HardwareClass at
/zport/dmd/Manufacturers/Netgear/products/FS726T>,
     'default': <Products.PageTemplates.TALES.Default instance at 0xb72777ec>,
     'here': <HardwareClass at
/zport/dmd/Manufacturers/Netgear/products/FS726T>,
     'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xb298cfcc>,
     'modules':
<Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at
0xb727c84c>,
     'nothing': None,
     'options': {'args': ()},
     'repeat': <Products.PageTemplates.TALES.SafeMapping object at
0xb298cfcc>,
     'request': <HTTPRequest,
URL=http://zenoss:8080/zport/dmd/Manufacturers/Netgear/products/FS726T>,
     'root': <Application at >,
     'template': <FSPageTemplate at /zport/viewProductClassOverview
used for /zport/dmd/Manufacturers/Netgear/products/FS726T>,
     'traverse_subpath': [],
     'user': graham}

  * Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
    __traceback_info__: ','.join(here.productKeys)
  * Module Python expression "','.join(here.productKeys)", line 1,
in <expression>

TypeError: sequence item 0: expected string, NoneType found

How do I fix this?

--
Regards,

Graham Bloice
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to