id summary reporter owner description type status priority milestone component version severity resolution keywords cc branch changelog apichanges internalchanges 12704 TypeError: unicode argument expected, got 'str' anonymous Ryan J Ollos "Creating a new report with an empty query field: {{{ Traceback (most recent call last): File ""/trac/trunk/trac/web/main.py"", line 630, in _dispatch_request dispatcher.dispatch(req) File ""/trac/trunk/trac/web/main.py"", line 252, in dispatch resp = chosen_handler.process_request(req) File ""/trac/trunk/trac/ticket/report.py"", line 190, in process_request template, data, content_type = self._render_view(req, id) File ""/trac/trunk/trac/ticket/report.py"", line 422, in _render_view res = self.execute_paginated_report(req, id, sql, args, limit, offset) File ""/trac/trunk/trac/ticket/report.py"", line 659, in execute_paginated_report sql, args, missing_args = self.sql_sub_vars(sql, args) File ""/trac/trunk/trac/ticket/report.py"", line 846, in sql_sub_vars sql_io.write(sub_vars_re.sub(repl, expr)) TypeError: unicode argument expected, got 'str' }}} " defect assigned normal 1.3.2 report system 1.3dev normal Fixed `TypeError` when report is saved when an empty SQL query.