1. Bitbucket
  2. Public Issue Tracker
  3. master

Issues

Issue #9443 resolved

Getting pull request commits via API fails

Damien Radtke
created an issue

Executing this HTTP request:

GET https://bitbucket.org/api/2.0/repositories/channeliq/salesforce/pullrequests/14/commits

received this as a response:

{
    "error": {
        "message": "Serialization failed for <orochi.git.ResumableWalker object at 0x96e8890>",
        "detail": "  File \"/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/piston/resource.py\", line 208, in __call__\n    result = checked_meth(request, *args, **kwargs)\n  File \"/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/piston/resource.py\", line 195, in checked_meth\n    return meth(*args, **kwargs)\n  File \"/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/newrelic-2.18.1.15/newrelic/hooks/component_piston.py\", line 33, in __call__\n    return self._nr_wrapped(*args, **kwargs)\n  File \"/opt/python/domains/bitbucket.org/2013-07-25/bitbucket/../bitbucket/apps/bb/decorators.py\", line 38, in wrap\n    return f(request, *a, **kwa)\n  File \"/opt/python/domains/bitbucket.org/2013-07-25/bitbucket/../bitbucket/apps/bb/decorators.py\", line 374, in wrapped_function\n    return func(*args, **kwargs)\n  File \"/opt/python/domains/bitbucket.org/2013-07-25/bitbucket/../bitbucket/apps/api/v10/decorators.py\", line 78, in wrapped_function\n    return func(*args, **kwargs)\n  File \"/opt/python/domains/bitbucket.org/2013-07-25/bitbucket/../bitbucket/apps/api/v10/decorators.py\", line 206, in wrapper\n    return f(self, request, *args, **kwargs)\n  File \"/opt/python/domains/bitbucket.org/2013-07-25/bitbucket/../bitbucket/apps/api/decorators.py\", line 35, in wrapper\n    val = func(self, request, *args, **kwargs)\n  File \"/opt/python/domains/bitbucket.org/2013-07-25/bitbucket/../bitbucket/apps/api/decorators.py\", line 66, in wrapper\n    result = func(self, request, *args, **kwargs)\n  File \"/opt/python/domains/bitbucket.org/2013-07-25/bitbucket/../bitbucket/apps/pullrequests/api/v20/handlers.py\", line 276, in read\n    repo=src['repo'])\n  File \"/opt/python/domains/bitbucket.org/2013-07-25/bitbucket/../bitbucket/apps/api/serializers.py\", line 83, in serialize\n    raise ValueError('Serialization failed for %r' % obj)\n",
        "id": "84857fd0ea394d4f908b41fed6af5e36"
    }
}

Comments (2)

  1. Log in to comment