dcramer/sentry — Issue #284: Cannot import LegacyConnection?
Author: victorhooi
Created: 2012-01-01 22:01:49+00:00
State: open

Hi,

A recent commit seems to have broken Sentry for me.

When I try to run a ./manage.py syncdb, I get:

```
Traceback (most recent call last):
File "./manage.py", line 11, in
execute_manager(settings)
File "/sites/.virtualenvs/colloquium/src/django/django/core/management/__init__.py", line 436, in execute_manager
utility.execute()
File "/sites/.virtualenvs/colloquium/src/django/django/core/management/__init__.py", line 359, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/sites/.virtualenvs/colloquium/src/django/django/core/management/base.py", line 196, in run_from_argv
self.execute(*args, **options.__dict__)
File "/sites/.virtualenvs/colloquium/src/django/django/core/management/base.py", line 231, in execute
self.validate()
File "/sites/.virtualenvs/colloquium/src/django/django/core/management/base.py", line 266, in validate
num_errors = get_validation_errors(s, app)
File "/sites/.virtualenvs/colloquium/src/django/django/core/management/validation.py", line 30, in get_validation_errors
for (app_name, error) in get_app_errors().items():
File "/sites/.virtualenvs/colloquium/src/django/django/db/models/loading.py", line 158, in get_app_errors
self._populate()
File "/sites/.virtualenvs/colloquium/src/django/django/db/models/loading.py", line 67, in _populate
self.load_app(app_name)
File "/sites/.virtualenvs/colloquium/src/django/django/db/models/loading.py", line 88, in load_app
models = import_module('.models', app_name)
File "/sites/.virtualenvs/colloquium/src/django/django/utils/importlib.py", line 35, in import_module
__import__(name)
File "/sites/.virtualenvs/colloquium/src/sentry/sentry/models.py", line 15, in
from bitfield import BitField
File "/sites/.virtualenvs/colloquium/local/lib/python2.7/site-packages/bitfield/__init__.py", line 15, in
from django.db.models.fields.subclassing import Creator, LegacyConnection
ImportError: cannot import name LegacyConnection
```

Any idea what might be causing this?

Cheers,
Victor