graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #05938
[Question #280891]: Issue configuring graphite db
New question #280891 on Graphite:
https://answers.launchpad.net/graphite/+question/280891
Hello,
I am trying to configure graphite db with the below command
sudo python manage.py syncdb in /opt/graphite/webapp/graphite/ directory.
I am getting the below error
[root@localhost graphite]# sudo python manage.py syncdb
Could not import graphite.local_settings, using defaults!
Traceback (most recent call last):
File "manage.py", line 15, in <module>
execute_from_command_line(sys.argv)
File "/usr/lib/python2.7/site-packages/Django-1.9.1-py2.7.egg/django/core/management/__init__.py", line 353, in execute_from_command_line
utility.execute()
File "/usr/lib/python2.7/site-packages/Django-1.9.1-py2.7.egg/django/core/management/__init__.py", line 327, in execute
django.setup()
File "/usr/lib/python2.7/site-packages/Django-1.9.1-py2.7.egg/django/__init__.py", line 18, in setup
apps.populate(settings.INSTALLED_APPS)
File "/usr/lib/python2.7/site-packages/Django-1.9.1-py2.7.egg/django/apps/registry.py", line 108, in populate
app_config.import_models(all_models)
File "/usr/lib/python2.7/site-packages/Django-1.9.1-py2.7.egg/django/apps/config.py", line 202, in import_models
self.models_module = import_module(models_module_name)
File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/opt/graphite/webapp/graphite/events/models.py", line 6, in <module>
from tagging.managers import ModelTaggedItemManager
File "/usr/lib/python2.7/site-packages/tagging/managers.py", line 8, in <module>
from tagging.models import Tag, TaggedItem
File "/usr/lib/python2.7/site-packages/tagging/models.py", line 10, in <module>
from django.contrib.contenttypes import generic
ImportError: cannot import name generic
Could anybody please let me know what can be done to f ix this? Thanks
--
You received this question notification because your team graphite-dev
is an answer contact for Graphite.