[Cubicweb] Richstring error

Aurélien Campéas aurelien.campeas at logilab.fr
Tue Jul 21 10:48:26 CEST 2009


On Tue, Jul 21, 2009 at 11:54:10AM +0530, Dhaval Sharma wrote:
> 
> Wondering if this bug is closed or if there is a patch available for same
> 
>     from yams.buildobjs import (MetaUserEntityType, MetaUserRelationType,
> ImportError: cannot import name RichString

are you using the default branch of yams and cubicweb (rather than
stable )?

if not, you don't need the imports
otherwise :

from cubicweb.schema import RichString

should do ... until RichString is moved to yams (where it truly belongs)

> 
> 
> --
> With Warm Regards,
> Dhaval
> http://dsteps.blogspot.com
> http://www.linkedin.com/in/dhavalsharma
> http://carpoolkaro.appspot.com
> 

> _______________________________________________
> Cubicweb mailing list
> Cubicweb at lists.cubicweb.org
> http://lists.cubicweb.org/mailman/listinfo/cubicweb




More information about the Cubicweb mailing list