Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
CMFOODocument product for Zope
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
axxackall
l33t
l33t


Joined: 06 Nov 2002
Posts: 651
Location: Toronto, Ontario, 3rd Rock From Sun

PostPosted: Tue Mar 18, 2003 3:38 pm    Post subject: CMFOODocument product for Zope Reply with quote

Has anyone tried to install CMFOODocument following this instructions?

I am trying to add the factory but cannot see OODocument in the listbox. Any suggestions?
Back to top
View user's profile Send private message
o5gmmob8
Guru
Guru


Joined: 17 Oct 2003
Posts: 507

PostPosted: Wed Mar 09, 2005 3:43 pm    Post subject: cmfoodocument Reply with quote

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]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum