An issue on the Python tracker was recently closed. Afterwards, trying to view
the issue caused a traceback to be displayed. The URL was
http://bugs.python.org/issue1744398. Erik Forsberg took a quick look at it and
made a workaround, but suggested that I file a bug to track the issue. I do not
know what the underlying problem is. The error was:
exceptions.AttributeError: 'int' object has no attribute 'split'
Debugging information follows
1. A problem occurred in your template "issue.item.html".
Full traceback:
Traceback (most recent call last):
File
"/home/roundup/roundup-production//lib/python2.4/site-packages/roundup/cgi/client.py",
line 770, in renderContext
result = pt.render(self, None, None, **args)
File
"/home/roundup/roundup-production//lib/python2.4/site-packages/roundup/cgi/templating.py",
line 323, in render
getEngine().getContext(c), output, tal=1, strictinsert=0)()
File
"/home/roundup/roundup-production//lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 192, in __call__
self.interpret(self.program)
File
"/home/roundup/roundup-production//lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 236, in interpret
handlers[opcode](self, args)
File
"/home/roundup/roundup-production//lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 666, in do_useMacro
self.interpret(macro)
File
"/home/roundup/roundup-production//lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 236, in interpret
handlers[opcode](self, args)
File
"/home/roundup/roundup-production//lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 411, in
do_optTag_tal
self.do_optTag(stuff)
File
"/home/roundup/roundup-production//lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 396, in do_optTag
return self.no_tag(start, program)
File
"/home/roundup/roundup-production//lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 391, in no_tag
self.interpret(program)
File
"/home/roundup/roundup-production//lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 236, in interpret
handlers[opcode](self, args)
File
"/home/roundup/roundup-production//lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 689, in
do_defineSlot
self.interpret(slot)
File
"/home/roundup/roundup-production//lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 236, in interpret
handlers[opcode](self, args)
File
"/home/roundup/roundup-production//lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 632, in do_condition
self.interpret(block)
File
"/home/roundup/roundup-production//lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 236, in interpret
handlers[opcode](self, args)
File
"/home/roundup/roundup-production//lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 632, in do_condition
self.interpret(block)
File
"/home/roundup/roundup-production//lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 236, in interpret
handlers[opcode](self, args)
File
"/home/roundup/roundup-production//lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 632, in do_condition
self.interpret(block)
File
"/home/roundup/roundup-production//lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 236, in interpret
handlers[opcode](self, args)
File
"/home/roundup/roundup-production//lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 607, in do_loop_tal
while iterator.next():
File
"/home/roundup/roundup-production//lib/python2.4/site-packages/roundup/cgi/PageTemplates/TALES.py",
line 77, in next
if ZTUtils.Iterator.next(self):
File
"/home/roundup/roundup-production//lib/python2.4/site-packages/roundup/cgi/ZTUtils/Iterator.py",
line 46, in next
if not (hasattr(self, '_next') or self._prep_next(self)):
File
"/home/roundup/roundup-production//lib/python2.4/site-packages/roundup/cgi/ZTUtils/Iterator.py",
line 173, in prep_next
it._next = it.seq.next()
File
"/home/roundup/roundup-production//lib/python2.4/site-packages/roundup/cgi/templating.py",
line 797, in __getitem__
items = item.split('.', 1)
AttributeError: 'int' object has no attribute 'split'
|