Download revision tarball failed (http error 500)

Bug #1959025 reported by dolfyn
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

When following a revision one is offered

Viewing all changes in revision N.
* browse files at revision N * compare with another revision * download diff * download tarball * view history from revision N

When selecting "download tarball" the response is:

This page isn’t working is currently unable to handle this request.

Revision history for this message
Jürgen Gmach (jugmac00) wrote :

I can reproduce the problem by e.g. visiting and clicking on "download tarball" - the message/reaction varies by browser - e.g. in Firefox I only see the server error in the console.

Changed in launchpad:
status: New → Triaged
importance: Undecided → Low
Colin Watson (cjwatson)
affects: launchpad → loggerhead
Revision history for this message
Colin Watson (cjwatson) wrote :

I found a traceback from a similar request in our logs, which hints at the problem (though not very precisely):

2022-03-23 13:37:52,970 INFO Processed err [0.272 seconds]: ["AttributeError: 'generator' object has no attribute 'next'\n"]
2022-03-23 13:37:52,983 ERROR Error handling request
Traceback (most recent call last):
  File "/srv/", line 334, in handle_request
  File "/srv/", line 335, in write
    raise TypeError('%r is not a byte' % arg)
TypeError: '<html>\n<head><title>Oops! OOPS-b0af7bc960ee8b2d015e2455f1eac64b</title></head>\n<body>\n<h1>Oops!</h1>\n<p>Something broke while generating the page.\nPlease try again in a few minutes, and if the problem persists file a bug
at\n<a href=""\n></a>\nand quote OOPS-ID <strong>OOPS-b0af7bc960ee8b2d015e2455f1eac64b</strong>\n</p></body></html>' is not a byte

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

Other bug subscribers

Related questions

Remote bug watches

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