Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #5848 (closed)

Opened 8 years ago

Closed 8 years ago

BUG: JSON serializable error

Reported by: atarkowska Owned by: atarkowska
Priority: major Milestone: OMERO-Beta4.3.1
Component: General Version: n.a.
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: 2011-07-07 (1)

Description (last modified by atarkowska)

("error in call","Traceback (most recent call last):
  File "/Users/ola/Dev/omero/components/tools/OmeroWeb/omeroweb/../omeroweb/webgateway/views.py", line 927, in wrap
    rv = simplejson.dumps(rv)
  File "/opt/local/lib/python2.4/site-packages/simplejson/__init__.py", line 230, in dumps
    return _default_encoder.encode(obj)
  File "/opt/local/lib/python2.4/site-packages/simplejson/encoder.py", line 200, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/opt/local/lib/python2.4/site-packages/simplejson/encoder.py", line 260, in iterencode
    return _iterencode(o, 0)
  File "/opt/local/lib/python2.4/site-packages/simplejson/encoder.py", line 177, in default
    raise TypeError(repr(o) + " is not JSON serializable")
TypeError: <django.http.HttpResponseServerError object at 0x2898370> is not JSON serializable
")

Change History (4)

comment:1 Changed 8 years ago by atarkowska

  • Description modified (diff)
  • Priority changed from minor to major

comment:2 Changed 8 years ago by cneves

  • Owner changed from cneves-x to atarkowska

This is actually the json call made failing and returning an HttpResponseServerError?, which the jsonp decorator function tries to serialize. Can you tell me what you are doing to trigger this, so I can double check that is all there is to it?

comment:3 Changed 8 years ago by jburel

  • Milestone changed from OMERO-Beta4.3 to OMERO-Beta4.3.1
  • Sprint changed from 2011-06-16 (14) to 2011-06-30 (1)

Moved from sprint 2011-06-16 (14)

comment:4 Changed 8 years ago by atarkowska

  • Resolution set to invalid
  • Status changed from new to closed

Can't reproduce it

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.78917 sec.)

We're Hiring!