adding new page raises exception ComponentLookupError for IUniqueIdGenerator after upgrade to 3.1.7

3 messages Options
Embed this post
Permalink
htd () adding new page raises exception ComponentLookupError for IUniqueIdGenerator after upgrade to 3.1.7
Reply Threaded More More options
Print post
Permalink
Hi List

I have a problem adding new page items with my upgraded plone install. I'm currently at plone 3.1.7, but also a 3.2.2 install raises the same exception (I always ran the portal_migration with no errors). Find the traceback at the end of this mail.

A quick workaround that helps me so far is going to Preferences/Types and set Versioning policy to no versioning for Page Types.

A more elaborate workaround, is to create a new Plone Site within ZMI and copy my contents from the broken plone site over to the new one. Problem here is, i lose all creation/edit dates, they are set to the date+time of when the items were copied.

It'd be great to actually fix my problem somehow, because both workarounds have major drawbacks.

TIA for any ideas

 Michael



Time 2009/06/21 10:29:59.332 GMT+2
User Name (User Id) htd (htd)
Request URL http://www.weird-birds.org/portal_factory/Document/document.2009-06-21.9838282748/atct_edit
Exception Type ComponentLookupError
Exception Value (<InterfaceClass Products.CMFUid.interfaces.IUniqueIdGenerator>, '')
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 376, in __call__
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 42, in call_object
Module Products.CMFFormController.FSControllerPageTemplate, line 90, in __call__
Module Products.CMFFormController.BaseControllerPageTemplate, line 28, in _call
Module Products.CMFFormController.ControllerBase, line 231, in getNext
Module Products.CMFFormController.Actions.TraverseTo, line 38, in __call__
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 42, in call_object
Module Products.CMFFormController.FSControllerPythonScript, line 106, in __call__
Module Products.CMFFormController.ControllerBase, line 231, in getNext
Module Products.CMFFormController.Actions.TraverseTo, line 38, in __call__
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 42, in call_object
Module Products.CMFFormController.FSControllerPythonScript, line 106, in __call__
Module Products.CMFFormController.ControllerBase, line 231, in getNext
Module Products.CMFFormController.Actions.TraverseTo, line 38, in __call__
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 42, in call_object
Module Products.CMFFormController.FSControllerPythonScript, line 106, in __call__
Module Products.CMFFormController.ControllerBase, line 231, in getNext
Module Products.CMFFormController.Actions.TraverseTo, line 38, in __call__
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 42, in call_object
Module Products.CMFFormController.FSControllerPythonScript, line 104, in __call__
Module Products.CMFFormController.Script, line 145, in __call__
Module Products.CMFCore.FSPythonScript, line 140, in __call__
Module Shared.DC.Scripts.Bindings, line 313, in __call__
Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
Module Products.CMFCore.FSPythonScript, line 196, in _exec
Module None, line 22, in update_version_on_edit
<FSControllerPythonScript at /www.weird-birds.org/update_version_on_edit used for /www.weird-birds.org/test-1>
Line 22
Module Products.CMFEditions.CopyModifyMergeRepositoryTool, line 292, in save
Module Products.CMFEditions.CopyModifyMergeRepositoryTool, line 425, in _recursiveSave
Module Products.CMFEditions.ArchivistTool, line 228, in prepare
Module Products.CMFUid.UniqueIdHandlerTool, line 109, in register
Module zope.component._api, line 207, in getUtility
ComponentLookupError: (<InterfaceClass Products.CMFUid.interfaces.IUniqueIdGenerator>, '')
aclark () Re: adding new page raises exception ComponentLookupError for IUniqueIdGenerator after upgrade to 3.1.7
Reply Threaded More More options
Print post
Permalink
Go to portal_types -> Large Plone Folder and check 'Implicitly addable? [ ]'

On 2009-06-21, htd <[hidden email]> wrote:

>
> Hi List
>
> I have a problem adding new page items with my upgraded plone install. I'm
> currently at plone 3.1.7, but also a 3.2.2 install raises the same exception
> (I always ran the portal_migration with no errors). Find the traceback at
> the end of this mail.
>
> A quick workaround that helps me so far is going to Preferences/Types and
> set Versioning policy to no versioning for Page Types.
>
> A more elaborate workaround, is to create a new Plone Site within ZMI and
> copy my contents from the broken plone site over to the new one. Problem
> here is, i lose all creation/edit dates, they are set to the date+time of
> when the items were copied.
>
> It'd be great to actually fix my problem somehow, because both workarounds
> have major drawbacks.
>
> TIA for any ideas
>
>  Michael
>
>
>
> Time 2009/06/21 10:29:59.332 GMT+2
> User Name (User Id) htd (htd)
> Request URL
> http://www.weird-birds.org/portal_factory/Document/document.2009-06-21.9838282748/atct_edit
> Exception Type ComponentLookupError
> Exception Value (<InterfaceClass
> Products.CMFUid.interfaces.IUniqueIdGenerator>, '')
> 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 376, in __call__
> Module ZPublisher.mapply, line 88, in mapply
> Module ZPublisher.Publish, line 42, in call_object
> Module Products.CMFFormController.FSControllerPageTemplate, line 90, in
> __call__
> Module Products.CMFFormController.BaseControllerPageTemplate, line 28, in
> _call
> Module Products.CMFFormController.ControllerBase, line 231, in getNext
> Module Products.CMFFormController.Actions.TraverseTo, line 38, in __call__
> Module ZPublisher.mapply, line 88, in mapply
> Module ZPublisher.Publish, line 42, in call_object
> Module Products.CMFFormController.FSControllerPythonScript, line 106, in
> __call__
> Module Products.CMFFormController.ControllerBase, line 231, in getNext
> Module Products.CMFFormController.Actions.TraverseTo, line 38, in __call__
> Module ZPublisher.mapply, line 88, in mapply
> Module ZPublisher.Publish, line 42, in call_object
> Module Products.CMFFormController.FSControllerPythonScript, line 106, in
> __call__
> Module Products.CMFFormController.ControllerBase, line 231, in getNext
> Module Products.CMFFormController.Actions.TraverseTo, line 38, in __call__
> Module ZPublisher.mapply, line 88, in mapply
> Module ZPublisher.Publish, line 42, in call_object
> Module Products.CMFFormController.FSControllerPythonScript, line 106, in
> __call__
> Module Products.CMFFormController.ControllerBase, line 231, in getNext
> Module Products.CMFFormController.Actions.TraverseTo, line 38, in __call__
> Module ZPublisher.mapply, line 88, in mapply
> Module ZPublisher.Publish, line 42, in call_object
> Module Products.CMFFormController.FSControllerPythonScript, line 104, in
> __call__
> Module Products.CMFFormController.Script, line 145, in __call__
> Module Products.CMFCore.FSPythonScript, line 140, in __call__
> Module Shared.DC.Scripts.Bindings, line 313, in __call__
> Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
> Module Products.CMFCore.FSPythonScript, line 196, in _exec
> Module None, line 22, in update_version_on_edit
><FSControllerPythonScript at /www.weird-birds.org/update_version_on_edit
> used for /www.weird-birds.org/test-1>
> Line 22
> Module Products.CMFEditions.CopyModifyMergeRepositoryTool, line 292, in save
> Module Products.CMFEditions.CopyModifyMergeRepositoryTool, line 425, in
> _recursiveSave
> Module Products.CMFEditions.ArchivistTool, line 228, in prepare
> Module Products.CMFUid.UniqueIdHandlerTool, line 109, in register
> Module zope.component._api, line 207, in getUtility
> ComponentLookupError: (<InterfaceClass
> Products.CMFUid.interfaces.IUniqueIdGenerator>, '')


--
Alex Clark ยท http://aclark.net
Buy Practical Plone 3: http://tinyurl.com/practical-plone


_______________________________________________
Setup mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/setup
htd () Re: Re: adding new page raises exception ComponentLookupError for IUniqueIdGenerator after upgrade to 3.1.7
Reply Threaded More More options
Print post
Permalink
I did check that option, but it doesn't help with my problem. I even
created a new "Large Folder" and tried to add a Page in there, I end up
getting the same traceback (with versioning enabled).
thanks for the hint though, that option really wasn't checked

Am 23.06.2009 14:04 Uhr, schrieb Alex Clark:

> Go to portal_types ->  Large Plone Folder and check 'Implicitly addable? [ ]'
>
> On 2009-06-21, htd<[hidden email]>  wrote:
>> Hi List
>>
>> I have a problem adding new page items with my upgraded plone install. I'm
>> currently at plone 3.1.7, but also a 3.2.2 install raises the same exception
>> (I always ran the portal_migration with no errors). Find the traceback at
>> the end of this mail.
>>
>> A quick workaround that helps me so far is going to Preferences/Types and
>> set Versioning policy to no versioning for Page Types.
>>
>> A more elaborate workaround, is to create a new Plone Site within ZMI and
>> copy my contents from the broken plone site over to the new one. Problem
>> here is, i lose all creation/edit dates, they are set to the date+time of
>> when the items were copied.
>>
>> It'd be great to actually fix my problem somehow, because both workarounds
>> have major drawbacks.
>>
>> TIA for any ideas
>>
>>   Michael
>>
>>
>>
>> Time 2009/06/21 10:29:59.332 GMT+2
>> User Name (User Id) htd (htd)
>> Request URL
>> http://www.weird-birds.org/portal_factory/Document/document.2009-06-21.9838282748/atct_edit
>> Exception Type ComponentLookupError
>> Exception Value (<InterfaceClass
>> Products.CMFUid.interfaces.IUniqueIdGenerator>, '')
>> 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 376, in __call__
>> Module ZPublisher.mapply, line 88, in mapply
>> Module ZPublisher.Publish, line 42, in call_object
>> Module Products.CMFFormController.FSControllerPageTemplate, line 90, in
>> __call__
>> Module Products.CMFFormController.BaseControllerPageTemplate, line 28, in
>> _call
>> Module Products.CMFFormController.ControllerBase, line 231, in getNext
>> Module Products.CMFFormController.Actions.TraverseTo, line 38, in __call__
>> Module ZPublisher.mapply, line 88, in mapply
>> Module ZPublisher.Publish, line 42, in call_object
>> Module Products.CMFFormController.FSControllerPythonScript, line 106, in
>> __call__
>> Module Products.CMFFormController.ControllerBase, line 231, in getNext
>> Module Products.CMFFormController.Actions.TraverseTo, line 38, in __call__
>> Module ZPublisher.mapply, line 88, in mapply
>> Module ZPublisher.Publish, line 42, in call_object
>> Module Products.CMFFormController.FSControllerPythonScript, line 106, in
>> __call__
>> Module Products.CMFFormController.ControllerBase, line 231, in getNext
>> Module Products.CMFFormController.Actions.TraverseTo, line 38, in __call__
>> Module ZPublisher.mapply, line 88, in mapply
>> Module ZPublisher.Publish, line 42, in call_object
>> Module Products.CMFFormController.FSControllerPythonScript, line 106, in
>> __call__
>> Module Products.CMFFormController.ControllerBase, line 231, in getNext
>> Module Products.CMFFormController.Actions.TraverseTo, line 38, in __call__
>> Module ZPublisher.mapply, line 88, in mapply
>> Module ZPublisher.Publish, line 42, in call_object
>> Module Products.CMFFormController.FSControllerPythonScript, line 104, in
>> __call__
>> Module Products.CMFFormController.Script, line 145, in __call__
>> Module Products.CMFCore.FSPythonScript, line 140, in __call__
>> Module Shared.DC.Scripts.Bindings, line 313, in __call__
>> Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
>> Module Products.CMFCore.FSPythonScript, line 196, in _exec
>> Module None, line 22, in update_version_on_edit
>> <FSControllerPythonScript at /www.weird-birds.org/update_version_on_edit
>> used for /www.weird-birds.org/test-1>
>> Line 22
>> Module Products.CMFEditions.CopyModifyMergeRepositoryTool, line 292, in save
>> Module Products.CMFEditions.CopyModifyMergeRepositoryTool, line 425, in
>> _recursiveSave
>> Module Products.CMFEditions.ArchivistTool, line 228, in prepare
>> Module Products.CMFUid.UniqueIdHandlerTool, line 109, in register
>> Module zope.component._api, line 207, in getUtility
>> ComponentLookupError: (<InterfaceClass
>> Products.CMFUid.interfaces.IUniqueIdGenerator>, '')
>
>


_______________________________________________
Setup mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/setup