Re: ploneformGen error installing NoneType' object is not callable
I found that on some older versions of pfg, there was achange that required different things from zope.component -- and at least on plone 3.1 I had to add to the zope 2 section ..
[zope2]
skip-fake-eggs = zope.component
I think this had something to do with zope.component not really being delivered as an egg ..
It may apply to you.
2011/6/30 Steven McDonald
<mcdonald-K9O0zq5Arhf3fQ9qLvQP4Q@public.gmane.org>
Hi Steve
Yes I have tried removing and adding again, but the problem persists
It is PFG Products.PloneFormGen = 1.6.0b4
One thing I notice is even after I remove it and see it listed as an uninstalled product, I still see it listed in the Add-on Product Configuration
The following procedures seems to work
1. I export the site as a .zexp
2. delete my Data.fs file (after backing it up of course )
3. run my buildout again
4. Start plone which created a fresh Data.fs
5. Import the .zexp
and then it works. Seems like there is something in the original Data.fs file that is messed up
However I have other sites in the same instance, and when I export and re-import those they are breaking. (i think for other reasons though)
Have you tried reinstalling PFG (via add/remove products)?
What PloneFormGen version are you using?
2011/6/29 Steven McDonald
<mcdonald <at> triumf.ca>
Hi
I have a plone 3.3.5 installation that has been around for a while.
I recently tried install ploneformgen, but when I go to the add menu and try to add a form folder I get the following Exception tracebook
Can anyone point to the cause?
I have installed ploneformgen into a fresh 3.3.5 site and it works fine.
Exception Type
| TypeError |
Exception Value
| 'NoneType' object is not callable |
Traceback (innermost last):
- Module ZPublisher.Publish, line 119, in publish
- Module ZPublisher.mapply, line 88, in mapply
- Module ZPublisher.Publish, line 42, in call_object
- Module Products.CMFPlone.FactoryTool, line 371, in __call__
- Module Products.CMFPlone.FactoryTool, line 155, in __getitem__
- Module Products.CMFPlone.PloneFolder, line 348, in invokeFactory
- Module Products.CMFCore.TypesTool, line 716, in constructContent
- Module Products.CMFCore.TypesTool, line 276, in constructInstance
- Module Products.CMFCore.TypesTool, line 450, in _constructInstance
- Module Products.PloneFormGen.content.form, line 9, in addFormFolder
- Module Products.PloneFormGen.content.form, line 893, in initializeArchetype
- Module Products.ATContentTypes.lib.constraintypes, line 281, in invokeFactory
- Module Products.CMFCore.PortalFolder, line 315, in invokeFactory
- Module Products.CMFCore.TypesTool, line 716, in constructContent
- Module Products.CMFCore.TypesTool, line 276, in constructInstance
- Module Products.CMFCore.TypesTool, line 450, in _constructInstance
- Module Products.PloneFormGen.content.fields, line 10, in addFGStringField
- Module zope.event, line 23, in notify
- Module zope.component.event, line 26, in dispatch
- Module zope.component._api, line 130, in subscribers
- Module zope.component.registry, line 290, in subscribers
- Module zope.interface.adapter, line 535, in subscribers
- Module zope.component.event, line 33, in objectEventNotify
- Module zope.component._api, line 130, in subscribers
- Module zope.component.registry, line 290, in subscribers
- Module zope.interface.adapter, line 535, in subscribers
- Module plone.app.linkintegrity.handlers, line 65, in modifiedArchetype
TypeError: 'NoneType' object is not callable
Thanks
Steve
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2_______________________________________________
Plone-Users mailing list
Plone-Users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/plone-users
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Plone-Users mailing list
Plone-Users-5NWGOfrQmnd4wTydcyPnfg@public.gmane.orgceforge.net
https://lists.sourceforge.net/lists/listinfo/plone-users
--
David Bear
College of Public Programs at ASU
602-496-0424
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Plone-Users mailing list
Plone-Users@...
https://lists.sourceforge.net/lists/listinfo/plone-users