Date: Wed, 10 Sep 2014 07:00:16 +0000 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 Message-ID: <bug-193510-13-7HGut35qhN@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-193510-13@https.bugs.freebsd.org/bugzilla/> References: <bug-193510-13@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-193510-13-7HGut35qhN>