dcramer/sentry — Issue #298: ImportError haystack: cannot import name GroupedMessage
Author: dosena
Created: 2012-01-13 11:19:58+00:00
State: open

GroupedMessage does not exist in sentry.models, the attempted import fails:

$ bin/sentry upgrade
Traceback (most recent call last):
File "bin/sentry", line 8, in
load_entry_point('sentry==2.0.0-RC1', 'console_scripts', 'sentry')()
File "/home/sentry/server/lib/python2.6/site-packages/sentry/scripts/runner.py", line 177, in main
command(**kwargs)
File "/home/sentry/server/lib/python2.6/site-packages/sentry/commands/upgrade.py", line 17, in upgrade
call_command('syncdb', database='default', interactive=interactive)
File "/home/sentry/server/lib/python2.6/site-packages/django/core/management/__init__.py", line 153, in call_command
klass = load_command_class(app_name, name)
File "/home/sentry/server/lib/python2.6/site-packages/django/core/management/__init__.py", line 67, in load_command_class
module = import_module('%s.management.commands.%s' % (app_name, name))
File "/home/sentry/server/lib/python2.6/site-packages/django/utils/importlib.py", line 35, in import_module
__import__(name)
File "/home/sentry/server/lib/python2.6/site-packages/south/management/commands/__init__.py", line 10, in
import django.template.loaders.app_directories
File "/home/sentry/server/lib/python2.6/site-packages/django/template/loaders/app_directories.py", line 23, in
raise ImproperlyConfigured('ImportError %s: %s' % (app, e.args[0]))
django.core.exceptions.ImproperlyConfigured: ImportError haystack: cannot import name GroupedMessage