Re: [Zope] Zope 2.12.2 & IContentType

2009-12-09 Thread Roberto Allende
Chris Withers wrote:
> Roberto Allende wrote:
>> Hello
>>
>> I'm trying to make a very simple package in Zope 2.12.2 
> 
> What's 2.12.2?
> As far as I know, the latest release is 2.12.1...
> 
> Chris
> 

Yes, you're right, it's a typo.

Kind Regards
r.

-- 
http://robertoallende.com

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


Re: [Zope] Zope 2.12.2 & IContentType

2009-12-09 Thread Chris Withers
Roberto Allende wrote:
> Hello
> 
> I'm trying to make a very simple package in Zope 2.12.2 

What's 2.12.2?
As far as I know, the latest release is 2.12.1...

Chris

-- 
Simplistix - Content Management, Batch Processing & Python Consulting
 - http://www.simplistix.co.uk
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Zope 2.12.2 & IContentType

2009-12-08 Thread Roberto Allende
Hello

I'm trying to make a very simple package in Zope 2.12.2 and i'm trying 
to configure a content type with:

   

and i'm getting:
ConfigurationError: ('Invalid value for', 'package', "ImportError: 
Couldn't import zope.app.content, No module named content")

I tried including "zope.app.content" and i'm getting 'ImportError: 
Module zope.app has no global content' error.

Reading zope.app.folder's code I saw it includes "zope.site", so i tried 
with it and it doesn't work neither because it gives ConfigurationError: 
('Invalid directive', u'factory').

I used to do stuff like this with zope 2.9 without problems and also 
tried with philipp's book samples getting same results, wich is the code 
i pasted here btw, then i guess it could be smt deprecated in Zope 2.12.

I believe I should be able to solve this going deeper with zcml 
machinery, smt i've to do someday anyway :), but if you're familiar with 
the problem or can give me any hint, it will be very appreciated.

Kind Regards
r.

-- 
http://robertoallende.com

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