graphite-web returns Internal Server Error due to incompatible changes in Django
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
graphite-web (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Querying data from a graphite-web instance results in 500 Internal Server Error caused by incompatible changes in Django framework, see error output below. It seems that the mimetype argument was renamed to content_type in Django HttpResponse.
Applying the attached patch seems to fix the mentioned issue.
TypeError at /metrics/index.json
__init__() got an unexpected keyword argument 'mimetype'
Request Method: GET
Request URL: https:/
Django Version: 1.7.6
Exception Type: TypeError
Exception Value:
__init__() got an unexpected keyword argument 'mimetype'
Exception Location: /usr/lib/
Python Executable: /usr/bin/uwsgi-core
Python Version: 2.7.6
Python Path:
['/usr/
'/etc/graphite/',
'.',
'',
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/etc/graphite',
'/usr/
Server time: Mon, 1 Jun 2015 08:53:19 -0500
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: graphite-web 0.9.12+debian-3
ProcVersionSign
Uname: Linux 3.13.0-53-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.11
Architecture: amd64
Date: Mon Jun 1 17:34:20 2015
PackageArchitec
SourcePackage: graphite-web
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile.
The attachment "A patch to fix the issue" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]