[Zope-CMF] CMF custom Portal Product / portal_type
Mr. Udatny
rude@rosa.com
Fri, 25 Jan 2002 14:21:15 +0100
Anyone managed to run custom portal_types with CMF1.2, for example
according to the Poll Tutorial?
or any suggestions how to do so?
Mr. Udatny wrote:
> i'm sorry.
>
> <!--
> Traceback (innermost last):
> File D:\GPzope\lib\python\ZPublisher\Publish.py, line 223, in
> publish_module
> File D:\GPzope\lib\python\ZPublisher\Publish.py, line 187, in publish
> File D:\GPzope\lib\python\Zope\__init__.py, line 226, in
> zpublisher_exception_hook
> (Object: GPCHde)
> File D:\GPzope\lib\python\ZPublisher\Publish.py, line 171, in publish
> File D:\GPzope\lib\python\ZPublisher\mapply.py, line 160, in mapply
> (Object: invokeFactory)
> File D:\GPzope\lib\python\ZPublisher\Publish.py, line 112, in
> call_object
> (Object: invokeFactory)
> File D:\GPzope\lib\python\Products\CMFCore\PortalFolder.py, line 335,
> in invokeFactory
> (Object: GPCHde)
> File D:\GPzope\lib\python\Products\CMFCore\TypesTool.py, line 701, in
> constructContent
> (Object: portal_types)
> File D:\GPzope\lib\python\Products\CMFCore\TypesTool.py, line 430, in
> constructInstance
> (Object: ContentNode)
> File D:\GPzope\lib\python\OFS\ObjectManager.py, line 287, in _getOb
> (Object: GPCHde)
> AttributeError: (see above)
>
> -->
>
>
> Tres Seaver wrote:
>
>> Mr. Udatny wrote:
>>
>>>
>>> When i try to add new....
>>> check an available, custom portal_type
>>> give it an id, submit the whole thing,
>>> then i get always the same error;
>>>
>>>
>>> Zope has encountered an error while publishing this resource.
>>>
>>> Error Type: AttributeError
>>> Error Value: __getslice__
>>>
>>>
>>>
>>> i use;
>>> CMF 1.2
>>> Zope 2.4.3 win
>>>
>>> must have to do something with the content creation,
>>> it happens also when i follow the PortalPolls Tutorial. Same effect.
>>> Any ideas? its kind of urgent to get any helpful hints. thanks.
>>
>>
>>
>> Please include the full traceback, to help us diagnose the
>> problem.
>>
>
>
>
>
> _______________________________________________
> 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