1. Bitbucket Website
  2. Public Issue Tracker
  3. master

Issues

Issue #6875 resolved

remote: ImportError: cannot import name managedrepo

Remy van Elst
created an issue

When trying to push changes to the repo raymii/book I get the following error in my terminal:

remy at gateway in ~/repo/ansibook (master)
$ git push
Counting objects: 7, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 52.26 KiB, done.
Total 4 (delta 0), 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 16, in <module>
remote:     from bitbucket.apps.repo2.hooks import prehooks
remote:   File "/opt/python/domains/bitbucket.org/current/bitbucket/apps/repo2/hooks.py", line 18, in <module>
remote:     from bitbucket.apps.repo2.featurebranches import FeatureBranchesNotAvailable
remote: ImportError: cannot import name managedrepo
To ssh://git@bitbucket.org/raymii/book.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'ssh://git@bitbucket.org/raymii/book.git'

I get this since yesterday evening, and still have it. This is my git version: $ git --version git version 1.7.12.4 (Apple Git-37)

Running on OS X 10.8 with macports.

Comments (2)

  1. Log in to comment