0

Gitzilla Web サイトに記載されているようにすべてを構成しました。

私の git リポジトリは何週間も正常に動作しています... Bugzilla も正常に動作しています...

Gitzilla の構成を終了した後、分岐してテストして、プッシュできるかどうかを確認し、ログに記録されます...次のエラーが表示されます。

Counting objects: 57, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (42/42), done.
Writing objects: 100% (54/54), 5.59 KiB, done.
Total 54 (delta 16), reused 0 (delta 0)
remote: Traceback (most recent call last):
remote:   File "hooks/update", line 8, in <module>
remote:     load_entry_point('gitzilla==2.0', 'console_scripts', 'gitzilla-update')()
remote:   File "build/bdist.freebsd-8.2-RELEASE-amd64/egg/pkg_resources.py", line 318, in load_entry_point
remote:   File "build/bdist.freebsd-8.2-RELEASE-amd64/egg/pkg_resources.py", line 2221, in load_entry_point
remote:   File "build/bdist.freebsd-8.2-RELEASE-amd64/egg/pkg_resources.py", line 1954, in load
remote:   File "build/bdist.freebsd-8.2-RELEASE-amd64/egg/gitzilla/hookscripts.py", line 11, in <module>
remote:   File "build/bdist.freebsd-8.2-RELEASE-amd64/egg/gitzilla/hooks.py", line 9, in <module>
remote:   File "build/bdist.freebsd-8.2-RELEASE-amd64/egg/gitzilla/utils.py", line 10, in <module>
remote: ImportError: No module named bugz.bugzilla
remote: error: hook declined to update refs/heads/roger/gitzilla
To ssh://git@git.some.net/usr/local/git/some.git
 ! [remote rejected] roger/gitzilla -> roger/gitzilla (hook declined)
error: failed to push some refs to 'ssh://git@git.some.net/usr/local/git/some.git'
4

1 に答える 1

2

pybugz をインストールする必要があります-まったく同じ問題がありました

git リポジトリはこちら https://github.com/williamh/pybugz

要件を参照してください。

GitZilla をインストールして実行するには、次のものが必要です。

  • Python (2.6.4 でテスト済み、>=2.5 で動作するはず)
  • pybugz (0.8.0 でテスト済み)
于 2011-10-12T00:16:08.323 に答える