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

I just installed graphite on centOS 6. I did it first time only.
Now On UI when I click on Dashboard link I got - "ViewDoesNotExist at 
/dashboard" 
error - Could not import graphite.dashboard.views.dashboard. View does not 
exist in module graphite.dashboard.views.

Some observations :- 
1. Got same error on link 'flot (experimental)' - ViewDoesNotExist at /graphlot/
error - Could not import graphite.graphlot.views.graphlot_render. View does not 
exist in module graphite.graphlot.views.

2. graphite webapp not showing any tree or graph
- so on the WEB UI I only have
+ Graphite
+ User Graphs

if i click on them nothing shows up


--Here is full error logs shown on UI :
----------------------------------------------------------

ViewDoesNotExist at /dashboard/

Could not import graphite.dashboard.views.dashboard. View does not exist in 
module graphite.dashboard.views.

Request Method:         GET
Request URL:    http://icv3p1003:8080/dashboard/
Django Version:         1.4.1
Exception Type:         ViewDoesNotExist
Exception Value:        

Could not import graphite.dashboard.views.dashboard. View does not exist in 
module graphite.dashboard.views.

Exception Location:     
/usr/lib/python2.6/site-packages/django/core/urlresolvers.py in get_callable, 
line 101
Python Executable:      /usr/bin/python
Python Version:         2.6.6
Python Path:    

['/opt/graphite/webapp',
 '/opt/graphite/webapp',
 '/usr/bin',
 
'/usr/lib64/python2.6/site-packages/zope.interface-4.1.1-py2.6-linux-x86_64.egg',
 '/usr/lib/python2.6/site-packages/virtualenv-1.11.6-py2.6.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/gtk-2.0',
 '/usr/lib/python2.6/site-packages',
 '/usr/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg-info']

Server time:    Tue, 27 May 2014 05:36:23 -0500
----------------------------------------------------------



Some More Details :-
1. version : graphite-web-0.9.10

2. processes running :
ps -ef | grep carbon                                                            
                                                                                
            
root      4678     1  0 May27 ?        00:00:02 /usr/bin/python 
./carbon-aggregator.py start
root      4681     1  0 May27 ?        00:00:05 /usr/bin/python 
./carbon-cache.py start
root      4685     1  0 May27 ?        00:00:00 /usr/bin/python 
./carbon-relay.py start

3. Graphite server is running and here is console output :
--------------------------------------------------------------------------
./run-graphite-devel-server.py /opt/graphite/                                   
                                                                                
            
Running Graphite from /opt/graphite/ under django development server
 
/usr/bin/django-admin runserver --pythonpath /opt/graphite/webapp --settings 
graphite.settings 0.0.0.0:8080
/usr/lib/python2.6/site-packages/django/conf/__init__.py:75: 
DeprecationWarning: The ADMIN_MEDIA_PREFIX setting has been removed; use 
STATIC_URL instead.
  "use STATIC_URL instead.", DeprecationWarning)
/usr/lib/python2.6/site-packages/django/core/cache/__init__.py:82: 
DeprecationWarning: settings.CACHE_* is deprecated; use settings.CACHES instead.
  DeprecationWarning
/usr/lib/python2.6/site-packages/django/conf/__init__.py:75: 
DeprecationWarning: The ADMIN_MEDIA_PREFIX setting has been removed; use 
STATIC_URL instead.
  "use STATIC_URL instead.", DeprecationWarning)
/usr/lib/python2.6/site-packages/django/core/cache/__init__.py:82: 
DeprecationWarning: settings.CACHE_* is deprecated; use settings.CACHES instead.
  DeprecationWarning
Validating models...
 
0 errors found
Django version 1.4.1, using settings 'graphite.settings'
Development server is running at http://0.0.0.0:8080/
Quit the server with CONTROL-C.
[28/May/2014 00:45:28] "GET /account/login HTTP/1.1" 200 630
[28/May/2014 00:45:30] "POST /account/login/ HTTP/1.1" 302 0
[28/May/2014 00:45:30] "GET / HTTP/1.1" 200 541
[28/May/2014 00:45:31] "GET /browser/header/ HTTP/1.1" 200 1088
[28/May/2014 00:45:31] "GET /composer/? HTTP/1.1" 200 1627
[28/May/2014 00:45:31] "GET /render/?width=586&height=308&_salt=1401277495.799 
HTTP/1.1" 500 14022
[28/May/2014 00:45:34] "GET /dashboard/ HTTP/1.1" 500 14090
[28/May/2014 00:45:38] "GET /render/?width=586&height=308&_salt=1401277502.28 
HTTP/1.1" 500 14016
[28/May/2014 00:45:39] "GET 
/metrics/find/?_dc=1401277503839&query=*&format=treejson&contexts=1&path=&node=GraphiteTree
 HTTP/1.1" 500 5180
[28/May/2014 00:45:40] "GET 
/browser/mygraph/?_dc=1401277504826&query=*&format=treejson&contexts=1&path=&node=MyGraphsTree
 HTTP/1.1" 200 95
--------------------------------------------------------------------------------------------

Using settings from 'graphite.settings'
--------------------------------------------------------------------------------------
REMOTE_RENDERING        

False

REMOTE_FETCH_TIMEOUT    

6.0

EMAIL_USE_TLS   

False

TIME_ZONE       

'America/Chicago'

DOCUMENTATION_URL       

'http://graphite.readthedocs.org/'

CSRF_COOKIE_SECURE      

False

LDAP_URI        

None

LANGUAGE_CODE   

'en-us'

ROOT_URLCONF    

'graphite.urls'

MANAGERS        

()

CARBONLINK_TIMEOUT      

1.0

GRAPHITE_ROOT   

'/opt/graphite'

CLUSTER_SERVERS         

[]

DEFAULT_CHARSET         

'utf-8'

WEBAPP_DIR      

'/opt/graphite/webapp'

STATIC_ROOT     

''

CARBONLINK_RETRY_DELAY  

15

ALLOWED_HOSTS   

['*']

REMOTE_RENDER_CONNECT_TIMEOUT   

1.0

MESSAGE_STORAGE         

'django.contrib.messages.storage.fallback.FallbackStorage'

WSGI_APPLICATION        

None

EMAIL_SUBJECT_PREFIX    

'[Django] '

SEND_BROKEN_LINK_EMAILS         

False

URL_VALIDATOR_USER_AGENT        

'Django/1.4.1 (https://www.djangoproject.com)'

CONF_DIR        

'/opt/graphite/conf'

SESSION_COOKIE_DOMAIN   

None

SESSION_COOKIE_NAME     

'sessionid'

LDAP_BASE_USER  

''

REMOTE_READER_CACHE_SIZE_LIMIT  

1000

ADMIN_FOR       

()

TIME_INPUT_FORMATS      

('%H:%M:%S', '%H:%M')

REPLICATION_FACTOR      

1

DATABASES       

{'default': {'ENGINE': 'django.db.backends.sqlite3',
             'HOST': '',
             'NAME': '/opt/graphite/storage/graphite.db',
             'OPTIONS': {},
             'PASSWORD': u'********************',
             'PORT': '',
             'TEST_CHARSET': None,
             'TEST_COLLATION': None,
             'TEST_MIRROR': None,
             'TEST_NAME': None,
             'TIME_ZONE': 'America/Chicago',
             'USER': ''}}

LDAP_USE_TLS    

False

FILE_UPLOAD_PERMISSIONS         

None

FILE_UPLOAD_HANDLERS    

('django.core.files.uploadhandler.MemoryFileUploadHandler',
 'django.core.files.uploadhandler.TemporaryFileUploadHandler')

LOG_CACHE_PERFORMANCE   

False

DEFAULT_CONTENT_TYPE    

'text/html'

TEST_RUNNER     

'django.test.simple.DjangoTestSuiteRunner'

APPEND_SLASH    

False

FIRST_DAY_OF_WEEK       

0

DATABASE_ROUTERS        

[]

CARBONLINK_HOSTS        

['127.0.0.1:7002']

YEAR_MONTH_FORMAT       

'F Y'

STATICFILES_STORAGE     

'django.contrib.staticfiles.storage.StaticFilesStorage'

INDEX_FILE      

'/opt/graphite/storage/index'

CSS_DIR         

'/opt/graphite/webapp/content/css'

LEGEND_MAX_ITEMS        

10

SERVER_EMAIL    

'root@localhost'

SESSION_COOKIE_PATH     

'/'

USE_X_FORWARDED_HOST    

False

FIND_TOLERANCE  

600

MIDDLEWARE_CLASSES      

('django.middleware.common.CommonMiddleware',
 'django.middleware.gzip.GZipMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware')

USE_I18N        

True

LDAP_USER_QUERY         

''

SECRET_KEY      

u'********************'

LANGUAGE_COOKIE_NAME    

'django_language'

USE_REMOTE_USER_AUTHENTICATION  

False

FILE_UPLOAD_TEMP_DIR    

None

LDAP_SEARCH_BASE        

''

TRANSACTIONS_MANAGED    

False

LOGGING_CONFIG  

'django.utils.log.dictConfig'

TEMPLATE_LOADERS        

('django.template.loaders.filesystem.Loader',
 'django.template.loaders.app_directories.Loader')

LOG_DIR         

'/opt/graphite/storage/log/webapp'

TEMPLATE_DEBUG  

False

X_FRAME_OPTIONS         

'SAMEORIGIN'

CSRF_COOKIE_NAME        

'csrftoken'

FORCE_SCRIPT_NAME       

None

CACHE_BACKEND   

'dummy:///'

DASHBOARD_REQUIRE_AUTHENTICATION        

False

LDAP_PORT       

389

SIGNING_BACKEND         

'django.core.signing.TimestampSigner'

SESSION_COOKIE_SECURE   

False

LDAP_BASE_PASS  

u'********************'

JAVASCRIPT_DEBUG        

False

CSRF_COOKIE_DOMAIN      

None

FILE_CHARSET    

'utf-8'

DEBUG   

True

CERES_DIR       

'/opt/graphite/storage/ceres/'

SESSION_FILE_PATH       

None

DEFAULT_FILE_STORAGE    

'django.core.files.storage.FileSystemStorage'

INSTALLED_APPS  

('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')

LANGUAGES       

(('ar', 'Arabic'),
 ('az', 'Azerbaijani'),
 ('bg', 'Bulgarian'),
 ('bn', 'Bengali'),
 ('bs', 'Bosnian'),
 ('ca', 'Catalan'),
 ('cs', 'Czech'),
 ('cy', 'Welsh'),
 ('da', 'Danish'),
 ('de', 'German'),
 ('el', 'Greek'),
 ('en', 'English'),
 ('en-gb', 'British English'),
 ('eo', 'Esperanto'),
 ('es', 'Spanish'),
 ('es-ar', 'Argentinian Spanish'),
 ('es-mx', 'Mexican Spanish'),
 ('es-ni', 'Nicaraguan Spanish'),
 ('et', 'Estonian'),
 ('eu', 'Basque'),
 ('fa', 'Persian'),
 ('fi', 'Finnish'),
 ('fr', 'French'),
 ('fy-nl', 'Frisian'),
 ('ga', 'Irish'),
 ('gl', 'Galician'),
 ('he', 'Hebrew'),
 ('hi', 'Hindi'),
 ('hr', 'Croatian'),
 ('hu', 'Hungarian'),
 ('id', 'Indonesian'),
 ('is', 'Icelandic'),
 ('it', 'Italian'),
 ('ja', 'Japanese'),
 ('ka', 'Georgian'),
 ('kk', 'Kazakh'),
 ('km', 'Khmer'),
 ('kn', 'Kannada'),
 ('ko', 'Korean'),
 ('lt', 'Lithuanian'),
 ('lv', 'Latvian'),
 ('mk', 'Macedonian'),
 ('ml', 'Malayalam'),
 ('mn', 'Mongolian'),
 ('nb', 'Norwegian Bokmal'),
 ('ne', 'Nepali'),
 ('nl', 'Dutch'),
 ('nn', 'Norwegian Nynorsk'),
 ('pa', 'Punjabi'),
 ('pl', 'Polish'),
 ('pt', 'Portuguese'),
 ('pt-br', 'Brazilian Portuguese'),
 ('ro', 'Romanian'),
 ('ru', 'Russian'),
 ('sk', 'Slovak'),
 ('sl', 'Slovenian'),
 ('sq', 'Albanian'),
 ('sr', 'Serbian'),
 ('sr-latn', 'Serbian Latin'),
 ('sv', 'Swedish'),
 ('sw', 'Swahili'),
 ('ta', 'Tamil'),
 ('te', 'Telugu'),
 ('th', 'Thai'),
 ('tr', 'Turkish'),
 ('tt', 'Tatar'),
 ('uk', 'Ukrainian'),
 ('ur', 'Urdu'),
 ('vi', 'Vietnamese'),
 ('zh-cn', 'Simplified Chinese'),
 ('zh-tw', 'Traditional Chinese'))

USE_L10N        

False

COMMENTS_ALLOW_PROFANITIES      

False

STATICFILES_DIRS        

()

PREPEND_WWW     

False

SECURE_PROXY_SSL_HEADER         

None

SESSION_COOKIE_HTTPONLY         

True

DEBUG_PROPAGATE_EXCEPTIONS      

False

CACHES  

{'default': {'BACKEND': 'django.core.cache.backends.dummy.DummyCache',
             'LOCATION': ''}}

MONTH_DAY_FORMAT        

'F j'

LOGIN_URL       

'/account/login'

SESSION_EXPIRE_AT_BROWSER_CLOSE         

False

STANDARD_DIRS   

['/opt/graphite/storage/whisper/']

LDAP_SERVER     

''

TIME_FORMAT     

'P'

MEMCACHE_HOSTS  

[]

DATE_INPUT_FORMATS      

('%Y-%m-%d',
 '%m/%d/%Y',
 '%m/%d/%y',
 '%b %d %Y',
 '%b %d, %Y',
 '%d %b %Y',
 '%d %b, %Y',
 '%B %d %Y',
 '%B %d, %Y',
 '%d %B %Y',
 '%d %B, %Y')

GRAPHITE_WEB_APP_SETTINGS_LOADED        

True

CONTENT_DIR     

'/opt/graphite/webapp/content'

AUTHENTICATION_BACKENDS         

['django.contrib.auth.backends.ModelBackend']

EMAIL_HOST_PASSWORD     

u'********************'

CARBONLINK_HASHING_KEYFUNC      

u'********************'

PASSWORD_RESET_TIMEOUT_DAYS     

u'********************'

CACHE_MIDDLEWARE_ALIAS  

'default'

SESSION_SAVE_EVERY_REQUEST      

False

ADMIN_MEDIA_PREFIX      

'/media/'

NUMBER_GROUPING         

0

SESSION_ENGINE  

'django.contrib.sessions.backends.db'

CSRF_FAILURE_VIEW       

'django.views.csrf.csrf_failure'

CSRF_COOKIE_PATH        

'/'

LOGIN_REDIRECT_URL      

'/accounts/profile/'

FLUSHRRDCACHED  

''

DECIMAL_SEPARATOR       

'.'

FIND_CACHE_DURATION     

300

IGNORABLE_404_URLS      

()

LOCALE_PATHS    

()

WHITELIST_FILE  

'/opt/graphite/storage/lists/whitelist'

TEMPLATE_STRING_IF_INVALID      

''

LOGOUT_URL      

'/accounts/logout/'

STORAGE_DIR     

'/opt/graphite/storage'

DASHBOARD_CONF  

'/opt/graphite/conf/dashboard.conf'

RRD_DIR         

'/opt/graphite/storage/rrd/'

FIXTURE_DIRS    

()

EMAIL_HOST      

'localhost'

DATE_FORMAT     

'N j, Y'

MEDIA_ROOT      

''

DEFAULT_EXCEPTION_REPORTER_FILTER       

'django.views.debug.SafeExceptionReporterFilter'

ADMINS  

()

LOG_METRIC_ACCESS       

False

FORMAT_MODULE_PATH      

None

DEFAULT_FROM_EMAIL      

'webmaster@localhost'

THOUSAND_SEPARATOR      

','

WEB_DIR         

'/opt/graphite/webapp/graphite'

MEDIA_URL       

''

DATETIME_FORMAT         

'N j, Y, P'

TEMPLATE_DIRS   

('/opt/graphite/webapp/graphite/templates',)

DJANGO_VERSION  

(1, 4, 1, 'final', 0)

REMOTE_FIND_TIMEOUT     

3.0

SITE_ID         

1

DISALLOWED_USER_AGENTS  

()

ALLOWED_INCLUDE_ROOTS   

()

USE_THOUSAND_SEPARATOR  

False

USE_LDAP_AUTH   

False

LOGGING         

{'disable_existing_loggers': False,
 'filters': {'require_debug_false': {'()': 
'django.utils.log.RequireDebugFalse'}},
 'handlers': {'mail_admins': {'class': 'django.utils.log.AdminEmailHandler',
                              'filters': ['require_debug_false'],
                              'level': 'ERROR'}},
 'loggers': {'django.request': {'handlers': ['mail_admins'],
                                'level': 'ERROR',
                                'propagate': True}},
 'version': 1}

SHORT_DATE_FORMAT       

'm/d/Y'

RRD_CF  

'AVERAGE'

WEBAPP_VERSION  

'0.10.0-alpha'

STATICFILES_FINDERS     

('django.contrib.staticfiles.finders.FileSystemFinder',
 'django.contrib.staticfiles.finders.AppDirectoriesFinder')

CACHE_MIDDLEWARE_KEY_PREFIX     

u'********************'

SMTP_SERVER     

'localhost'

FILE_UPLOAD_MAX_MEMORY_SIZE     

2621440

WHISPER_DIR     

'/opt/graphite/storage/whisper/'

EMAIL_BACKEND   

'django.core.mail.backends.smtp.EmailBackend'

DEFAULT_TABLESPACE      

''

TEMPLATE_CONTEXT_PROCESSORS     

('django.contrib.auth.context_processors.auth',
 'django.core.context_processors.debug',
 'django.core.context_processors.i18n',
 'django.core.context_processors.media',
 'django.core.context_processors.static',
 'django.core.context_processors.tz',
 'django.contrib.messages.context_processors.messages')

RENDERING_HOSTS         

[]

ALLOW_ANONYMOUS_CLI     

True

SESSION_COOKIE_AGE      

1209600

SETTINGS_MODULE         

'graphite.settings'

USE_ETAGS       

False

DEFAULT_CACHE_DURATION  

60

LANGUAGES_BIDI  

('he', 'ar', 'fa')

DEFAULT_INDEX_TABLESPACE        

''

INTERNAL_IPS    

()

STATIC_URL      

None

EMAIL_PORT      

25

LOG_RENDERING_PERFORMANCE       

False

DASHBOARD_REQUIRE_EDIT_GROUP    

None

USE_TZ  

False

SHORT_DATETIME_FORMAT   

'm/d/Y P'

PASSWORD_HASHERS        

u'********************'

REMOTE_RETRY_DELAY      

60.0

ABSOLUTE_URL_OVERRIDES  

{}

CACHE_MIDDLEWARE_SECONDS        

600

DASHBOARD_REQUIRE_PERMISSIONS   

False

DATETIME_INPUT_FORMATS  

('%Y-%m-%d %H:%M:%S',
 '%Y-%m-%d %H:%M:%S.%f',
 '%Y-%m-%d %H:%M',
 '%Y-%m-%d',
 '%m/%d/%Y %H:%M:%S',
 '%m/%d/%Y %H:%M:%S.%f',
 '%m/%d/%Y %H:%M',
 '%m/%d/%Y',
 '%m/%d/%y %H:%M:%S',
 '%m/%d/%y %H:%M:%S.%f',
 '%m/%d/%y %H:%M',
 '%m/%d/%y')

GRAPHTEMPLATES_CONF     

'/opt/graphite/conf/graphTemplates.conf'

EMAIL_HOST_USER         

''

PROFANITIES_LIST        

u'********************'
--------------------------------------------------------------------------------------

Please reply me what is going wrong in my configuration

Thanks in advance.


-- 
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