[Zope-CMF] CMFBoringContent.py
Norman Khine
khine@btinternet.com
Mon, 6 Aug 2001 20:01:20 +0100
Hi Tres,
Thanks for this, the same error is in other non core products such as the
CMFEmployment and CMFComplexDocument
2001-08-06T18:43:23 ERROR(200) Zope Could not import
Products.CMFComplexDocument
Traceback (innermost last):
File /usr/home/dsuk5/zope/2.4.0/lib/python/OFS/Application.py, line 552,
in import_product
File
/usr/home/dsuk5/zope/2.4.0/lib/python/Products/CMFComplexDocument/__init__.p
y, line 9, in ?
File
/usr/home/dsuk5/zope/2.4.0/lib/python/Products/CMFComplexDocument/ComplexDoc
ument.py, line 20, in ?
ImportError: cannot import name afterCreate
------
2001-08-06T18:43:23 ERROR(200) Zope Could not import Products.CMFEmployment
Traceback (innermost last):
File /usr/home/dsuk5/zope/2.4.0/lib/python/OFS/Application.py, line 552,
in import_product
File
/usr/home/dsuk5/zope/2.4.0/lib/python/Products/CMFEmployment/__init__.py,
line 7, in ?
File
/usr/home/dsuk5/zope/2.4.0/lib/python/Products/CMFEmployment/Resume.py, line
7, in ?
ImportError: cannot import name afterCreate
I presume this is to do with the API changes?!
Regards
Norman
-----Original Message-----
From: zope-cmf-admin@zope.org [mailto:zope-cmf-admin@zope.org]On Behalf
Of Tres Seaver
Sent: 06 August 2001 13:10
To: Norman Khine
Cc: Zope-CMF
Subject: Re: [Zope-CMF] CMFBoringContent.py
Norman Khine wrote:
> Which other usage of it, and in which file?
> The only other usage is in the CMFBoringContent.py on line 39
>
> def addCMFBoringContent(self, id, REQUEST=None):
> """Create an empty CMFBoringContent"""
> test_object = CMFBoringContent(id)
> self._setObject(id, test_object)
> afterCreate(self.this()._getOb(id))
>
> Are those the lines?
Yes, those are they. I see a note from Eric this morning that he
has updated the product, as well.
Tres.
--
===============================================================
Tres Seaver tseaver@zope.com
Zope Corporation "Zope Dealers" http://www.zope.com
_______________________________________________
Zope-CMF maillist - Zope-CMF@zope.org
http://lists.zope.org/mailman/listinfo/zope-cmf
See http://www.zope.org/Products/PTK/Tracker for bug reports and feature
requests