Better error message for "unprintable TypeError object"

Bug #607476 reported by Ursula Junque
This bug report is a duplicate of:  Bug #598464: get or create lpuser via api. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

Recently I've seen oopses like OOPS-1658EB4331:
  TypeError: <unprintable TypeError object>

This error is really unhelpful. We'd need more information about the context of that error in order to be able to debug it.

<gary_poster> ... for instance, if the code here gets a type error, we raise something with a better rendering of the account object (using removeSecurityProxy? Dunno).

Gary Poster (gary)
Changed in launchpad-foundations:
status: New → Triaged
importance: Undecided → Low
tags: added: openid
Revision history for this message
Michael Nelson (noodles775+sca-test-deactivatedaccount) wrote :

These oopses are related to a change I landed last week :/ See bug 598464 which I've marked as QA bad.

Revision history for this message
Ursula Junque (ursinha) wrote :

In my opinion this is another problem. Not the oopses themselves, but the fact that the error message says nothing about the problem. I guess the real dupe of 598464 is 607479.

Revision history for this message
Ursula Junque (ursinha) wrote :
Ursula Junque (ursinha)
tags: added: oops
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.