o5gmmob8 Guru
Joined: 17 Oct 2003 Posts: 507
|
Posted: Wed Mar 09, 2005 3:43 pm Post subject: cmfoodocument |
|
|
Hi,
I think you may have to restart zope or either run zprod-manager and add that type to your zope instance.
Code: |
/etc/init.d/zope_instance restart
zprod-manager add
|
zprod-manager add brings up a gui letting you select what packages that zope instance will have available. If you don't have it installed, you can emerge it (just emerge zprod-manager I believe).
I can see the cmfoodocument, but when I try to use it in plone, I get this error:
Code: |
Error Type
AttributeError
Error Value
'NoneType' object has no attribute 'applyStylesheet'
|
Longer more detailed error
Code: |
Traceback (innermost last):
Module ZPublisher.Publish, line 101, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 39, in call_object
Module Products.CMFFormController.FSControllerPythonScript, line 105, in __call__
Module Products.CMFFormController.Script, line 141, in __call__
Module Products.CMFCore.FSPythonScript, line 104, in __call__
Module Shared.DC.Scripts.Bindings, line 306, in __call__
Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
Module Products.CMFCore.FSPythonScript, line 160, in _exec
Module None, line 16, in createObject
<FSControllerPythonScript at /walterw/createObject used for /walterw/documentation/linux>
Line 16
Module Products.CMFPlone.PloneFolder, line 371, in invokeFactory
Module Products.CMFCore.TypesTool, line 709, in constructContent
Module Products.CMFCore.TypesTool, line 398, in constructInstance
Module Products.CMFOODocument.OODocument, line 259, in addOODocument
Module Products.CMFOODocument.OODocument, line 329, in edit
Module Products.CMFOODocument.OODocument, line 343, in _edit
Module Products.CMFOODocument.OODocument, line 385, in _cook
AttributeError: 'NoneType' object has no attribute 'applyStylesheet'
|
Any ideas?
Thanks,
Walter[/code] |
|