Opened 17 years ago
Closed 16 years ago
#5230 closed (wontfix)
[schema-evolution] sqlevolve fails
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Database layer (models, ORM) | Version: | other branch |
Severity: | Keywords: | schemaEvolution | |
Cc: | Triage Stage: | Someday/Maybe | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
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...
Change History (4)
comment:1 by , 17 years ago
comment:2 by , 17 years ago
Summary: | schemaEvolution sqlevolve fails → [schema-evolution] sqlevolve fails |
---|
comment:3 by , 17 years ago
Triage Stage: | Unreviewed → Someday/Maybe |
---|
comment:4 by , 16 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
This branch is not maintained, and will almost definately not be used if/when evolutions make their way into django.
As fair warning - the schema-evolution branch is a slightly wierd beast. It was introduced for a Google Summer of Code project in 2006, but wasn't merged at the end of that period; recent discussions about the design implemented by the branch suggest that it is unlikely that this branch will be merged in its current form.
I'll leave this ticket open in case Derek (the developer working on the branch) wants to address the issue, but you should be warned that the core developers aren't looking at this branch, either to fix bugs or to coordinate merging to trunk. If a schema-evolution feature comes to Django, it almost certainly won't look like this branch.