Templating Error exceptions.ValueError: second must be in 0..59 Debugging information follows While evaluating the standard:'context/submit' expression on line 126 Current variables: templates repeat false 0 context utils db nothing None i18n true 1 default request , 'classname': 'issue', 'special_char': '@', 'dispname': None, 'group': [], '_client': , 'template': 'item', 'input': , 'columns': [], 'sort': [], 'env': {'AUTH_TYPE': 'Basic', 'HTTP_COOKIE': 'author=kenny; BUGLIST=18%3A20%3A21%3A7%3A32%3A8; LASTORDER=bugs.bug_status%2Cbugs.priority%2Cmap_assigned_to.login_name%2Cbugs.bug_id; Bugzilla_logincookie=XXXXXXXX; Bugzilla_login=8; DEFAULTFORMAT=specific; __utma=XXXXXXXXX', 'SERVER_SOFTWARE': 'Apache/2.2.3 (Debian) DAV/2 SVN/1.4.2 mod_python/3.2.10 Python/2.4.4 PHP/5.2.0-8+etch11 mod_ssl/2.2.3 OpenSSL/0.9.8c mod_perl/2.0.2 Perl/v5.8.8', 'SCRIPT_NAME': '/issues/test', 'SERVER_SIGNATURE': '
Apache/2.2.3 (Debian) DAV/2 SVN/1.4.2 mod_python/3.2.10 Python/2.4.4 PHP/5.2.0-8+etch11 mod_ssl/2.2.3 OpenSSL/0.9.8c mod_perl/2.0.2 Perl/v5.8.8 Server at XXXXXXXXXXX Port 443
\n', 'REQUEST_METHOD': 'GET', 'PATH_INFO': 'issue82', 'SERVER_PROTOCOL': 'HTTP/1.1', 'QUERY_STRING': '', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'HTTP_ACCEPT_CHARSET': 'utf-8, utf-8;q=0.5, *;q=0.5', 'HTTP_USER_AGENT': 'Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.9 (like Gecko) (Kubuntu)', 'HTTP_CONNECTION': 'Keep-Alive', 'SERVER_NAME': 'XXXXXXXXXXXXX', 'REMOTE_ADDR': 'XXXXXXXXXXXX', 'PATH_TRANSLATED': '/var/www/issue82', 'SERVER_PORT': '443', 'SERVER_ADDR': 'XXXXXXXXXXXXX', 'DOCUMENT_ROOT': '/var/www', 'SCRIPT_FILENAME': '/var/trackers/test/dummy.py', 'SERVER_ADMIN': 'webmaster@localhost', 'REMOTE_USER': 'kenny', 'HTTP_HOST': 'XXXXXXXXXXXX', 'HTTPS': 'on', 'REQUEST_URI': '/issues/test/issue82', 'HTTP_ACCEPT': 'text/html, image/jpeg, image/png, text/*, image/*, */*', 'GATEWAY_INTERFACE': 'CGI/1.1', 'REMOTE_PORT': '4090', 'HTTP_ACCEPT_LANGUAGE': 'en', 'HTTP_ACCEPT_ENCODING': 'x-gzip, x-deflate, gzip, deflate'}, 'form': FieldStorage(None, None, []), 'nodeid': '82', 'base': 'https://XXXXXXXXXXXX/issues/test/', 'user': , 'search_text': None, 'pagesize': 50, 'language': ['en'], 'filterspec': {}, 'filter': [], 'client': }> tracker template config options {'ok_message': [], 'error_message': []} loop status_notresolved '-1,9,10,11' columns_showall 'id,priority,type,activity,title,creator,assignedto,status,milestone,component' attrs {'tal:replace': 'structure context/submit'} kw_edit 1 kw_edit_link [, , , , ] kw_create 1 columns 'id,activity,title,creator,status' A problem occurred in your template "issue.item.html". Full traceback: Traceback (most recent call last): File "/usr/local/lib/python2.4/site-packages/roundup/cgi/client.py", line 904, in renderContext result = pt.render(self, None, None, **args) File "/usr/local/lib/python2.4/site-packages/roundup/cgi/templating.py", line 327, in render getEngine().getContext(c), output, tal=1, strictinsert=0)() File "/usr/local/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py", line 192, in __call__ self.interpret(self.program) File "/usr/local/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py", line 236, in interpret handlers[opcode](self, args) File "/usr/local/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py", line 666, in do_useMacro self.interpret(macro) File "/usr/local/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py", line 236, in interpret handlers[opcode](self, args) File "/usr/local/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py", line 411, in do_optTag_tal self.do_optTag(stuff) File "/usr/local/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py", line 396, in do_optTag return self.no_tag(start, program) File "/usr/local/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py", line 391, in no_tag self.interpret(program) File "/usr/local/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py", line 236, in interpret handlers[opcode](self, args) File "/usr/local/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py", line 689, in do_defineSlot self.interpret(slot) File "/usr/local/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py", line 236, in interpret handlers[opcode](self, args) File "/usr/local/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py", line 632, in do_condition self.interpret(block) File "/usr/local/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py", line 236, in interpret handlers[opcode](self, args) File "/usr/local/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py", line 632, in do_condition self.interpret(block) File "/usr/local/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py", line 236, in interpret handlers[opcode](self, args) File "/usr/local/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py", line 564, in do_insertStructure_tal structure = self.engine.evaluateStructure(expr) File "/usr/local/lib/python2.4/site-packages/roundup/cgi/PageTemplates/TALES.py", line 227, in evaluate return expression(self) File "/usr/local/lib/python2.4/site-packages/roundup/cgi/PageTemplates/Expressions.py", line 194, in __call__ return self._eval(econtext) File "/usr/local/lib/python2.4/site-packages/roundup/cgi/PageTemplates/Expressions.py", line 189, in _eval return render(ob, econtext.vars) File "/usr/local/lib/python2.4/site-packages/roundup/cgi/PageTemplates/Expressions.py", line 95, in render ob = ob() File "/usr/local/lib/python2.4/site-packages/roundup/cgi/templating.py", line 861, in submit value=self.activity.local(0)) + '\n' + \ File "/usr/local/lib/python2.4/site-packages/roundup/cgi/templating.py", line 432, in input_xhtml return ''%' '.join(['%s="%s"'%(k,cgi.escape(str(v), True)) File "/usr/local/lib/python2.4/site-packages/roundup/cgi/templating.py", line 1215, in __str__ return self.plain() File "/usr/local/lib/python2.4/site-packages/roundup/cgi/templating.py", line 1593, in plain return str(self._value.local(offset)) File "/usr/local/lib/python2.4/site-packages/roundup/date.py", line 522, in local self.hour, self.minute, self.second, offset) File "/usr/local/lib/python2.4/site-packages/roundup/date.py", line 151, in _utc_to_local dt = datetime.datetime(y, m, d, H, M, int(S), tzinfo=UTC) ValueError: second must be in 0..59 ------------------------------------------- roundup> display issue82 assignedto: None component: 1 files: [] keyword: [] messages: ['74', '76'] milestone: None nosy: [] priority: 3 status: 9 superseder: [] title: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX type: 4 ------------------------------------------- roundup> history issue82 [('82', , '1', 'create', {}), ('82', , '2', 'set', {'messages': (('+', ['74']),)}), ('82', , '1', 'set', {'priority': '4', 'messages': (('+', ['76']),), 'title': 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'})] roundup> display msg74 author: 2 content: XXXXXXXXXXXXXXXXXXXXXXXXXXXX? date: 2008-09-11.14:01:03 files: [] inreplyto: None messageid: None recipients: [] summary: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX? type: None roundup> display msg76 author: 1 content: Yes date: 2008-09-11.14:02:58 files: [] inreplyto: None messageid: None recipients: [] summary: Yes type: None -------------------------------------------- roundup> history msg74 [('74', , '2', 'create', {}), ('74', , '2', 'link', ('issue', '82', 'messages'))] -------------------------------------------- roundup> history msg76 [('76', , '1', 'create', {}), ('76', , '1', 'link', ('issue', '82', 'messages')), ('76', , '1', 'set', {'date': })]