Question #663104 on Graphite changed:
https://answers.launchpad.net/graphite/+question/663104
Status: Needs information => Open
Neil Stack gave more information on the question:
{"changed": true, "cmd": ["/opt/graphite/bin/django-admin", "migrate",
"--pythonpath", "/opt/graphite/webapp", "--settings=graphite.settings"], ,
"stdout_lines": [], "warnings": []}
stderr: Traceback (most recent call last):
File "/opt/graphite/bin/django-admin", line 11, in <module>
sys.exit(execute_from_command_line())
File
"/opt/graphite/local/lib/python2.7/site-packages/django/core/management/__init__.py",
line 353, in execute_from_command_line
utility.execute()
File
"/opt/graphite/local/lib/python2.7/site-packages/django/core/management/__init__.py",
line 345, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File
"/opt/graphite/local/lib/python2.7/site-packages/django/core/management/base.py",
line 348, in run_from_argv
self.execute(*args, **cmd_options)
File
"/opt/graphite/local/lib/python2.7/site-packages/django/core/management/base.py",
line 398, in execute
self.check()
File
"/opt/graphite/local/lib/python2.7/site-packages/django/core/management/base.py",
line 426, in check
include_deployment_checks=include_deployment_checks,
File
"/opt/graphite/local/lib/python2.7/site-packages/django/core/checks/registry.py",
line 75, in run_checks
new_errors = check(app_configs=app_configs)
File
"/opt/graphite/local/lib/python2.7/site-packages/django/core/checks/urls.py",
line 13, in check_url_config
return check_resolver(resolver)
File
"/opt/graphite/local/lib/python2.7/site-packages/django/core/checks/urls.py",
line 23, in check_resolver
for pattern in resolver.url_patterns:
File
"/opt/graphite/local/lib/python2.7/site-packages/django/utils/functional.py",
line 33, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File
"/opt/graphite/local/lib/python2.7/site-packages/django/core/urlresolvers.py",
line 417, in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File
"/opt/graphite/local/lib/python2.7/site-packages/django/utils/functional.py",
line 33, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File
"/opt/graphite/local/lib/python2.7/site-packages/django/core/urlresolvers.py",
line 410, in urlconf_module
return import_module(self.urlconf_name)
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/opt/graphite/webapp/graphite/urls.py", line 22, in <module>
url('^render/?', include('graphite.render.urls')),
File
"/opt/graphite/local/lib/python2.7/site-packages/django/conf/urls/__init__.py",
line 52, in include
urlconf_module = import_module(urlconf_module)
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/opt/graphite/webapp/graphite/render/urls.py", line 16, in <module>
from . import views
File "/opt/graphite/webapp/graphite/render/views.py", line 34, in <module>
from graphite.remote_storage import extractForwardHeaders,
prefetchRemoteData
File "/opt/graphite/webapp/graphite/remote_storage.py", line 10, in <module>
from graphite.readers import FetchInProgress
File "/opt/graphite/webapp/graphite/readers.py", line 9, in <module>
from scandir import scandir, stat # noqa # pylint: disable=unused-import
ImportError: No module named scandir
File "/opt/graphite/bin/django-admin", line 11, in <module>
sys.exit(execute_from_command_line())
File
"/opt/graphite/local/lib/python2.7/site-packages/django/core/management/__init__.py",
line 353, in execute_from_command_line
utility.execute()
File
"/opt/graphite/local/lib/python2.7/site-packages/django/core/management/__init__.py",
line 345, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File
"/opt/graphite/local/lib/python2.7/site-packages/django/core/management/base.py",
line 348, in run_from_argv
self.execute(*args, **cmd_options)
File
"/opt/graphite/local/lib/python2.7/site-packages/django/core/management/base.py",
line 398, in execute
self.check()
File
"/opt/graphite/local/lib/python2.7/site-packages/django/core/management/base.py",
line 426, in check
include_deployment_checks=include_deployment_checks,
File
"/opt/graphite/local/lib/python2.7/site-packages/django/core/checks/registry.py",
line 75, in run_checks
new_errors = check(app_configs=app_configs)
File
"/opt/graphite/local/lib/python2.7/site-packages/django/core/checks/urls.py",
line 13, in check_url_config
return check_resolver(resolver)
File
"/opt/graphite/local/lib/python2.7/site-packages/django/core/checks/urls.py",
line 23, in check_resolver
for pattern in resolver.url_patterns:
File
"/opt/graphite/local/lib/python2.7/site-packages/django/utils/functional.py",
line 33, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File
"/opt/graphite/local/lib/python2.7/site-packages/django/core/urlresolvers.py",
line 417, in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File
"/opt/graphite/local/lib/python2.7/site-packages/django/utils/functional.py",
line 33, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File
"/opt/graphite/local/lib/python2.7/site-packages/django/core/urlresolvers.py",
line 410, in urlconf_module
return import_module(self.urlconf_name)
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/opt/graphite/webapp/graphite/urls.py", line 22, in <module>
url('^render/?', include('graphite.render.urls')),
File
"/opt/graphite/local/lib/python2.7/site-packages/django/conf/urls/__init__.py",
line 52, in include
urlconf_module = import_module(urlconf_module)
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/opt/graphite/webapp/graphite/render/urls.py", line 16, in <module>
from . import views
File "/opt/graphite/webapp/graphite/render/views.py", line 34, in <module>
from graphite.remote_storage import extractForwardHeaders,
prefetchRemoteData
File "/opt/graphite/webapp/graphite/remote_storage.py", line 10, in <module>
from graphite.readers import FetchInProgress
File "/opt/graphite/webapp/graphite/readers.py", line 9, in <module>
from scandir import scandir, stat # noqa # pylint: disable=unused-import
ImportError: No module named scandir
--
You received this question notification because your team graphite-dev
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