[Erp5-users] Error in importation of Constraint

Tarek Ziadé webmaster at zopeur.org
Tue Jul 27 16:02:46 CEST 2004


Vincent Derrien wrote:

>Le mardi 27 Juillet 2004 15:39, Vincent Derrien a écrit :
>  
>
>>Le mardi 27 Juillet 2004 15:23, Tarek Ziadé a écrit :
>>    
>>
>>>Vincent Derrien wrote:
>>>      
>>>
>>>>Hi,
>>>>
>>>>I've installed ERP5 on a Zope 2.7.2 but when I'm launching runzope I've
>>>>the next error :
>>>>
>>>>File "/usr/local/www/Zope/Products/ERP5Type/Utils.py", line 39, in ?
>>>>  from Products.ERP5Type import Constraint
>>>>ImportError : cannot import name Constraint
>>>>
>>>>Do you have an idea about this error ?
>>>>
>>>>Best regards,
>>>>        
>>>>
>>>Hi
>>>
>>>this leans Zope don't know about Constraints
>>>
>>>Check if you have an empty __init__.py file in Constraints subfolder
>>>
>>>they have been taken out in the cvs tarball
>>>
>>>Regards
>>>
>>>Tarek
>>>      
>>>
>>Thanks for your response.
>>I've created empty __init__.py for Constraint and Interface.
>>After, I've installed psyco port of FreeBSD but there is a crash :
>>Fatal Python error: psyco: out of memory
>>kernel: pid 40956 (python), uid 80;; exited on signal 6
>>
>>Do you know this problem ?
>>
>>Thanks.
>>
>>    
>>
>>>_______________________________________________
>>>Erp5-users mailing list
>>>Erp5-users at erp5.org
>>>http://erp5.org/mailman/listinfo/erp5-users
>>>      
>>>
>
>After a search on Google, the 1.2 version of psyco has a bug but not the 
>1.1.1 ...
>
>  
>
oooh ok, i have psyco 1.1.1 :)




More information about the Erp5-users mailing list