WebApp Error: <class 'simplejson.decoder.JSONDecodeError'>: Expecting object: line 1 column 65534 (char 65534)

Issue #820 resolved
Vijeth Shetty created an issue
Module rhodecode.controllers.summary:141 in index
>>  run_task(get_commits_stats, c.dbrepo.repo_name, ts_min_y, ts_max_y)
Module rhodecode.lib.celerylib:79 in run_task
>>  return ResultWrapper(task(*args, **kwargs))
Module celery.task.base:241 in __call__
>>  return self.run(*args, **kwargs)
Module celery.app:141 in run
>>  return fun(*args, **kwargs)
Module rhodecode.lib.celerylib.tasks:2 in get_commits_stats
Module rhodecode.lib.celerylib:122 in __wrapper
>>  ret = func(*fargs, **fkwargs)
Module rhodecode.lib.celerylib.tasks:142 in get_commits_stats
>>  co_day_auth_aggr = json.loads(cur_stats.commit_activity)
Module _sj:451 in loads
>>  return _default_decoder.decode(s)
Module _sj.decoder:402 in decode
>>  obj, end = self.raw_decode(s, idx=_w(s, 0).end())
Module _sj.decoder:418 in raw_decode
>>  obj, end = self.scan_once(s, idx)
JSONDecodeError: Expecting object: line 1 column 65534 (char 65534)
CGI Variables
CONTENT_TYPE    '; charset="utf-8"'
HTTP_ACCEPT 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
HTTP_ACCEPT_CHARSET 'ISO-8859-1,utf-8;q=0.7,*;q=0.3'
HTTP_ACCEPT_ENCODING    'gzip,deflate,sdch'
HTTP_ACCEPT_LANGUAGE    'en-US,en;q=0.8'
HTTP_COOKIE '__utma=254890583.1512163462.1359575114.1359575114.1361914484.2; __utmz=254890583.1359575114.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); _mkto_trk=id:509-APS-230&token:_mch-apptio.com-1358206845399-83393; rhodecode=aa1fcabf0f9943b78d01175dc29d7a5d'
HTTP_HOST   'hg.apptio.com'
HTTP_REFERER    'https://hg.test.com/'
HTTP_USER_AGENT 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.22 (KHTML, like Gecko) Ubuntu Chromium/25.0.1364.160 Chrome/25.0.1364.160 Safari/537.22'
HTTP_X_FORWARDED_FOR    '10.115.112.35'
HTTP_X_FORWARDED_HOST   'hg.test.com'
HTTP_X_FORWARDED_SERVER 'hg.test.com'
PATH_INFO   '/test_repo/summary'
REMOTE_ADDR '10.115.16.136'
REQUEST_METHOD  'GET'
SERVER_NAME 'localhost'
SERVER_PORT '5000'
SERVER_PROTOCOL 'HTTP/1.0'
SERVER_SOFTWARE 'waitress'
WSGI Variables
application <beaker.middleware.SessionMiddleware object at 0x3ddf950>
beaker.get_session  <bound method SessionMiddleware._get_session of <beaker.middleware.SessionMiddleware object at 0x3ddf950>>
beaker.session  {'rhodecode_user': {'username': u'rfusco', 'is_authenticated': True, 'user_id': 17L}, '_accessed_time': 1365520478.6807389, '_creation_time': 1365520472.1091089}
paste.registry  <paste.registry.Registry object at 0x7fe342ff7d50>
paste.throw_errors  True
pylons.action_method    <bound method SummaryController.index of <rhodecode.controllers.summary.SummaryController object at 0x7fe34f5e65d0>>
pylons.controller   <rhodecode.controllers.summary.SummaryController object at 0x7fe34f5e65d0>
pylons.environ_config   {'session': 'beaker.session', 'cache': 'beaker.cache'}
pylons.pylons   <pylons.util.PylonsContext object at 0x7fe34f5e64d0>
pylons.routes_dict  {'action': u'index', 'controller': u'summary', 'repo_name': u'test_repo'}
routes.cached_hostinfo  {'host': 'hg.test.com', 'protocol': 'https'}
routes.route    <routes.route.Route object at 0x387e0d0>
routes.url  <routes.util.URLGenerator object at 0x7fe342ff7490>
webob._parsed_query_vars    (GET([]), '')
webob.adhoc_attrs   {'user': <AuthUser('id:17:rfusco|True')>, 'language': 'en-us'}
wsgi process    'Multithreaded'
wsgi._org_proto 'http'
wsgi.file_wrapper   <class 'waitress.buffers.ReadOnlyFileBasedBuffer'>
wsgiorg.routing_args    (<routes.util.URLGenerator object at 0x7fe342ff7490>, {'action': u'index', 'controller': u'summary', 'repo_name': u'test_repo'})

Comments (2)

  1. Log in to comment