2013-10-07 51 views
0

我正在擴建,並收到此錯誤:壞約束1.2 grokcore.security> = 1.6.1

Bad constraint 1.2 grokcore.security>=1.6.1 

我難倒試圖找到其中>=1.6.1需求從何而來。我查看了構建-vvvv輸出中出現此錯誤之前所有egg的setup.py文件,無濟於事。 對於背景:我試圖創建一個新的構建來複制現有的網站。我無法使用原始構建,因爲我需要將其集成到現有的生產安裝中。但是最初的構建使用了grokcore.security 1.2,到目前爲止我使用的是所有其他發行版本的相同版本,所以我不知道爲什麼這個1.6.1會彈出,更糟糕的是,找出它的位置。

任何想法?

這裏是附加件-vvvv輸出的尾巴:

Getting required 'five.grok' 
    required by plone.directives.dexterity 1.0.2. 
Picked: five.grok = 1.3.1 
Getting required 'zope.app.content==3.4.0' 
We have the distribution that satisfies 'zope.app.content==3.4.0'. 
Getting required 'plone.alterego' 
    required by plone.dexterity 1.1.2. 
Picked: plone.alterego = 1.0 
Getting required 'plone.synchronize' 
    required by plone.dexterity 1.1.2. 
Picked: plone.synchronize = 1.0.1 
Getting required 'rwproperty' 
    required by plone.dexterity 1.1.2. 
Picked: rwproperty = 1.0 
Getting required 'z3c.relationfield>=0.4.2' 
    required by plone.app.relationfield 1.2.0. 
Picked: z3c.relationfield = 0.6.1 
Getting required 'plone.app.intid' 
    required by plone.app.relationfield 1.2.0. 
Picked: plone.app.intid = 1.0.1 
Getting required 'zope.password==3.5.1' 
We have the distribution that satisfies 'zope.password==3.5.1'. 
Getting required 'zope.app.dependable==3.4.0' 
We have the distribution that satisfies 'zope.app.dependable==3.4.0'. 
Getting required 'zope.app.debug==3.4.1' 
We have the distribution that satisfies 'zope.app.debug==3.4.1'. 
Getting required 'zope.app.appsetup==3.11' 
We have the distribution that satisfies 'zope.app.appsetup==3.11'. 
Getting required 'zope.app.basicskin==3.4.1' 
We have the distribution that satisfies 'zope.app.basicskin==3.4.1'. 
Getting required 'zope.browserresource==3.9.0' 
We have the distribution that satisfies 'zope.browserresource==3.9.0'. 
Getting required 'zope.app.interface==3.5.2' 
We have the distribution that satisfies 'zope.app.interface==3.5.2'. 
Getting required 'zope.browserpage==3.12.2' 
We have the distribution that satisfies 'zope.browserpage==3.12.2'. 
Getting required 'zope.hookable==3.4.1' 
We have the distribution that satisfies 'zope.hookable==3.4.1'. 
Getting required 'zope.app.security==3.7.3' 
We have the distribution that satisfies 'zope.app.security==3.7.3'. 
Getting required 'zope.app.authentication==3.6.1' 
We have the distribution that satisfies 'zope.app.authentication==3.6.1'. 
Getting required 'grokcore.viewlet==1.3' 
We have the distribution that satisfies 'grokcore.viewlet==1.3'. 
Getting required 'grokcore.view==1.12.2' 
We have the distribution that satisfies 'grokcore.view==1.12.2'. 
Getting required 'grokcore.site==1.1' 
We have the distribution that satisfies 'grokcore.site==1.1'. 
The constraint, 1.2, is not consistent with the requirement, 'grokcore.security>=1.6.1'. 
While: 
    Installing instance1. 
Error: Bad constraint 1.2 grokcore.security>=1.6.1 
+0

什麼版本的引腳(如果有)用於'grokcore.security'? –

+0

對不起,我應該在開頭說:我把它固定到1.2,這是錯誤所指的「錯誤約束」。然而,在我試圖複製它的網站上,它也被固定爲1.2。 – fulv

回答

1

原來我錯過了一個重要的版本銷:

five.grok = 1.1.1 

所以不是它得到了five.grok 1.3.1,它指定的要求grokcore.security>=1.6.1EGG-INFO/requires.txt,這不是我正在尋找的地方。

這是一個更好的錯誤信息會讓事情變得更容易的例子。