1. Bitbucket
  2. Public Issue Tracker
  3. master
  4. Issues


Issue #3744 resolved

Server-side python ImportError on pushing to repository

created an issue

Happened twice tonight, same error message both times:

sam@[redacted] personal/2012/courses/cu-tsp/Code/TSP/output [master] > git p {{{


Counting objects: 11, done. Delta compression using up to 2 threads. Compressing objects: 100% (6/6), done. Writing objects: 100% (6/6), 549 bytes, done. Total 6 (delta 5), 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 9, in <module> remote: from bitbucket.apps.repo2.hooks import prehooks remote: ImportError: No module named bitbucket.apps.repo2.hooks To git@bitbucket.org:markusschanta/cu-tsp.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'git@bitbucket.org:markusschanta/cu-tsp.git' }}}

Hope this helps!

Comments (2)

  1. Log in to comment