[Erp5-users] Error in importation of Constraint

Vincent Derrien vincent at ahoup.net
Tue Jul 27 15:39:32 CEST 2004


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

-- 
Vincent Derrien
vincent at ahoup.net



More information about the Erp5-users mailing list