graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #02384
[Question #192727]: ImportError: cannot import name parse_lookup
New question #192727 on Graphite:
https://answers.launchpad.net/graphite/+question/192727
Hello
I'm trying to implement the Graphite on our servers and when i try to do a syn_db i have this error message:
ImportError: cannot import name parse_lookup
here is the full tarck
root@debian:/opt/graphite/webapp/graphite# python manage.py syncdb
/usr/local/lib/python2.6/dist-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/local/lib/python2.6/dist-packages/django/core/cache/__init__.py:73: DeprecationWarning: settings.CACHE_* is deprecated; use settings.CACHES instead.
DeprecationWarning
Traceback (most recent call last):
File "manage.py", line 11, in <module>
execute_manager(settings)
File "/usr/local/lib/python2.6/dist-packages/django/core/management/__init__.py", line 458, in execute_manager
utility.execute()
File "/usr/local/lib/python2.6/dist-packages/django/core/management/__init__.py", line 381, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python2.6/dist-packages/django/core/management/base.py", line 195, in run_from_argv
self.execute(*args, **options.__dict__)
File "/usr/local/lib/python2.6/dist-packages/django/core/management/base.py", line 230, in execute
self.validate()
File "/usr/local/lib/python2.6/dist-packages/django/core/management/base.py", line 266, in validate
num_errors = get_validation_errors(s, app)
File "/usr/local/lib/python2.6/dist-packages/django/core/management/validation.py", line 30, in get_validation_errors
for (app_name, error) in get_app_errors().items():
File "/usr/local/lib/python2.6/dist-packages/django/db/models/loading.py", line 158, in get_app_errors
self._populate()
File "/usr/local/lib/python2.6/dist-packages/django/db/models/loading.py", line 67, in _populate
self.load_app(app_name)
File "/usr/local/lib/python2.6/dist-packages/django/db/models/loading.py", line 88, in load_app
models = import_module('.models', app_name)
File "/usr/local/lib/python2.6/dist-packages/django/utils/importlib.py", line 35, in import_module
__import__(name)
File "/opt/graphite/webapp/graphite/events/models.py", line 10, in <module>
from tagging.fields import TagField
File "/usr/local/lib/python2.6/dist-packages/tagging-0.2.1-py2.6.egg/tagging/fields.py", line 10, in <module>
from tagging.models import Tag
File "/usr/local/lib/python2.6/dist-packages/tagging-0.2.1-py2.6.egg/tagging/models.py", line 9, in <module>
from tagging.managers import TagManager, TaggedItemManager
File "/usr/local/lib/python2.6/dist-packages/tagging-0.2.1-py2.6.egg/tagging/managers.py", line 6, in <module>
from django.db.models.query import QuerySet, parse_lookup
ImportError: cannot import name parse_lookup
I'm using python 2.6.6 and Django 1.5 with a MySQL database.
I changed the version of Django and Python but still recieve this error message when i do a Sync DB =(
Thanks for the help and sorry for my poor english =P
Regards
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.