Re: ComponentLookupError adding second plone site

Simon Richardson <[email protected]>
Newsgroups gmane.comp.web.zope.plone.user
Message-ID <CAEZ8nOpfTFUA20WaoHNNt81GwNAZF=GFKawQCvg1jFKjHk36Bg@mail.gmail.com>
Good call Johannes

I'm planning to upgrade to 4.3 before attempting the leap to 5.0.  Just
need to get my head around the dexterity changes for my custom content
types first.

Cheers

Simon
On 14 Jul 2014 10:17, "Johannes Raggam" <[email protected]> wrote:

> Hi Simon,
>
> although you already fixed the problem, here are my remarks:
>
> - If you need to stay with Plone 4.2, you need plone.app.event 1.0.x
> - Then you should use plone.app.portlets 2.5.1 or plone.app.portlets <
> 2.5, from 2.4 series
>
> I recommend to use Plone 4.3 and plone.app.event 1.1.x, if possible.
>
> Best,
> Johannes
>
>
> On Sat, 2014-07-12 at 19:20 +0100, Simon Richardson wrote:
> > Nathan
> >
> > I removed the plone.app.portlets pinned version I mentioned earlier
> > and rebuilt the site.  This solved the problem.
> >
> > Thanks for your help
> >
> > Simon
> >
> > On 10 Jul 2014 14:40, "Simon Richardson" <[email protected]>
> > wrote:
> >         Hi Nathan
> >
> >         I included it as a dependency for plone.app.event.  On
> >         reflection it is unlikely this is required.
> >
> >         You've provided a good area for me to review.  I'll get back
> >         with my findings (probably after this weekend)
> >
> >         Many thanks
> >
> >         Simon
> >
> >         On 10 Jul 2014 14:25, "Nathan Van Gheem" <[email protected]>
> >         wrote:
> >                 That version must be incompatible then. Do you
> >                 remember why you pinned it?
> >
> >                 On Jul 10, 2014 7:37 AM, "Simon Richardson"
> >                 <[email protected]> wrote:
> >                         Hi Nathan
> >
> >                         plone.app.portlets is pinned to 2.5a1 in my
> >                         buildout.
> >
> >                         Simon
> >
> >                         On 9 Jul 2014 20:44, "Nathan Van Gheem"
> >                         <[email protected]> wrote:
> >                                 what version of plone.app.portlets do
> >                                 you have installed?
> >
> >
> >                                 On Wed, Jul 9, 2014 at 2:17 PM, Simon
> >                                 Richardson <[email protected]>
> >                                 wrote:
> >
> >                                         I am trying to create another
> >                                         site on my Plone instance, but
> >                                         get the
> >                                         below error.  I would really
> >                                         appreciate some help fixing
> >                                         this as I don't
> >                                         know where to start?
> >
> >                                         Exception Type
> >                                         ComponentLookupError
> >                                         Exception Value
> >                                         (<InterfaceClass
> >
> zope.component.interfaces.IFactory>, 'portlets.Events')
> >
> >                                         Traceback (innermost last):
> >                                            Module ZPublisher.Publish,
> >                                         line 126, in publish
> >                                            Module ZPublisher.mapply,
> >                                         line 77, in mapply
> >                                            Module ZPublisher.Publish,
> >                                         line 46, in call_object
> >                                            Module
> >                                         Products.CMFPlone.browser.admin,
> line 206, in __call__
> >                                            Module
> >                                         Products.CMFPlone.factory,
> >                                         line 88, in addPloneSite
> >                                            Module
> >                                         Products.GenericSetup.tool,
> >                                         line 353, in
> >                                         runAllImportStepsFromProfile
> >                                             - __traceback_info__:
> >
> profile-Products.CMFPlone:plone-content
> >                                            Module
> >                                         Products.GenericSetup.tool,
> >                                         line 1123, in
> >                                         _runImportStepsFromContext
> >                                            Module
> >                                         Products.GenericSetup.tool,
> >                                         line 1036, in _doRunImportStep
> >                                             - __traceback_info__:
> >                                         portlets
> >                                            Module
> >
> plone.app.portlets.exportimport.portlets, line 727, in importPortlets
> >                                            Module
> >                                         Products.GenericSetup.utils,
> >                                         line 510, in _importBody
> >                                            Module
> >
> plone.app.portlets.exportimport.portlets, line 249, in _importNode
> >                                            Module
> >
> plone.app.portlets.exportimport.portlets, line 258, in _initProvider
> >                                            Module
> >
> plone.app.portlets.exportimport.portlets, line 312, in _initPortlets
> >                                            Module
> >
> plone.app.portlets.exportimport.portlets, line 459, in _initAssignmentNode
> >                                            Module zope.component._api,
> >                                         line 169, in getUtility
> >                                         ComponentLookupError:
> >                                         (<InterfaceClass
> >
> zope.component.interfaces.IFactory>, 'portlets.Events')
> >
> >
> >                                         Version Details:
> >                                              Plone 4.2.0.1 (4206)
> >                                              CMF 2.2.6
> >                                              Zope 2.13.15
> >                                              Python 2.6.8 (unknown,
> >                                         Nov 7 2012, 14:47:45) [GCC
> >                                         4.1.2 20080704
> >                                         (Red Hat 4.1.2-52)]
> >                                              PIL 1.1.7
> >
> >                                         My site is a zeo cluster with
> >                                         4 instances.
> >
> >
> >                                         Simon
> >
> >
> >
> ------------------------------------------------------------------------------
> >                                         Open source business process
> >                                         management suite built on Java
> >                                         and Eclipse
> >                                         Turn processes into business
> >                                         applications with Bonita BPM
> >                                         Community Edition
> >                                         Quickly connect people, data,
> >                                         and systems into organized
> >                                         workflows
> >                                         Winner of BOSSIE, CODIE, OW2
> >                                         and Gartner awards
> >                                         http://p.sf.net/sfu/Bonitasoft
> >
> _______________________________________________
> >                                         Plone-Users mailing list
> >
> [email protected]
> >
> https://lists.sourceforge.net/lists/listinfo/plone-users
> >
> >
> >
> >
> >                                 --
> >                                 Nathan Van Gheem
> >                                 Solutions Architect
> >                                 Wildcard Corp
> >
> ------------------------------------------------------------------------------
> > _______________________________________________
> > Plone-Users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/plone-users
>
> --
> programmatic  web development
> di(fh) johannes raggam / thet
> python plone zope development
> plone framework  team  member
> mail: office-//[email protected]
> web:  http://programmatic.pro
>       http://bluedynamics.com
>
>

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck&#174;
Code Sight&#153; - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds

_______________________________________________
Plone-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plone-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.