id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc,release 11327,"TypeError: %d format: a number is required, not unicode",admin,Andrea Tomasini,"==== How to Reproduce ==== While doing a POST operation on `/worklog`, Trac issued an internal error. ''(please provide additional details here)'' Request parameters: {{{ {'__FORM_TOKEN': u'5cfc2baeef35b95030ea74de', 'source_url': u'/trac/ticket/5368', 'startwork': u'Start Work', 'ticket': u'5368'} }}} User agent: `Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Firefox/24.0` ==== System Information ==== || '''`Trac`''' || `1.0.1` || || '''`Agilo`''' || `0.9.11` || || '''`Genshi`''' || `0.6 (without speedups)` || || '''`MySQL`''' || `server: ""5.1.66-0+squeeze1"", client: ""5.1.66"", thread-safe: 1` || || '''`MySQLdb`''' || `1.2.4` || || '''`Python`''' || `2.6.6 (r266:84292, Dec 27 2010, 00:02:40) ` [[br]] `[GCC 4.4.5]` || || '''`setuptools`''' || `1.1.6` || || '''`jQuery`''' || `1.7.2` || ==== Enabled Plugins ==== || '''`agilo`''' || `0.9.11` || || '''`timingandestimationplugin`''' || `1.3.7` || || '''`TracAccountManager`''' || `0.4.3` || || '''`TracAutoComplete`''' || `0.1` || || '''`TracUserManagerPlugin`''' || `0.5dev-r12293` || || '''`TracWysiwyg`''' || `0.12.0.5-r13296` || || '''`worklog`''' || `0.3dev-r12358` || ==== Python Traceback ==== {{{ Traceback (most recent call last): File ""build/bdist.linux-i686/egg/trac/web/main.py"", line 497, in _dispatch_request dispatcher.dispatch(req) File ""build/bdist.linux-i686/egg/trac/web/main.py"", line 214, in dispatch resp = chosen_handler.process_request(req) File ""build/bdist.linux-i686/egg/worklog/webui.py"", line 126, in process_request if not mgr.start_work(req.args['ticket']): File ""build/bdist.linux-i686/egg/worklog/manager.py"", line 127, in start_work self.save_ticket(tckt, 'Automatically reassigning in order to start work.') File ""build/bdist.linux-i686/egg/worklog/manager.py"", line 81, in save_ticket tckt.save_changes(self.authname, msg, nowdt, cnum=str(cnum+1)) File ""/usr/local/lib/python2.6/dist-packages/agilo-0.9.11-py2.6.egg/agilo/ticket/model.py"", line 849, in save_changes self._check_business_rules() File ""/usr/local/lib/python2.6/dist-packages/agilo-0.9.11-py2.6.egg/agilo/ticket/model.py"", line 833, in _check_business_rules RuleEngine(self.env).validate_rules(self) File ""/usr/local/lib/python2.6/dist-packages/agilo-0.9.11-py2.6.egg/agilo/scrum/workflow/api.py"", line 61, in validate_rules debug(self, ""Called validate_rules(%s)"" % ticket) File ""/usr/local/lib/python2.6/dist-packages/agilo-0.9.11-py2.6.egg/agilo/ticket/model.py"", line 321, in __str__ repr(self.get_type())) TypeError: %d format: a number is required, not unicode }}}",defect,new,normal,AgiloForTracPlugin,normal,,,,