Stephan Richter wrote:
> On Tuesday 10 February 2009, Laurent Mignon wrote:
>> With the replacement of zope.app.component import with zope.site, it's
>> no more possible to use z3c.form with Zope2 / Plone :-(
> 
> Thanks for getting our attention on this. I consider this a show-stopper for 
> 2.0. Dan, let's think about something creative that allows us to use the new 
> and old way, maybe through a special import statement like that:
> 
> try:
>   import zope.site
> except ImportError:
>   import zope.container
> 
> or something like that.
> 
> Regards,
> Stephan
Thanks also for your attention, the problem was in my buildout 
configuration as suggested by 'Dan Korostelev'

Adding the following lines to my buildout solves the problem:

additional-fake-eggs =
     zope.schema = 3.4.0
     zope.location = 3.4.0
     ZODB3 = 3.8.1

Regards,
Laurent

_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to