graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #05442
Re: [Question #263310]: unable to perform default holtwinters
Question #263310 on Graphite changed:
https://answers.launchpad.net/graphite/+question/263310
Description changed to:
I have a series data that I summaries into daily and like to perform a
default holtwinters forecast function. I get this error. Can somebody
tell me what is this error mesage?
Request Method: POST
Request URL: http://10.5.151.236:8090/render
Django Version: 1.6.8
Exception Type: IndexError
Exception Value:
list index out of range
Exception Location: /opt/graphite/webapp/graphite/render/functions.py in getLastSeasonal, line 2151
Python Executable: /usr/bin/python
Python Version: 2.6.9
Python Path:
['/usr/local/lib64/python2.6/site-packages/mod_wsgi-4.3.1-py2.6-linux-x86_64.egg',
'/usr/local/lib64/python2.6/site-packages/Twisted-14.0.2-py2.6-linux-x86_64.egg',
'/usr/local/lib64/python2.6/site-packages/zope.interface-4.1.1-py2.6-linux-x86_64.egg',
'/usr/local/lib64/python2.6/site-packages/python_memcached-1.53-py2.6.egg',
'/usr/local/lib64/python2.6/site-packages/daemonize-2.3.1-py2.6.egg',
'/usr/local/lib64/python2.6/site-packages/pyOpenSSL-0.14-py2.6.egg',
'/usr/local/lib64/python2.6/site-packages/six-1.7.3-py2.6.egg',
'/usr/local/lib64/python2.6/site-packages/cffi-0.8.2-py2.6-linux-x86_64.egg',
'/usr/local/lib64/python2.6/site-packages/pytz-2014.9-py2.6.egg',
'/usr/local/lib64/python2.6/site-packages/graphite_opentsdb-0.3.0-py2.6.egg',
'/usr/local/lib64/python2.6/site-packages/requests-2.4.3-py2.6.egg',
'/usr/local/lib64/python2.6/site-packages/django_cacheback-0.8-py2.6.egg',
'/usr/local/lib64/python2.6/site-packages/celery-3.1.16-py2.6.egg',
'/usr/local/lib64/python2.6/site-packages/kombu-3.0.23-py2.6.egg',
'/usr/local/lib64/python2.6/site-packages/amqp-1.4.6-py2.6.egg',
'/usr/local/lib64/python2.6/site-packages/anyjson-0.3.3-py2.6.egg',
'/usr/local/lib64/python2.6/site-packages/billiard-3.3.0.18-py2.6-linux-x86_64.egg',
'/usr/local/lib64/python2.6/site-packages/django_celery-3.1.16-py2.6.egg',
'/usr/local/lib64/python2.6/site-packages/pip-1.5.6-py2.6.egg',
'/usr/local/lib64/python2.6/site-packages/pyodbc-3.0.7-py2.6-linux-x86_64.egg',
'/usr/local/lib64/python2.6/site-packages/suds-0.4-py2.6.egg',
'/usr/local/lib64/python2.6/site-packages',
'/usr/local/lib64/python2.6/site-packages/pysftp-0.2.8-py2.6.egg',
'/usr/local/lib64/python2.6/site-packages/paramiko-1.15.1-py2.6.egg',
'/usr/lib/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/Numeric',
'/usr/lib64/python2.6/site-packages/gtk-2.0',
'/opt/graphite/webapp']
Server time: Fri, 6 Mar 2015 09:26:40 -0500
Traceback Switch to copy-and-paste view
/usr/local/lib64/python2.6/site-packages/django/core/handlers/base.py in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs) ...
▶ Local vars
/opt/graphite/webapp/graphite/render/views.py in renderView
seriesList = evaluateTarget(requestContext, target) ...
▶ Local vars
/opt/graphite/webapp/graphite/render/evaluator.py in evaluateTarget
result = evaluateTokens(requestContext, tokens) ...
▶ Local vars
/opt/graphite/webapp/graphite/render/evaluator.py in evaluateTokens
return evaluateTokens(requestContext, tokens.expression) ...
▶ Local vars
/opt/graphite/webapp/graphite/render/evaluator.py in evaluateTokens
return func(requestContext, *args, **kwargs) ...
▶ Local vars
/opt/graphite/webapp/graphite/render/functions.py in holtWintersForecast
analysis = holtWintersAnalysis(bootstrap) ...
▶ Local vars
/opt/graphite/webapp/graphite/render/functions.py in holtWintersAnalysis
next_last_seasonal = getLastSeasonal(i+1) ...
▶ Local vars
/opt/graphite/webapp/graphite/render/functions.py in getLastSeasonal
return seasonals[j] ...
▶ Local vars
Request information
GET
No GET data
POST
Variable Value
format
u'json'
from
u'-7d'
target
u"holtWintersForecast(summarize(sumSeries(Splunk.dc2.EZLM.customer_login.*), '1d', 'sum', false))"
maxDataPoints
u'1600'
until
u'now'
FILES
No FILES data
COOKIES
No cookie data
META
Variable Value
mod_wsgi.listener_port
'8090'
HTTP_REFERER
'http://10.5.151.236:8080/'
mod_wsgi.listener_host
''
SERVER_SOFTWARE
'Apache/2.2.12 (Linux/SUSE)'
SCRIPT_NAME
u''
mod_wsgi.enable_sendfile
'0'
mod_wsgi.handler_script
''
SERVER_SIGNATURE
'<address>Apache/2.2.12 (Linux/SUSE) Server at 10.5.151.236 Port 8090</address>\n'
REQUEST_METHOD
'POST'
PATH_INFO
u'/render'
HTTP_ORIGIN
'http://10.5.151.236:8080'
SERVER_PROTOCOL
'HTTP/1.1'
QUERY_STRING
''
CONTENT_LENGTH
'258'
HTTP_USER_AGENT
'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.76 Safari/537.36'
HTTP_CONNECTION
'keep-alive'
SERVER_NAME
'10.5.151.236'
REMOTE_ADDR
'29.0.82.215'
mod_wsgi.queue_start
'1425651996030554'
mod_wsgi.request_handler
'wsgi-script'
apache.version
(2, 2, 12)
wsgi.url_scheme
'http'
PATH_TRANSLATED
'/opt/graphite/conf/graphite.wsgi/render'
SERVER_PORT
'8090'
wsgi.multiprocess
True
mod_wsgi.input_chunked
'0'
SERVER_ADDR
'10.5.151.236'
DOCUMENT_ROOT
'/opt/graphite/webapp'
mod_wsgi.process_group
'graphite'
mod_wsgi.daemon_connects
'1'
SCRIPT_FILENAME
'/opt/graphite/conf/graphite.wsgi'
SERVER_ADMIN
'[no address given]'
wsgi.input
<mod_wsgi.Input object at 0x7fc9093c8470>
HTTP_HOST
'10.5.151.236:8090'
mod_wsgi.daemon_start
'1425651996030914'
wsgi.multithread
True
mod_wsgi.callable_object
'application'
mod_wsgi.daemon_restarts
'0'
REQUEST_URI
'/render'
HTTP_ACCEPT
'application/json, text/plain, */*'
wsgi.file_wrapper
''
wsgi.version
(1, 0)
GATEWAY_INTERFACE
'CGI/1.1'
wsgi.run_once
False
wsgi.errors
<mod_wsgi.Log object at 0x7fc90a64c270>
REMOTE_PORT
'51546'
HTTP_ACCEPT_LANGUAGE
'en-US,en;q=0.8'
mod_wsgi.version
(4, 3, 0)
mod_wsgi.script_start
'1425651996031100'
CONTENT_TYPE
'application/x-www-form-urlencoded'
mod_wsgi.application_group
'10.5.151.236:8090|'
mod_wsgi.script_reloading
'1'
mod_wsgi.request_start
'1425651996030268'
HTTP_ACCEPT_ENCODING
'gzip, deflate'
Settings
Using settings module graphite.settings
Setting Value
REMOTE_RENDERING
False
REMOTE_FETCH_TIMEOUT
60.0
EMAIL_USE_TLS
False
TIME_ZONE
'America/New_York'
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'
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
STATIC_ROOT
'/opt/graphite/static'
CARBONLINK_RETRY_DELAY
15
LOG_ROTATE
True
ALLOWED_HOSTS
['*']
REMOTE_RENDER_CONNECT_TIMEOUT
60.0
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
WSGI_APPLICATION
None
EMAIL_SUBJECT_PREFIX
'[Django] '
SEND_BROKEN_LINK_EMAILS
False
CONF_DIR
'/opt/graphite/conf'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_NAME
'sessionid'
LDAP_BASE_USER
''
REMOTE_READER_CACHE_SIZE_LIMIT
100000
ADMIN_FOR
()
TIME_INPUT_FORMATS
('%H:%M:%S', '%H:%M:%S.%f', '%H:%M')
REPLICATION_FACTOR
1
DATABASES
{'default': {'ATOMIC_REQUESTS': False,
'AUTOCOMMIT': True,
'CONN_MAX_AGE': 0,
'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': 'UTC',
'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.runner.DiscoverRunner'
APPEND_SLASH
False
FIRST_DAY_OF_WEEK
0
DATABASE_ROUTERS
[]
REMOTE_USER_BACKEND
''
CARBONLINK_HOSTS
['127.0.0.1:7002']
MAX_FETCH_RETRIES
5
YEAR_MONTH_FORMAT
'F Y'
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
INDEX_FILE
'/opt/graphite/storage/index'
STORAGE_DIR
'/opt/graphite/storage'
LEGEND_MAX_ITEMS
10
SERVER_EMAIL
'root@localhost'
SESSION_COOKIE_PATH
'/'
FIND_TOLERANCE
600
MIDDLEWARE_CLASSES
('graphite.middleware.LogExceptionsMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.gzip.GZipMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.cache.UpdateCacheMiddleware',
'django.middleware.cache.FetchFromCacheMiddleware')
USE_I18N
True
LDAP_USER_QUERY
''
SECRET_KEY
u'********************'
LANGUAGE_COOKIE_NAME
'django_language'
USE_REMOTE_USER_AUTHENTICATION
False
FILE_UPLOAD_TEMP_DIR
None
OPENTSDB_URI
'http://10.5.151.237:4242/api/v1/'
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
USE_X_FORWARDED_HOST
False
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.browser',
'graphite.composer',
'graphite.account',
'graphite.dashboard',
'graphite.whitelist',
'graphite.events',
'graphite.url_shortener',
'django.contrib.auth',
'django.contrib.sessions',
'django.contrib.admin',
'django.contrib.contenttypes',
'django.contrib.staticfiles',
'tagging',
'graphite_opentsdb',
'cacheback')
LANGUAGES
(('af', 'Afrikaans'),
('ar', 'Arabic'),
('az', 'Azerbaijani'),
('bg', 'Bulgarian'),
('be', 'Belarusian'),
('bn', 'Bengali'),
('br', 'Breton'),
('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'),
('es-ve', 'Venezuelan 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'),
('ia', 'Interlingua'),
('id', 'Indonesian'),
('is', 'Icelandic'),
('it', 'Italian'),
('ja', 'Japanese'),
('ka', 'Georgian'),
('kk', 'Kazakh'),
('km', 'Khmer'),
('kn', 'Kannada'),
('ko', 'Korean'),
('lb', 'Luxembourgish'),
('lt', 'Lithuanian'),
('lv', 'Latvian'),
('mk', 'Macedonian'),
('ml', 'Malayalam'),
('mn', 'Mongolian'),
('my', 'Burmese'),
('nb', 'Norwegian Bokmal'),
('ne', 'Nepali'),
('nl', 'Dutch'),
('nn', 'Norwegian Nynorsk'),
('os', 'Ossetic'),
('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'),
('udm', 'Udmurt'),
('uk', 'Ukrainian'),
('ur', 'Urdu'),
('vi', 'Vietnamese'),
('zh-cn', 'Simplified Chinese'),
('zh-tw', 'Traditional Chinese'))
USE_L10N
False
COMMENTS_ALLOW_PROFANITIES
False
STATICFILES_DIRS
('/opt/graphite/webapp/content',)
PREPEND_WWW
False
SECURE_PROXY_SSL_HEADER
None
SESSION_COOKIE_HTTPONLY
True
DEBUG_PROPAGATE_EXCEPTIONS
False
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
URL_PREFIX
''
MONTH_DAY_FORMAT
'F j'
STORAGE_FINDERS
('graphite_opentsdb.finder.OpenTSDBFinder',)
LOGIN_URL
<django.utils.functional.__proxy__ object at 0x7fc909619250>
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
STANDARD_DIRS
['/opt/graphite/storage/whisper/', '/opt/graphite/storage/rrd/']
LDAP_SERVER
''
TIME_FORMAT
'P'
MEMCACHE_HOSTS
[]
AUTH_USER_MODEL
'auth.User'
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
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
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/'
OPENTSDB_TREE
1
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/'
DASHBOARD_CONF
'/opt/graphite/conf/dashboard.conf'
TEMPLATE_DIRS
('/opt/graphite/webapp/graphite/templates',)
RRD_DIR
'/opt/graphite/storage/rrd/'
FIXTURE_DIRS
()
EMAIL_HOST
'localhost'
DATE_FORMAT
'N j, Y'
MEDIA_ROOT
''
CARBON_METRIC_PREFIX
'carbon'
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'
MEMCACHE_KEY_PREFIX
u'********************'
REMOTE_FIND_TIMEOUT
60.0
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'
CSRF_COOKIE_HTTPONLY
False
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
300
LANGUAGES_BIDI
('he', 'ar', 'fa', 'ur')
DEFAULT_INDEX_TABLESPACE
''
INTERNAL_IPS
()
STATIC_URL
'/static/'
EMAIL_PORT
25
LOG_RENDERING_PERFORMANCE
False
DASHBOARD_REQUIRE_EDIT_GROUP
None
USE_TZ
True
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
''
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.