Attempting to view file in branch results in oops

Bug #1877117 reported by Chris Johnston
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

https://bazaar.launchpad.net/~lazr-developers/launchpadlib/trunk/files/head:/contrib

Trying to view the file nonpriv-api.py results in an oops. Downloading the file seems to work fine.

NoSuchFile: No such file: u'/contrib/nopriv-api.py'

    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 70, 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.session, line 39, in __call__
    return self.cookie_handler(environ, start_response)
  Module paste.auth.cookie, line 322, in __call__
    return self.application(environ, response_hook)
  Module launchpad_loggerhead.session, line 66, in _process
    return self.application(environ, response_hook)
  Module paste.httpexceptions, line 640, in __call__
    return self.application(environ, start_response)
  Module launchpad_loggerhead.app, line 291, 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 110, in __call__
    values = self.get_values(path, self.kwargs, headers)
  Module loggerhead.controllers.view_ui, line 160, in get_values
    'contents': self.file_contents(file_id, revid),
  Module loggerhead.controllers.view_ui, line 93, in file_contents
    file_lines = self.text_lines(file_id, revid)
  Module loggerhead.controllers.view_ui, line 66, in text_lines
    file_text = tree.get_file_text(path)
  Module breezy.revisiontree, line 69, in get_file_text
    for (identifier, content) in self.iter_files_bytes([(path, None)]):
  Module breezy.bzr.inventorytree, line 829, in iter_files_bytes
    for f, i in desired_files]
  Module breezy.bzr.inventorytree, line 735, in get_file_revision
    return self._path2ie(path).revision
  Module breezy.bzr.inventorytree, line 151, in _path2ie
    raise errors.NoSuchFile(path)
NoSuchFile: No such file: u'/contrib/nopriv-api.py'

OOPS-dd4ad565cbee8b729aa9cb543b99488c

tags: added: codebrowse oops
Changed in launchpad:
status: New → Triaged
importance: Undecided → Medium
Changed in launchpad:
importance: Medium → Low
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.