graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #05221
[Question #256355]: Unable to create initial db (syncdb)
New question #256355 on Graphite:
https://answers.launchpad.net/graphite/+question/256355
I followed the instructions, installed all of the dependencies. Yet, when I try to create the syncdb, I get these errors. Any ideas what might be happening here:
sudo python manage.py syncdb
Traceback (most recent call last):
File "manage.py", line 13, in <module>
execute_from_command_line(sys.argv)
File "/usr/local/lib64/python2.6/site-packages/django/core/management/__init__.py", line 429, in execute_from_command_line
utility.execute()
File "/usr/local/lib64/python2.6/site-packages/django/core/management/__init__.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib64/python2.6/site-packages/django/core/management/base.py", line 191, in run_from_argv
self.execute(*args, **options.__dict__)
File "/usr/local/lib64/python2.6/site-packages/django/core/management/base.py", line 219, in execute
self.validate()
File "/usr/local/lib64/python2.6/site-packages/django/core/management/base.py", line 249, in validate
num_errors = get_validation_errors(s, app)
File "/usr/local/lib64/python2.6/site-packages/django/core/management/validation.py", line 35, in get_validation_errors
for (app_name, error) in get_app_errors().items():
File "/usr/local/lib64/python2.6/site-packages/django/db/models/loading.py", line 146, in get_app_errors
self._populate()
File "/usr/local/lib64/python2.6/site-packages/django/db/models/loading.py", line 64, in _populate
self.load_app(app_name)
File "/usr/local/lib64/python2.6/site-packages/django/db/models/loading.py", line 78, in load_app
models = import_module('.models', app_name)
File "/usr/local/lib64/python2.6/site-packages/django/utils/importlib.py", line 35, in import_module
__import__(name)
File "/opt/graphite/webapp/graphite/events/models.py", line 6, in <module>
from tagging.managers import ModelTaggedItemManager
File "/usr/local/lib64/python2.6/site-packages/tagging/managers.py", line 8, in <module>
from .models import Tag, TaggedItem
File "/usr/local/lib64/python2.6/site-packages/tagging/models.py", line 7, in <module>
from django.utils.encoding import python_2_unicode_compatible
ImportError: cannot import name python_2_unicode_compatible
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.