Roundup Tracker - Issues

Issue 1044529

classification
clicking on "(list)" gives error, probably after python upgr
Type: Severity: normal
Components: Web interface Versions:
process
Status: closed invalid
:
: richard : richard
Priority: normal :

Created on 2004-10-11 11:47 by anonymous, last changed 2004-10-12 23:45 by richard.

Messages
msg1470 Author: [hidden] (anonymous) Date: 2004-10-11 11:47
Templating Error 
 
 
exceptions.KeyError: ':startwith' 
 
 
Debugging information follows 
 
In python expression 
"int(request.form[':startwith'].value)" 
While evaluating the expression on line 18  
 
Current variables: 
 
 
templates 
<roundup.cgi.templating.Templates instance at 
0x4079068c> 
 
 
repeat 
<roundup.cgi.PageTemplates.TALES.SafeMapping 
instance at 0x40790b8c> 
 
 
context 
<HTMLClass(0x40790c4c) issue> 
 
 
default 
<roundup.cgi.PageTemplates.TALES.Default instance at 
0x4056710c> 
 
 
db 
<roundup.cgi.templating.HTMLDatabase instance at 
0x40790bac> 
 
 
utils 
<roundup.cgi.templating.utils instance at 0x407907cc> 
 
 
request 
<roundup.cgi.templating.HTMLRequest instance at 
0x4057cf0c> 
 
 
tracker 
<module '_roundup_tracker_1' from 
'/var/lib/roundup/tracker/__init__.pyo'> 
 
 
template 
<Roundup PageTemplate '_generic.help.html'> 
 
 
nothing 
None 
 
 
config 
<module '_roundup_tracker_1.config' from 
'/var/lib/roundup/tracker/config.pyo'> 
 
 
options 
{'ok_message': [], 'error_message': []} 
 
 
loop 
<roundup.cgi.PageTemplates.TALES.SafeMapping 
instance at 0x40790b8c> 
 
 
attrs 
{'action': '', 'tal:define': "start 
python:int(request.form[':startwith'].value);\n batch 
python:utils.Batch(context.list(), 500, start);\n props 
python:request.form['properties'].value.split(',')", 
'name': 'frm_help'} 
 
A problem occurred in your template 
"_generic.help.html". 
 
Full traceback: 
 
 
Traceback (most recent call last): 
  File 
"/usr/lib/python2.3/site-packages/roundup/cgi/client.py", 
line 526, in renderContext 
    result = pt.render(self, None, None, **args) 
  File 
"/usr/lib/python2.3/site-packages/roundup/cgi/templating.py", 
line 246, in render 
    getEngine().getContext(c), output, tal=1, 
strictinsert=0)() 
  File 
"/usr/lib/python2.3/site-packages/roundup/cgi/TAL/TALInterpreter.py", 
line 154, in __call__ 
    self.interpret(self.program) 
  File 
"/usr/lib/python2.3/site-packages/roundup/cgi/TAL/TALInterpreter.py", 
line 186, in interpret 
    handlers[opcode](self, args) 
  File 
"/usr/lib/python2.3/site-packages/roundup/cgi/TAL/TALInterpreter.py", 
line 402, in do_setLocal_tal 
    self.engine.setLocal(name, 
self.engine.evaluateValue(expr)) 
  File 
"/usr/lib/python2.3/site-packages/roundup/cgi/PageTemplates/TALES.py", 
line 226, in evaluate 
    v = expression(self) 
  File 
"/usr/lib/python2.3/site-packages/roundup/cgi/PageTemplates/PythonExpr.py", 
line 72, in __call__ 
    return f() 
  File "<string>", line 2, in f 
  File "/usr/lib/python2.3/cgi.py", line 552, in 
__getitem__ 
    raise KeyError, key 
KeyError: ':startwith' 
 
msg1471 Author: [hidden] (richard) Date: 2004-10-12 23:45
Logged In: YES 
user_id=6405

Copy the _generic.help.html file from the Roundup source 
directory templates/classic/html to your tracker's html 
directory. 
History
Date User Action Args
2004-10-11 11:47:15anonymouscreate