Skip to content

Instantly share code, notes, and snippets.

@stream7
Created May 29, 2013 17:05
Show Gist options
  • Save stream7/5671932 to your computer and use it in GitHub Desktop.
Save stream7/5671932 to your computer and use it in GitHub Desktop.
bitbucket exception
$ git push --force
Counting objects: 375, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (274/274), done.
Writing objects: 100% (277/277), 47.32 KiB, done.
Total 277 (delta 199), reused 0 (delta 0)
remote: Traceback (most recent call last):
remote: File "/opt/python/domains/bitbucket.org/current/bitbucket/scripts/git/hooks/pre-receive", line 29, in <module>
remote: from bitbucket.apps.repo2.hooks import prehooks
remote: File "/opt/python/domains/bitbucket.org/current/bitbucket/apps/repo2/hooks.py", line 16, in <module>
remote: from bitbucket.apps.pullrequests.tasks import update_pullrequests
remote: File "/opt/python/domains/bitbucket.org/current/bitbucket/apps/pullrequests/tasks.py", line 9, in <module>
remote: from bitbucket.apps.compare.merge import MergeConflictError
remote: File "/opt/python/domains/bitbucket.org/current/bitbucket/apps/compare/merge.py", line 6, in <module>
remote: from bitbucket.apps.api.v10.decorators import (BadRequestException,
remote: File "/opt/python/domains/bitbucket.org/current/bitbucket/apps/api/v10/decorators.py", line 9, in <module>
remote: from bitbucket.apps.api.v10.helpers import deleted_response
remote: File "/opt/python/domains/bitbucket.org/current/bitbucket/apps/api/v10/helpers.py", line 9, in <module>
remote: from bitbucket.apps.api.v20.mappers import ObjectMapper
remote: File "/opt/python/domains/bitbucket.org/current/bitbucket/apps/api/v20/mappers.py", line 22, in <module>
remote: from bitbucket.apps.comments.templatetags.comments import markup, old_markup
remote: File "/opt/python/domains/bitbucket.org/current/bitbucket/apps/comments/templatetags/comments.py", line 10, in <module>
remote: from bitbucket.apps.repo2.templatetags.repo2 import markdown
remote: File "/opt/python/domains/bitbucket.org/current/bitbucket/apps/repo2/templatetags/repo2.py", line 35, in <module>
remote: from docutils.utils import urischemes
remote: File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/docutils/utils/__init__.py", line 20, in <module>
remote: from docutils.io import FileOutput
remote: File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/docutils/io.py", line 18, in <module>
remote: from docutils.utils.error_reporting import locale_encoding, ErrorString, ErrorOutput
remote: File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/docutils/utils/error_reporting.py", line 47, in <module>
remote: locale_encoding = locale.getlocale()[1] or locale.getdefaultlocale()[1]
remote: File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/locale.py", line 503, in getdefaultlocale
remote: return _parse_localename(localename)
remote: File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/locale.py", line 435, in _parse_localename
remote: raise ValueError, 'unknown locale: %s' % localename
remote: ValueError: unknown locale: UTF-8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment