Modify ↓
Ticket #589 (closed defect: wontfix)
Attempts to inspect egg directories for migrations fails
| Reported by: | floguy@… | Owned by: | andrew |
|---|---|---|---|
| Priority: | major | Milestone: | 0.7.3 |
| Component: | commands | Version: | 0.7.2 |
| Keywords: | Cc: |
Description
Traceback (most recent call last):
File "manage.py", line 16, in <module>
execute_manager(settings)
File "/mochi/opt/app-env/py26-ticket8057/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/core/management/__init__.py", line 438, in execute_manager
utility.execute()
File "/mochi/opt/app-env/py26-ticket8057/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/core/management/__init__.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/mochi/opt/app-env/py26-ticket8057/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/core/management/base.py", line 191, in run_from_argv
self.execute(*args, **options.__dict__)
File "/mochi/opt/app-env/py26-ticket8057/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/core/management/base.py", line 220, in execute
output = self.handle(*args, **options)
File "/mochi/opt/app-env/py26-ticket8057/lib/python2.6/site-packages/South-0.7.2-py2.6.egg/south/management/commands/migrate.py", line 84, in handle
apps = list(migration.all_migrations())
File "/mochi/opt/app-env/py26-ticket8057/lib/python2.6/site-packages/South-0.7.2-py2.6.egg/south/migration/base.py", line 29, in all_migrations
yield Migrations(app)
File "/mochi/opt/app-env/py26-ticket8057/lib/python2.6/site-packages/South-0.7.2-py2.6.egg/south/migration/base.py", line 60, in __call__
self.instances[app_label] = super(MigrationsMetaclass, self).__call__(app_label_to_app_module(app_label), **kwds)
File "/mochi/opt/app-env/py26-ticket8057/lib/python2.6/site-packages/South-0.7.2-py2.6.egg/south/migration/base.py", line 88, in __init__
self.set_application(application, force_creation, verbose_creation)
File "/mochi/opt/app-env/py26-ticket8057/lib/python2.6/site-packages/South-0.7.2-py2.6.egg/south/migration/base.py", line 161, in set_application
self._load_migrations_module(application.migrations)
File "/mochi/opt/app-env/py26-ticket8057/lib/python2.6/site-packages/South-0.7.2-py2.6.egg/south/migration/base.py", line 169, in _load_migrations_module
for f in os.listdir(dirname):
OSError: [Errno 20] Not a directory: '/mochi/opt/app-env/py26-ticket8057/lib/python2.6/site-packages/django_indexer-0.2-py2.6.egg/indexer/migrations'
Attachments
Change History
comment:1 Changed 3 years ago by andrew
- Status changed from new to closed
- Resolution set to wontfix
- Milestone set to 0.7.3
Note: See
TracTickets for help on using
tickets.

Yeah, we don't support zipped eggs for migrations, since you can't discover what migrations there are inside them easily, if at all. You should set this in your ~/.distutils.cfg:
That will install all packages unzipped.