首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >为什么GitZilla的update钩子会在push上抛出错误消息?

为什么GitZilla的update钩子会在push上抛出错误消息?
EN

Stack Overflow用户
提问于 2011-08-17 17:21:40
回答 1查看 681关注 0票数 0

配置Gitzilla网站上所述的所有内容。

我的git回购已经几周没问题了.布奇拉也很好..。

在结束了Gitzilla的配置之后,我进行了分支和测试,看看是否可以推送并记录.它给了我这个错误:

代码语言:javascript
复制
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'
EN

回答 1

Stack Overflow用户

发布于 2011-10-12 00:16:08

你需要安装pybugz -我也有同样的问题

git在这里https://github.com/williamh/pybugz

见规定规定.

要安装和运行GitZilla,您需要:

  • Python (用2.6.4测试,应该使用>=2.5)
  • pybugz (用0.8.0测试)
票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/7096876

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档