﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
5230	[schema-evolution] sqlevolve fails	raik.gruenberg@…	nobody	"I just installed the schemaEvolution branch of django (following the instructions on the schemaEvolutionDocumentation site). I added a table and some fields to an existing (and working data model) and then run:

{{{
python manage.py sqlevolve repository
}}}

But this resulted in the following Error:

{{{
BEGIN;
Traceback (most recent call last):
  File ""manage.py"", line 11, in <module>
    execute_manager(settings)
  File ""/usr/lib/python2.5/site-packages/django/core/management.py"", line 1886, in execute_manager
    execute_from_command_line(action_mapping, argv)
  File ""/usr/lib/python2.5/site-packages/django/core/management.py"", line 1845, in execute_from_command_line
    output = action_mapping[action](mod)
  File ""/usr/lib/python2.5/site-packages/django/core/management.py"", line 512, in get_sql_evolution
    return get_sql_evolution_detailed(app)[2]
  File ""/usr/lib/python2.5/site-packages/django/core/management.py"", line 550, in get_sql_evolution_detailed
    schema_fingerprint = introspection.get_schema_fingerprint(cursor, app)
AttributeError: 'module' object has no attribute 'get_schema_fingerprint'

}}}

My test system is a ubuntu 7.04 server, runs python 2.4 and the database sits in postgresql 8.2.
I can attach the models.py script but the error doesn't look as if it is related to my data... "		closed	Database layer (models, ORM)	other branch		wontfix	schemaEvolution		Someday/Maybe	0	0	0	0	0	0
