remote: ImportError: cannot import name managedrepo

Remy van Elst avatarRemy 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
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.