graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #02998
Re: [Question #192727]: ImportError: cannot import name parse_lookup
Question #192727 on Graphite changed:
https://answers.launchpad.net/graphite/+question/192727
Zippy Zeppoli requested more information:
I have django-tagging present, and I reverted to 1.3 but I still have this problem:
python manage.py syncdb
/root/pysuk/lib/python2.6/site-packages/django/db/__init__.py:19: DeprecationWarning: settings.DATABASE_* is deprecated; use settings.DATABASES instead.
DeprecationWarning
Traceback (most recent call last):
File "manage.py", line 11, in <module>
execute_manager(settings)
File "/root/pysuk/lib/python2.6/site-packages/django/core/management/__init__.py", line 438, in execute_manager
utility.execute()
File "/root/pysuk/lib/python2.6/site-packages/django/core/management/__init__.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/root/pysuk/lib/python2.6/site-packages/django/core/management/base.py", line 191, in run_from_argv
self.execute(*args, **options.__dict__)
File "/root/pysuk/lib/python2.6/site-packages/django/core/management/base.py", line 219, in execute
self.validate()
File "/root/pysuk/lib/python2.6/site-packages/django/core/management/base.py", line 249, in validate
num_errors = get_validation_errors(s, app)
File "/root/pysuk/lib/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 "/root/pysuk/lib/python2.6/site-packages/django/db/models/loading.py", line 146, in get_app_errors
self._populate()
File "/root/pysuk/lib/python2.6/site-packages/django/db/models/loading.py", line 64, in _populate
self.load_app(app_name)
File "/root/pysuk/lib/python2.6/site-packages/django/db/models/loading.py", line 78, in load_app
models = import_module('.models', app_name)
File "/root/pysuk/lib/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 "/root/pysuk/lib/python2.6/site-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
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.