Unable to merge pull request (An unexpected error occurred.)

Issue #9917 resolved
K‌arol Wrótniak
created an issue

When I try to merge pull request using online editor the following error is shown:
Repository: https://bitbucket.org/MichalLankof/test-application/pull-request/1/mainactivityjava-edited-online-with/diff

In developer console I see that following request https://bitbucket.org/api/1.0/repositories/MichalLankof/test-application/pullrequests/tasks/0f610f8a-3bbc-4878-819a-e21be217fba9?_=1405002308681 fails with HTTP 500:

{"error": {"message": "name, email or commit message not provided", "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-\", line 33, in __call__\n    return self._nr_wrapped(*args, **kwargs)\n  File \"/opt/python/domains/bitbucket.org/2013-11-26/bitbucket/../bitbucket/apps/api/v10/handlers.py\", line 5317, in read\n    result = taskresult.get()\n  File \"/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/celery/result.py\", line 152, in get\n    interval=interval)\n  File \"/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/celery/backends/base.py\", line 186, in wait_for\n    raise result\n", "id": "4b584cda18d94229980da2587f82ef16"}}

Maybe is due to my username?

Comments (3)

  1. Abhin Chhabra staff

    Hi @K‌arol Wrótniak

    It seems like you've discovered a bug in our system. The error is because of your name. If you use something other than spaces in your name (first-name and last-name in your account settings), you should be able to merge without problems.

    I apologize for the inconvenience.

  2. Abhin Chhabra staff

    Since the fix is known, I'm going to mark this issue as resolved and make an internal issue about the bug. Please reopen the issue if my fix doesn't work.

    Thank you for taking the time to report this issue.

  3. Log in to comment