bzr file view/download broken
Bug #1886576 reported by
Selene ToyKeeper
This bug affects 6 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Tom Wardill | ||
loggerhead |
Fix Released
|
Undecided
|
Tom Wardill |
Bug Description
It looks like something recent broke the ability to view or download files in bzr repositories.
For example, go to any project which uses bzr, browse the code, and click on a file to view or download it.
1. Go to https:/
2. Click "README" or "TODO" or any other file.
Actual result: OOPS-f4a815585986ab48bc2f8727b6985bf6
Expected result: Display the contents of the file.
Related branches
lp://staging/~twom/loggerhead/fix-text-types-python-2
- Colin Watson (community): Approve
-
Diff: 60 lines (+6/-6)2 files modifiedloggerhead/controllers/view_ui.py (+1/-1)
loggerhead/tests/test_controllers.py (+5/-5)
~twom/launchpad:update-loggerhead-to-r502
Merged
into
launchpad:master
- Colin Watson (community): Approve
-
Diff: 26 lines (+3/-3)2 files modifiedutilities/sourcedeps.cache (+2/-2)
utilities/sourcedeps.conf (+1/-1)
Changed in launchpad: | |
status: | Confirmed → Fix Committed |
Changed in loggerhead: | |
status: | New → Fix Committed |
assignee: | nobody → Tom Wardill (twom) |
To post a comment you must log in.
Traceback:
https:/ /paste. ubuntu. com/p/Y3yGDV78c 8/
TypeError: README
Traceback (most recent call last): middleware, line 210, in oops_middleware response) ) config, line 291, in __call__ loggerhead. wsgi, line 70, in wrapped environ, start_response) loggerhead. session, line 39, in __call__ handler( environ, start_response) n(environ, response_hook) loggerhead. session, line 66, in _process n(environ, response_hook) tions, line 640, in __call__ n(environ, start_response) loggerhead. app, line 291, in __call__ apps.branch, line 207, in app controllers, line 110, in __call__ values( path, self.kwargs, headers) controllers. view_ui, line 160, in get_values contents( path, revid), controllers. view_ui, line 92, in file_contents lines(path, revid) controllers. view_ui, line 64, in text_lines controllers. view_ui, line 54, in tree_for
Module oops_wsgi.
app(environ, oops_start_
Module paste.deploy.
return self.app(environ, start_response)
Module launchpad_
app, environ, start_response, request_done_err, request_done_ok)
Module paste.wsgilib, line 185, in catch_errors
app_iter = application(
Module launchpad_
return self.cookie_
Module paste.auth.cookie, line 322, in __call__
return self.applicatio
Module launchpad_
return self.applicatio
Module paste.httpexcep
return self.applicatio
Module launchpad_
return view.app(environ, start_response)
Module loggerhead.
return c(environ, start_response)
Module loggerhead.
values = self.get_
Module loggerhead.
'contents': self.file_
Module loggerhead.
file_lines = self.text_
Module loggerhead.
tree = self.tree_for(path, revid)
Module loggerhead.
raise TypeError(path)
TypeError: README