Edgewall Software
Modify

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#9801 closed defect (cantfix)

ValueError: Extra data: line 1 column 17 - line 1 column 18 (char 17 - 18)

Reported by: prochat Owned by:
Priority: normal Milestone:
Component: general Version: 0.12
Severity: normal Keywords:
Cc: support@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

While doing a GET operation on /backlog/Sprint Backlog, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'bscope': u'S2 - Extend, integrate',
 'name': u'Sprint Backlog',
 'scope': None,
 'view': u'View'}

User agent: #USER_AGENT#

System Information

Trac 0.12
Agilo 1.3.1-PRO
Genshi 0.6
MySQL server: "5.0.77", client: "5.0.77", thread-safe: 1
MySQLdb 1.2.3
Python 2.4.3 (#1, Sep 3 2009, 15:37:37)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-46)]
setuptools 0.6c9
Subversion 1.4.2 (r22196)
jQuery #JQUERY#

Enabled Plugins

binary-agilo 1.3.1-PRO
TracAccountManager 0.3dev-r9347

Python Traceback

Traceback (most recent call last):
  File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 513, in _dispatch_request
  File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 235, in dispatch
  File "/usr/lib/python2.4/site-packages/binary_agilo-1.3.1_PRO-py2.4.egg/agilo/api/view.py", line 155, in process_request
    return self._call_filters_and_handler(req, handler)
  File "/usr/lib/python2.4/site-packages/binary_agilo-1.3.1_PRO-py2.4.egg/agilo/api/view.py", line 143, in _call_filters_and_handler
    data = handler(req) or {}
  File "/usr/lib/python2.4/site-packages/binary_agilo-1.3.1_PRO-py2.4.egg/agilo/scrum/backlog/web_ui.py", line 323, in do_get
    chart = self._get_and_prepare_burndown_chart_if_neccessary(req, backlog)
  File "/usr/lib/python2.4/site-packages/binary_agilo-1.3.1_PRO-py2.4.egg/agilo/scrum/backlog/web_ui.py", line 302, in _get_and_prepare_burndown_chart_if_neccessary
    widget.prepare_rendering(req)
  File "/usr/lib/python2.4/site-packages/binary_agilo-1.3.1_PRO-py2.4.egg/agilo/scrum/burndown/charts.py", line 165, in prepare_rendering
    self._populate_with_sprint_and_viewer_timezone(self.data['sprint_name'], req.tz)
  File "/usr/lib/python2.4/site-packages/binary_agilo-1.3.1_PRO-py2.4.egg/agilo/scrum/burndown/charts.py", line 175, in _populate_with_sprint_and_viewer_timezone
    container = ValueObject(
  File "/usr/lib/python2.4/site-packages/binary_agilo-1.3.1_PRO-py2.4.egg/agilo/scrum/burndown/charts.py", line 337, in _get_remaining_time_series
    return self.sp_controller.process_command(cmd_rem_times)
  File "/usr/lib/python2.4/site-packages/binary_agilo-1.3.1_PRO-py2.4.egg/agilo/api/controller.py", line 361, in process_command
    return command.execute(self, date_converter, as_key)
  File "/usr/lib/python2.4/site-packages/binary_agilo-1.3.1_PRO-py2.4.egg/agilo/api/controller.py", line 315, in execute
    return self._execute(controller, date_converter, as_key)
  File "/usr/lib/python2.4/site-packages/binary_agilo-1.3.1_PRO-py2.4.egg/agilo/scrum/sprint/controller.py", line 906, in _execute
    return aggregator.burndown_data_for_sprint(self.sprint, extend_until=end, filter_by_component=self.filter_by_component)
  File "/usr/lib/python2.4/site-packages/binary_agilo-1.3.1_PRO-py2.4.egg/agilo/scrum/burndown/model.py", line 166, in burndown_data_for_sprint
    filter_by_component=filter_by_component)
  File "/usr/lib/python2.4/site-packages/binary_agilo-1.3.1_PRO-py2.4.egg/agilo/scrum/burndown/model.py", line 182, in aggregate_changes_with_interval
    self._compute_aggregation_for_all_changes()
  File "/usr/lib/python2.4/site-packages/binary_agilo-1.3.1_PRO-py2.4.egg/agilo/scrum/burndown/model.py", line 200, in _compute_aggregation_for_all_changes
    self._compute_aggregation()
  File "/usr/lib/python2.4/site-packages/binary_agilo-1.3.1_PRO-py2.4.egg/agilo/scrum/burndown/model.py", line 279, in _compute_aggregation
    current_remaining_time += change.delta()
  File "/usr/lib/python2.4/site-packages/binary_agilo-1.3.1_PRO-py2.4.egg/agilo/scrum/burndown/model.py", line 98, in delta
    return self.parse_microformat()[0]
  File "/usr/lib/python2.4/site-packages/binary_agilo-1.3.1_PRO-py2.4.egg/agilo/scrum/burndown/model.py", line 83, in parse_microformat
    microformat = json.loads(self.value)
  File "build/bdist.linux-x86_64/egg/simplejson/__init__.py", line 305, in loads
  File "build/bdist.linux-x86_64/egg/simplejson/decoder.py", line 332, in decode
ValueError: Extra data: line 1 column 17 - line 1 column 18 (char 17 - 18)

Attachments (0)

Change History (2)

comment:1 by Remy Blank, 14 years ago

Cc: support@… added
Resolution: cantfix
Status: newclosed

Ooh, an AgiloForScrum issue! The first in a long time :)

comment:2 by robert.buchholz@…, 14 years ago

@rblank, thanks for the cc. We're doing what we can to keep bug reports low ;-)

@prochat, this sounds like a known bug in simplejson. If you are using the RedHat package from Fedora EPEL, make sure you have upgraded to 2.0.9-2.el5. If you compiled it yourself, you will have to patch it manually since the version that includes the fix (2.1) is not available for Python 2.4 — check https://bugzilla.redhat.com/show_bug.cgi?id=622835 for details.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.