[Zope] Statistics and Missing.Value...
Kent Polk
kent@goathill.org
16 Jul 1999 21:41:50 GMT
When attempting to format Summary Statistics data with Missing.Value(s),
Missing.Value apparently has an incorrect type required for the
numeric format operations :
<!--
Error type:
Error value: illegal argument type for built-in operation
-->
File /usr/pkg/zope/lib/python/Shared/Endicor/Tables/Mining.py,
line 259, in summary_table_html
File /usr/pkg/zope/lib/python/DocumentTemplate/DT_String.py,
line 513, in __call__
(Object: <string>)
File /usr/pkg/zope/lib/python/DocumentTemplate/DT_In.py,
line 683, in renderwob
(Object: data())
File /usr/pkg/zope/lib/python/DocumentTemplate/DT_Var.py,
line 271, in render
(Object: max-PNTR)
(Info: ('max-PNTR', None, {'fmt': '%d', '': 'max-PNTR'}))
TypeError: (see above)
So my Summary Statistics method is expecting to format a numeric
value for 'max-PNTR' but it fails because the value isn't a number.
Any Suggestions?
Thanks