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

Dear Team,

I am not able to view dashborad. Please help me fix this problem.

AttributeError at /dashboard/

'Settings' object has no attribute 'CSS_DIR'

Request Method:         GET
Request URL:    http://192.168.1.35/dashboard/
Django Version:         1.3.1
Exception Type:         AttributeError
Exception Value:        

'Settings' object has no attribute 'CSS_DIR'

Exception Location:     
/usr/lib/python2.6/site-packages/django/utils/functional.py in __getattr__, 
line 277
Python Executable:      /usr/bin/python
Python Version:         2.6.6
Python Path:    

['/opt/graphite/webapp/',
 '/opt/graphite/webapp/graphite/thirdparty/',
 '/usr/lib64/python2.6/site-packages/Twisted-11.0.0-py2.6-linux-x86_64.egg',
 '/usr/lib64/python26.zip',
 '/usr/lib64/python2.6',
 '/usr/lib64/python2.6/plat-linux2',
 '/usr/lib64/python2.6/lib-tk',
 '/usr/lib64/python2.6/lib-old',
 '/usr/lib64/python2.6/lib-dynload',
 '/usr/lib64/python2.6/site-packages',
 '/usr/lib64/python2.6/site-packages/PIL',
 '/usr/lib64/python2.6/site-packages/gtk-2.0',
 '/usr/lib/python2.6/site-packages',
 '/usr/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg-info']

Server time:    Fri, 10 Aug 2012 16:01:39 +0530



Environment:


Request Method: GET
Request URL: http://192.168.1.35/dashboard/

Django Version: 1.3.1
Python Version: 2.6.6
Installed Applications:
['graphite.metrics',
 'graphite.render',
 'graphite.cli',
 'graphite.browser',
 'graphite.composer',
 'graphite.account',
 'graphite.dashboard',
 'graphite.whitelist',
 'django.contrib.auth',
 'django.contrib.sessions',
 'django.contrib.admin',
 'django.contrib.contenttypes']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.middleware.gzip.GZipMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware')


Traceback:
File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py" in 
get_response
  111.                         response = callback(request, *callback_args, 
**callback_kwargs)
File "/opt/graphite/webapp/graphite/dashboard/views.py" in dashboard
  119.   css_file = join(settings.CSS_DIR, 'dashboard-%s.css' % theme)
File "/usr/lib/python2.6/site-packages/django/utils/functional.py" in 
__getattr__
  277.         return getattr(self._wrapped, name)

Exception Type: AttributeError at /dashboard/
Exception Value: 'Settings' object has no attribute 'CSS_DIR'


Thanks,
Vadiraj

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

_______________________________________________
Mailing list: https://launchpad.net/~graphite-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to