OOPS: unicode object is not callable

Bug #31382 reported by Dafydd Harries
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Won't Fix
High
Unassigned

Bug Description

The page:

https://launchpad.net/distros/ubuntu/+source/gamin/+bug/34699/@@

is crashing: OOPS-118D128
Recent oops: OOPS-543B3957, OOPS-863A2535
TypeError 'unicode' object is not callable

Revision history for this message
Dafydd Harries (daf) wrote :

I can reproduce this by going to e.g.

https://shipit.ubuntu.com//@@/launchpad_favicon.png

I haven't seen any evidence of it happening unless URLs are modified by hand.

Revision history for this message
Christian Reis (kiko) wrote :

This is rather similar to bug 2149, which can be triggered by https://launchpad.net//@@/launchpad_favion.png

Changed in launchpad:
assignee: nobody → stevea
status: Unconfirmed → Confirmed
Revision history for this message
Diogo Matsubara (matsubara) wrote :

The previous issues apparently are not happening anymore, but we got a new OOPS in a different page. I updated the bug description with the new info and re-assigned the bug to Bjorn per Kiko's request.

description: updated
Changed in launchpad:
assignee: stevea → bjorn
assignee: bjorn → bjornt
description: updated
Changed in launchpad:
assignee: bjornt → nobody
importance: Medium → High
milestone: none → 1.2.5
Changed in launchpad:
milestone: 1.2.5 → 1.2.6
description: updated
Changed in launchpad:
milestone: 1.2.6 → none
Revision history for this message
Francis J. Lacoste (flacoste) wrote :

After investigation it seems that this points to legitimate problems in our templates or configuration. This happens when requesting a resource-type URL '/@@/' and there is no Resources registered for that path. This usually indicates a missing slash in the template (like in OOPS-863A2535).

That problem arises because the view traversal looks-up for '', and that name is also used by the defaultViewName adapter registration. So where a Resources should be returned, the string of defaultViewName is returned.

Changed in launchpad:
status: Confirmed → Won't Fix
Revision history for this message
Diogo Matsubara (matsubara) wrote :

Why is this an won't fix? we're still seeing oopses like this one such as OOPS-d128d5335aaa6b62cd93135482256d9f

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

I think it was closed to say that we shouldn't systematically not-oops in this situation because its always a legitimate bug. Which implies we should just file a new bug for the new OOPS you found.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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