Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-3744

Server-side python ImportError on pushing to repository

    XMLWordPrintable

Details

    Description

      Happened twice tonight, same error message both times:

      sam@[redacted] personal/2012/courses/cu-tsp/Code/TSP/output [master] > git p
      {{{
      #!python
      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!

      Attachments

        Activity

          People

            Unassigned Unassigned
            legacy-bitbucket-user Legacy Bitbucket Cloud User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: