← Back to team overview

graphite-dev team mailing list archive

[Question #182385]: ViewDoesNotExist at / Could not import graphite.browser.views

 

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

Exception Type:	ViewDoesNotExist
Exception Value:	
Could not import graphite.browser.views. Error was: No module named hashlib
Exception Location:	/usr/lib/python2.4/site-packages/django/core/urlresolvers.py in _get_callback, line 167
Python Executable:	/usr/bin/python
Python Version:	2.4.3
Python Path:	
['/opt/graphite/webapp/',
 '/opt/graphite/webapp/graphite/thirdparty/',
 '/opt/graphite/webapp',
 '/usr/lib64/python2.4/site-packages/setuptools-0.6c7-py2.4.egg',
 '/usr/lib64/python2.4/site-packages/simplejson-2.0.0-py2.4-linux-x86_64.egg',
 '/usr/lib64/python2.4/site-packages/zope.interface-3.7.0-py2.4-linux-x86_64.egg',
 '/usr/lib64/python2.4/site-packages/Twisted-11.1.0-py2.4-linux-x86_64.egg',
 '/usr/lib64/python24.zip',
 '/usr/lib64/python2.4',
 '/usr/lib64/python2.4/plat-linux2',
 '/usr/lib64/python2.4/lib-tk',
 '/usr/lib64/python2.4/lib-dynload',
 '/usr/lib64/python2.4/site-packages',
 '/usr/lib64/python2.4/site-packages/gtk-2.0',
 '/usr/lib/python2.4/site-packages']


Environment:


Request Method: GET
Request URL: http://10.x.x.76/

Django Version: 1.3.1
Python Version: 2.4.3
Installed Applications:
['graphite.metrics',
 'graphite.render',
 'graphite.cli',
 'graphite.browser',
 'graphite.composer',
 'graphite.account',
 'graphite.dashboard',
 'graphite.whitelist',
 'graphite.events',
 'django.contrib.auth',
 'django.contrib.sessions',
 'django.contrib.admin',
 'django.contrib.contenttypes',
 'tagging']
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.4/site-packages/django/core/handlers/base.py" in get_response
  100.                     callback, callback_args, callback_kwargs = resolver.resolve(
File "/usr/lib/python2.4/site-packages/django/core/urlresolvers.py" in resolve
  252.                     sub_match = pattern.resolve(new_path)
File "/usr/lib/python2.4/site-packages/django/core/urlresolvers.py" in resolve
  158.             return ResolverMatch(self.callback, args, kwargs, self.name)
File "/usr/lib/python2.4/site-packages/django/core/urlresolvers.py" in _get_callback
  167.             raise ViewDoesNotExist("Could not import %s. Error was: %s" % (mod_name, str(e)))

Exception Type: ViewDoesNotExist at /
Exception Value: Could not import graphite.browser.views. Error was: No module named hashlib


Any help is appreciated, currently going through the install docs and double checking each step. Seems like compatibility issue with installed python 2.4, apache 2.2 and other deps. Running on CentOS 5.5. 

Thanks,
David

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