From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Sep 10 07:00:16 2014 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0AF67560 for ; Wed, 10 Sep 2014 07:00:16 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E5DD419F for ; Wed, 10 Sep 2014 07:00:15 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s8A70F2s065948 for ; Wed, 10 Sep 2014 07:00:15 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 193510] www/py-graphite-web: Stopped working after upgrade to Django 1.7 Date: Wed, 10 Sep 2014 07:00:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: Karli.Sjoberg@slu.se X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Sep 2014 07:00:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193510 --- Comment #2 from Karli.Sjoberg@slu.se --- First of all, had to change in "/usr/local/etc/graphite/graphite.wsgi": -import django.core.handlers.wsgi -application = django.core.handlers.wsgi.WSGIHandler() +from django.core.wsgi import get_wsgi_application +application = get_wsgi_application() For Apache (and mod_wsgi) to start OK. But there seems to be tinkering to be done to graphite as well: https://github.com/caffeinehit/django-oauth2-provider/issues/77 Tried: /usr/local/lib/python2.7/site-packages/graphite # for i in $(find . -type f -exec egrep -H 'mimetype="[a-z]+\/[a-z]+"' {} \; | awk -F ':' '{print $1}'); do sed -i '' 's#mimetype="#content_type="#' $i; done But get only broken graph windows, sample attached. No direct errors in logs, except for: [Wed Sep 10 08:40:56 2014] [error] No handlers could be found for logger "cache" # pkg info | awk '/apache|django|graphite-web|wsgi/{print$1}' ap22-mod_wsgi3-3.5 apache22-2.2.29 py27-django-1.7 py27-django-tagging-0.3.2 py27-graphite-web-0.9.12_1 uwsgi-2.0.7 -- You are receiving this mail because: You are the assignee for the bug.