Ticket #556 (closed defect: Fixed)

Opened 2 years ago

Last modified 6 weeks ago

Value: list indices must be integers

Reported by: edahl Owned by: ecn
Priority: 3 - Medium Milestone: zenoss-1.1
Component: ZenModel Version: 0.23.0
Keywords: Cc:
Reviewed: yes Community Patch Attached:
Deployed @ Customer: Installer:
Microrelease Target: Specific ZenPack:
Microrelease Status: Documentation Note?: Not required
Regression:

Description

Type: TypeError
Value: list indices must be integers
URL: /zport/dmd/Networks
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/viewNetworkOverview used for /zport/dmd/Networks>
  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 677, in do_condition
  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 677, in do_condition
  Module TAL.TALInterpreter, line 250, in interpret
  Module TAL.TALInterpreter, line 279, in do_startEndTag
  Module TAL.TALInterpreter, line 308, in do_startTag
  Module TAL.TALInterpreter, line 365, in attrAction_tal
  Module Products.PageTemplates.TALES, line 221, in evaluate
URL: file:ZenWidgets/skins/zentablemanager/zenTableNavigation.pt
Line 32, Column 4
Expression: not:'batch/next'
Names:{'container': <ZentinelPortal at /zport>,
 'context': <IpNetwork at /zport/dmd/Networks>,
 'default': <Products.PageTemplates.TALES.Default instance at 0xb76c478c>,
 'here': <IpNetwork at /zport/dmd/Networks>,
 'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xb2d2f26c>,
 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0xb76cb7ec>,
 'nothing': None,
 'options': {'args': ()},
 'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0xb2d2f26c>,
 'request': <HTTPRequest, URL=http://eye.lab.netapp.com:8080/zport/dmd/Networks>,
 'root': <Application at >,
 'template': <FSPageTemplate at /zport/viewNetworkOverview used for /zport/dmd/Networks>,
 'traverse_subpath': [],
 'user': dlc}
  Module Products.PageTemplates.Expressions, line 246, in __call__
  Module Products.PageTemplates.TALES, line 221, in evaluate
URL: file:ZenWidgets/skins/zentablemanager/zenTableNavigation.pt
Line 32, Column 4
Expression: standard:'batch/next'
Names:{'container': <ZentinelPortal at /zport>,
 'context': <IpNetwork at /zport/dmd/Networks>,
 'default': <Products.PageTemplates.TALES.Default instance at 0xb76c478c>,
 'here': <IpNetwork at /zport/dmd/Networks>,
 'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xb2d2f26c>,
 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0xb76cb7ec>,
 'nothing': None,
 'options': {'args': ()},
 'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0xb2d2f26c>,
 'request': <HTTPRequest, URL=http://eye.lab.netapp.com:8080/zport/dmd/Networks>,
 'root': <Application at >,
 'template': <FSPageTemplate at /zport/viewNetworkOverview used for /zport/dmd/Networks>,
 'traverse_subpath': [],
 'user': dlc}
  Module Products.PageTemplates.Expressions, line 185, in __call__
  Module Products.PageTemplates.Expressions, line 173, in _eval
  Module Products.PageTemplates.Expressions, line 127, in _eval
__traceback_info__: batch
  Module Products.PageTemplates.Expressions, line 320, in restrictedTraverse
__traceback_info__: {'path': ['next'], 'TraversalRequestNameStack': []}
TypeError: list indices must be integers

Contact name: David Carmean
Comments: 
This was caused by entering '^10.' as a filter string in the /networks display.

Change History

Changed 2 years ago by edahl

If you get a chance to take a look at this great if not we can move to 1.1 -EAD

Changed 2 years ago by edahl

  • owner changed from edahl to ecn

Changed 2 years ago by edahl

  • milestone changed from zenoss-1.0 to zenoss-1.1

Changed 2 years ago by edahl

ecn: did we decide we couldn't reproduce this???

Changed 2 years ago by ecn

  • status changed from new to closed
  • resolution set to worksforme

Correct: I could not reproduce this from the description.

Changed 7 months ago by noel

  • resolution changed from worksforme to fixed

(In [9011]) *fixes#556 replaces the rainbow macro with the new horizontal one

Changed 6 weeks ago by bbibeault

  • documentation set to Not required
  • reviewed set
Note: See TracTickets for help on using tickets.