Viewing revision might cause oops

Bug #1921634 reported by Vitaliy Kanev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
loggerhead
Fix Released
High
Colin Watson

Bug Description

OOPS-ID: OOPS-b184652fa879557335d82f2cdb7870bf

Tested against revision 624 of lp:ubuntu-wallpapers - https://bazaar.launchpad.net/~ubuntu-art-pkg/ubuntu-wallpapers/ubuntu/revision/624

The problematic page simply says: """
Oops!

Something broke while generating the page. Please try again in a few minutes, and if the problem persists file a bug at https://bugs.launchpad.net/launchpad and quote OOPS-ID (see above for OOPS ID)
"""

Note that revisions 623 and 625 work fine

Nothing useful in browser console.

Maybe this is because of a large binary file being uploaded to a revision or (which I don't think it is) storage failure on some Launchpad server?

Tags: oops

Related branches

Revision history for this message
Colin Watson (cjwatson) wrote :

  KeyError: u'\xe2'

    Traceback (most recent call last):
  Module oops_wsgi.middleware, line 210, in oops_middleware
    app(environ, oops_start_response))
  Module paste.deploy.config, line 291, in __call__
    return self.app(environ, start_response)
  Module launchpad_loggerhead.wsgi, line 90, in wrapped
    app, environ, start_response, request_done_err, request_done_ok)
  Module paste.wsgilib, line 185, in catch_errors
    app_iter = application(environ, start_response)
  Module launchpad_loggerhead.wsgi, line 67, in wrapped
    return app(environ, response_hook)
  Module launchpad_loggerhead.revision, line 34, in __call__
    return self.application(environ, response_hook)
  Module launchpad_loggerhead.session, line 85, in __call__
    return self.application(environ, response_hook)
  Module paste.httpexceptions, line 640, in __call__
    return self.application(environ, start_response)
  Module launchpad_loggerhead.app, line 288, in __call__
    return view.app(environ, start_response)
  Module loggerhead.apps.branch, line 207, in app
    return c(environ, start_response)
  Module loggerhead.controllers, line 129, in __call__
    self.add_template_values(values)
  Module loggerhead.controllers.revision_ui, line 142, in add_template_values
    dq(item.filename))
  Module loggerhead.controllers.revision_ui, line 35, in dq
    return urlutils.quote(urlutils.quote(p, safe=''))
  Module breezy.urlutils, line 156, in quote_from_bytes
    return ''.join(map(quoter, s))
KeyError: u'\xe2'

affects: launchpad → loggerhead
Changed in loggerhead:
importance: Undecided → High
status: New → Triaged
tags: added: oops
Colin Watson (cjwatson)
Changed in loggerhead:
status: Triaged → In Progress
assignee: nobody → Colin Watson (cjwatson)
Colin Watson (cjwatson)
Changed in loggerhead:
status: In Progress → Fix Committed
Colin Watson (cjwatson)
Changed in loggerhead:
status: Fix Committed → Fix Released
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.