branch name conflicts with zope.ManageContent

Bug #640435 reported by Curtis Hovey
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
William Grant

Bug Description

This may be a blacklist problem or a Launchpad configuration problem:

OOPS-1719E277 is caused by accessing https://code.launchpad.net/~jlungo/ihris-manage-tz/manage.
...
  Module zope.component._api, line 171, in getUtility
    raise ComponentLookupError(interface, name)
ComponentLookupError: (<InterfaceClass canonical.launchpad.webapp.metazcml.ILaunchpadPermission>, 'zope.ManageContent')

The branch is named manage. We expect to see the branch. Launchpad is loading the zope.ManageContent utility instead. It would be ideal to unregister the utility. If we cannot we need to add manage to the blacklist and rename the user's branch.

Related branches

Revision history for this message
Robert Collins (lifeless) wrote :

High as per zero-oops-policy

Changed in launchpad-foundations:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Martin Pool (mbp) wrote :

A bit of grepping suggests this comes from zope.app.publisher's browser/configure.zcml, registering the BrowserSkinsVocabulary for="*". Perhaps this can be disconnected.

Revision history for this message
William Grant (wgrant) wrote :

zope.app.publisher was a year ago mostly split up -- the only thing for which we now depend on it is XML-RPC views. If I replace the zope.app.publisher include directive in zopeapp.zcml with zope.app.publisher.xmlrpc, the problematic view is no longer registered, and everything else continues to work fine.

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 640435] Re: branch name conflicts with zope.ManageContent

Care to roll a custom version for us, and to forward the bug upstream?

Revision history for this message
Sovello Hildebrand (sovellohpmgani) wrote :

@Robert, I can't understand what you are telling me. can you elaborate more
if you don't mind.

On Tue, Sep 28, 2010 at 7:11 AM, Robert Collins
<email address hidden>wrote:

> Care to roll a custom version for us, and to forward the bug upstream?
>
> --
> branch name conflicts with zope.ManageContent
> https://bugs.launchpad.net/bugs/640435
> You received this bug notification because you are a direct subscriber
> of a duplicate bug (649500).
>
> Status in Launchpad Foundations: Triaged
>
> Bug description:
> This may be a blacklist problem or a Launchpad configuration problem:
>
> OOPS-1719E277 is caused by accessing
> https://code.launchpad.net/~jlungo/ihris-manage-tz/manage<https://code.launchpad.net/%7Ejlungo/ihris-manage-tz/manage>
> .
> ...
> Module zope.component._api, line 171, in getUtility
> raise ComponentLookupError(interface, name)
> ComponentLookupError: (<InterfaceClass
> canonical.launchpad.webapp.metazcml.ILaunchpadPermission>,
> 'zope.ManageContent')
>
> The branch is named manage. We expect to see the branch. Launchpad is
> loading the zope.ManageContent utility instead. It would be ideal to
> unregister the utility. If we cannot we need to add manage to the blacklist
> and rename the user's branch.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/launchpad-foundations/+bug/640435/+subscribe
>

--
Mobile: +255 71 6387 561

e-mail: <email address hidden>
           <email address hidden>

P. O. Box 15980
Dar es Salaam-Tanzania

Revision history for this message
William Grant (wgrant) wrote :

Robert, it's zopeapp.zcml in the LP tree. No custom version required.

Revision history for this message
Robert Collins (lifeless) wrote :

@Sovello I'm commenting on the bug;

@William - cool; patch it up?

Revision history for this message
Martin Pool (mbp) wrote :

Sovello, no further action by you is required in regard to this bug.
Thanks for telling us about it.

Revision history for this message
Sovello Hildebrand (sovellohpmgani) wrote :

OK. Thanks

On Tue, Sep 28, 2010 at 9:49 AM, Martin Pool <email address hidden> wrote:

> Sovello, no further action by you is required in regard to this bug.
> Thanks for telling us about it.
>
> --
> branch name conflicts with zope.ManageContent
> https://bugs.launchpad.net/bugs/640435
> You received this bug notification because you are a direct subscriber
> of a duplicate bug (649500).
>
> Status in Launchpad Foundations: Triaged
>
> Bug description:
> This may be a blacklist problem or a Launchpad configuration problem:
>
> OOPS-1719E277 is caused by accessing
> https://code.launchpad.net/~jlungo/ihris-manage-tz/manage<https://code.launchpad.net/%7Ejlungo/ihris-manage-tz/manage>
> .
> ...
> Module zope.component._api, line 171, in getUtility
> raise ComponentLookupError(interface, name)
> ComponentLookupError: (<InterfaceClass
> canonical.launchpad.webapp.metazcml.ILaunchpadPermission>,
> 'zope.ManageContent')
>
> The branch is named manage. We expect to see the branch. Launchpad is
> loading the zope.ManageContent utility instead. It would be ideal to
> unregister the utility. If we cannot we need to add manage to the blacklist
> and rename the user's branch.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/launchpad-foundations/+bug/640435/+subscribe
>

--
Mobile: +255 71 6387 561

e-mail: <email address hidden>
           <email address hidden>

P. O. Box 15980
Dar es Salaam-Tanzania

Revision history for this message
Gary Poster (gary) wrote :

+1 on William's approach. We don't need that vocabulary. Also, generally, the less we rely on configuration in zope.app packages the easier it will be to get rid of them later.

William Grant (wgrant)
Changed in launchpad-foundations:
assignee: nobody → William Grant (wgrant)
status: Triaged → In Progress
Revision history for this message
Launchpad QA Bot (lpqabot) wrote : Bug fixed by a commit
Changed in launchpad-foundations:
milestone: none → 10.10
tags: added: qa-needstesting
Changed in launchpad-foundations:
status: In Progress → Fix Committed
William Grant (wgrant)
tags: added: qa-ok
removed: qa-needstesting
Curtis Hovey (sinzui)
Changed in launchpad-foundations:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.