← Back to team overview

graphite-dev team mailing list archive

[Question #239859]: URL_VALIDATOR_USER_AGENT error

 

New question #239859 on Graphite:
https://answers.launchpad.net/graphite/+question/239859

I am getting the following traceback after installing. Server is centos 6.4.
RPMS INSTALLED
Django14-1.4.8-1.el6.noarch
Django-south-0.7.5-1.el6.noarch
python-django-tagging-0.3.1-7.el6.noarch

[Tue Nov 26 12:18:06 2013] [error] [client 127.0.0.1] mod_wsgi (pid=524): Target WSGI script '/opt/graphite/conf/graphite.wsgi' cannot be loaded as Python module.
[Tue Nov 26 12:18:06 2013] [error] [client 127.0.0.1] mod_wsgi (pid=524): Exception occurred processing WSGI script '/opt/graphite/conf/graphite.wsgi'.
[Tue Nov 26 12:18:06 2013] [error] [client 127.0.0.1] Traceback (most recent call last):
[Tue Nov 26 12:18:06 2013] [error] [client 127.0.0.1]   File "/opt/graphite/conf/graphite.wsgi", line 16, in <module>
[Tue Nov 26 12:18:06 2013] [error] [client 127.0.0.1]     import graphite.metrics.search
[Tue Nov 26 12:18:06 2013] [error] [client 127.0.0.1]   File "/opt/graphite/webapp/graphite/metrics/search.py", line 6, in <module>
[Tue Nov 26 12:18:06 2013] [error] [client 127.0.0.1]     from graphite.util import is_pattern, write_index
[Tue Nov 26 12:18:06 2013] [error] [client 127.0.0.1]   File "/opt/graphite/webapp/graphite/util.py", line 39, in <module>
[Tue Nov 26 12:18:06 2013] [error] [client 127.0.0.1]     from django.contrib.auth.models import User
[Tue Nov 26 12:18:06 2013] [error] [client 127.0.0.1]   File "/usr/lib/python2.6/site-packages/django/contrib/auth/models.py", line 5, in <module>
[Tue Nov 26 12:18:06 2013] [error] [client 127.0.0.1]     from django.db import models
[Tue Nov 26 12:18:06 2013] [error] [client 127.0.0.1]   File "/usr/lib/python2.6/site-packages/django/db/models/__init__.py", line 5, in <module>
[Tue Nov 26 12:18:06 2013] [error] [client 127.0.0.1]     from django.db.models.query import Q
[Tue Nov 26 12:18:06 2013] [error] [client 127.0.0.1]   File "/usr/lib/python2.6/site-packages/django/db/models/query.py", line 10, in <module>
[Tue Nov 26 12:18:06 2013] [error] [client 127.0.0.1]     from django.db.models.fields import AutoField
[Tue Nov 26 12:18:06 2013] [error] [client 127.0.0.1]   File "/usr/lib/python2.6/site-packages/django/db/models/fields/__init__.py", line 11, in <module>
[Tue Nov 26 12:18:06 2013] [error] [client 127.0.0.1]     from django import forms
[Tue Nov 26 12:18:06 2013] [error] [client 127.0.0.1]   File "/usr/lib/python2.6/site-packages/django/forms/__init__.py", line 16, in <module>
[Tue Nov 26 12:18:06 2013] [error] [client 127.0.0.1]     from django.forms.fields import *
[Tue Nov 26 12:18:06 2013] [error] [client 127.0.0.1]   File "/usr/lib/python2.6/site-packages/django/forms/fields.py", line 18, in <module>
[Tue Nov 26 12:18:06 2013] [error] [client 127.0.0.1]     from django.core import validators
[Tue Nov 26 12:18:06 2013] [error] [client 127.0.0.1]   File "/usr/lib/python2.6/site-packages/django/core/validators.py", line 17, in <module>
[Tue Nov 26 12:18:06 2013] [error] [client 127.0.0.1]     URL_VALIDATOR_USER_AGENT = settings.URL_VALIDATOR_USER_AGENT
[Tue Nov 26 12:18:06 2013] [error] [client 127.0.0.1]   File "/usr/lib/python2.6/site-packages/django/conf/__init__.py", line 55, in __getattr__
[Tue Nov 26 12:18:06 2013] [error] [client 127.0.0.1]     self._wrapped = holder
[Tue Nov 26 12:18:06 2013] [error] [client 127.0.0.1] AttributeError: 'Settings' object has no attribute 'URL_VALIDATOR_USER_AGENT'


-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.