New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 654574 link

Starred by 2 users

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug
ux



Sign in to add a comment

Result page is not rendered successfully

Project Member Reported by st...@chromium.org, Oct 10 2016

Issue description

https://findit-for-me.appspot.com/waterfall/build-failure?url=https://build.chromium.org/p/chromium.linux/builders/Linux%20Tests%20(dbg)(1)/builds/57802

Error log are as below.

  File "/base/data/home/runtimes/python27/python27_lib/versions/third_party/jinja2-2.6/jinja2/environment.py", line 894, in render
    return self.environment.handle_exception(exc_info, True)
  File "/base/data/home/apps/s~findit-for-me/waterfall-frontend:ddae8b6.396242009243993369/templates/waterfall/test_failure.html", line 1, in top-level template code
    {% extends "build_failure.html" %}
  File "/base/data/home/apps/s~findit-for-me/waterfall-frontend:ddae8b6.396242009243993369/templates/build_failure.html", line 77, in top-level template code
    {% block constant %}{% endblock constant %}
  File "/base/data/home/apps/s~findit-for-me/waterfall-frontend:ddae8b6.396242009243993369/templates/waterfall/test_failure.html", line 18, in block "constant"
    findit.analysisResult = {{analysis_result | tojson | safe}};
  File "/base/data/home/apps/s~findit-for-me/waterfall-frontend:ddae8b6.396242009243993369/common/base_handler.py", line 24, in ToJson
    return json.dumps(data, sort_keys=True)  # Sort by key to keep order on UI.
  File "/base/data/home/runtimes/python27/python27_dist/lib/python2.7/json/__init__.py", line 250, in dumps
    sort_keys=sort_keys, **kw).encode(obj)
  File "/base/data/home/runtimes/python27/python27_dist/lib/python2.7/json/encoder.py", line 209, in encode
    chunks = list(chunks)
  File "/base/data/home/runtimes/python27/python27_dist/lib/python2.7/json/encoder.py", line 434, in _iterencode
    for chunk in _iterencode_dict(o, _current_indent_level):
  File "/base/data/home/runtimes/python27/python27_dist/lib/python2.7/json/encoder.py", line 408, in _iterencode_dict
    for chunk in chunks:
  File "/base/data/home/runtimes/python27/python27_dist/lib/python2.7/json/encoder.py", line 408, in _iterencode_dict
    for chunk in chunks:
  File "/base/data/home/runtimes/python27/python27_dist/lib/python2.7/json/encoder.py", line 408, in _iterencode_dict
    for chunk in chunks:
  File "/base/data/home/runtimes/python27/python27_dist/lib/python2.7/json/encoder.py", line 332, in _iterencode_list
    for chunk in chunks:
  File "/base/data/home/runtimes/python27/python27_dist/lib/python2.7/json/encoder.py", line 408, in _iterencode_dict
    for chunk in chunks:
  File "/base/data/home/runtimes/python27/python27_dist/lib/python2.7/json/encoder.py", line 332, in _iterencode_list
    for chunk in chunks:
  File "/base/data/home/runtimes/python27/python27_dist/lib/python2.7/json/encoder.py", line 442, in _iterencode
    o = _default(o)
  File "/base/data/home/runtimes/python27/python27_dist/lib/python2.7/json/encoder.py", line 184, in default
    raise TypeError(repr(o) + " is not JSON serializable")
TypeError: <object object at 0x10da0078> is not JSON serializable
 

Comment 1 by st...@chromium.org, Apr 25 2017

Labels: effort-small ux
Project Member

Comment 2 by sheriffbot@chromium.org, Apr 26 2018

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment