New issue 108 by luke.leighton: runtime exception after patching to take
account of forced usage of python 2.6
http://code.google.com/p/django-evolution/issues/detail?id=108
see #101, first.
after patching to take into account the forced usage of python 2.6 (no,
forcing people to use python 2.6 when debian is still using python 2.5 is
not ok), the following error occurs on svn r166:
$ ./manage.py evolve --hint --execute
Traceback (most recent call last):
File "./manage.py", line 11, in <module>
execute_manager(localsettings)
File
"/usr/lib/python2.5/site-packages/django/core/management/__init__.py", line
301, in execute_manager
utility.execute()
File
"/usr/lib/python2.5/site-packages/django/core/management/__init__.py", line
248, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/python2.5/site-packages/django/core/management/base.py",
line 77, in run_from_argv
self.execute(*args, **options.__dict__)
File "/usr/lib/python2.5/site-packages/django/core/management/base.py",
line 91, in execute
output = self.handle(*args, **options)
File
"/usr/lib/python2.5/site-packages/django_evolution/management/commands/evolve.py",
line 99, in handle
app_sql.extend(mutation.mutate(app_label, database_sig))
File "/usr/lib/python2.5/site-packages/django_evolution/mutations.py",
line 261, in mutate
return self.add_column(app_label, proj_sig)
File "/usr/lib/python2.5/site-packages/django_evolution/mutations.py",
line 273, in add_column
sql_statements.extend(evolver.create_index(model, field))
File "/usr/lib/python2.5/site-packages/django_evolution/db/common.py",
line 98, in create_index
return connection.creation.sql_indexes_for_field(model, f, style)
AttributeError: 'DatabaseWrapper' object has no attribute 'creation'
you _really_ need to sort this out, and include python 2.5 as part of
day-to-day usage and development of django evolution. if some lovely
feature is present in python 2.6, tough luck: don't use it.
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings