Completed

#0826 error getting statistic  

An error occured when I tried to get a Statistic.


--------------------------------------------------
Error type: KeyError
Error value: u'Wartezustand'

<p>Traceback (innermost last):
<ul>

<li> Module ZPublisher.Publish, line 115, in publish</li>

<li> Module ZPublisher.mapply, line 88, in mapply</li>

<li> Module ZPublisher.Publish, line 41, in call_object</li>

<li> Module Shared.DC.Scripts.Bindings, line 311, in __call__</li>

<li> Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec</li>

<li> Module Products.PageTemplates.PageTemplateFile, line 113, in _exec</li>

<li> Module Products.CacheSetup.patch_cmf, line 68, in PT_pt_render</li>

<li> Module Products.CacheSetup.patch_utils, line 9, in call_pattern</li>

<li> Module Products.PageTemplates.PageTemplate, line 104, in pt_render<br />
<b><PageTemplateFile at /tracking/Statistics></b></li>

<li> Module TAL.TALInterpreter, line 238, in __call__</li>

<li> Module TAL.TALInterpreter, line 281, in interpret</li>

<li> Module TAL.TALInterpreter, line 749, in do_useMacro</li>

<li> Module TAL.TALInterpreter, line 281, in interpret</li>

<li> Module TAL.TALInterpreter, line 457, in do_optTag_tal</li>

<li> Module TAL.TALInterpreter, line 442, in do_optTag</li>

<li> Module TAL.TALInterpreter, line 437, in no_tag</li>

<li> Module TAL.TALInterpreter, line 281, in interpret</li>

<li> Module TAL.TALInterpreter, line 772, in do_defineSlot</li>

<li> Module TAL.TALInterpreter, line 281, in interpret</li>

<li> Module TAL.TALInterpreter, line 715, in do_condition</li>

<li> Module TAL.TALInterpreter, line 281, in interpret</li>

<li> Module TAL.TALInterpreter, line 457, in do_optTag_tal</li>

<li> Module TAL.TALInterpreter, line 442, in do_optTag</li>

<li> Module TAL.TALInterpreter, line 437, in no_tag</li>

<li> Module TAL.TALInterpreter, line 281, in interpret</li>

<li> Module TAL.TALInterpreter, line 691, in do_loop_tal</li>

<li> Module TAL.TALInterpreter, line 281, in interpret</li>

<li> Module TAL.TALInterpreter, line 691, in do_loop_tal</li>

<li> Module TAL.TALInterpreter, line 281, in interpret</li>

<li> Module TAL.TALInterpreter, line 531, in do_insertText_tal</li>

<li> Module Products.PageTemplates.TALES, line 227, in evaluateText</li>

<li> Module Products.PageTemplates.TALES, line 221, in evaluate<br />
<b>URL: Statistics</b><br />
<b>Line 84, Column 16</b><br />
<b>Expression: <PythonExpr here.unsafe_unicode_dict_getitem(sectioncount[1], status)></b><br />
<b>Names:</b><pre>{'container': <IssueTracker at /tracking>,
'context': <IssueTracker at /tracking>,
'default': <Products.PageTemplates.TALES.Default instance at 0xb71a31ac>,
'here': <IssueTracker at /tracking>,
'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xf07fa6c>,
'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0xb71462ac>,
'nothing': None,
'options': {'args': ()},
'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0xf07fa6c>,
'request': <HTTPRequest, URL=http://tracking.cdsoft.de/Statistics>;,
'root': <Application at >,
'template': <PageTemplateFile at /tracking/Statistics>,
'traverse_subpath': [],
'user': <IssueUser 'wolfi'>}</pre></li>

<li> Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__<br />
__traceback_info__: here.unsafe_unicode_dict_getitem(sectioncount[1], status)</li>

<li> Module Python expression "here.unsafe_unicode_dict_getitem(sectioncount[1], status)", line 1, in <expression></li>

<li> Module Products.IssueTrackerProduct.IssueTracker, line 356, in unsafe_unicode_dict_getitem</li>

</ul>KeyError: u'Wartezustand'
</p>

Submitted by: <Wolfgang Wolters>
24-Mar 2009
2 years and 10 months and 2 weeks old
Sections:Statistics
Type:bug report
Urgency:normal
Added Issue followup   -   <Peter Bengtsson> permanent link

Perhaps it's because the section Wartezustand has been removed. I was hoping that wouldn't cause a problem. Is that what you've done do you think?

20-Apr 2009
 
Added Issue followup   -   <Peter Bengtsson> permanent link

Is/was "Wartezustand" a status option?

20-Apr 2009
 
Changed status from Open to Completed   -   <Peter Bengtsson> permanent link

I think I've fixed the latest problem with this. Please test the latest version from SVN.

20-Apr 2009
 
 

Name:
Email:
Spambot prevention:number?number?number?number? enter these numbers
Tell a Friend [with more options]

Subscription to changes

 
 

Recent issues