﻿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
5289	[schema-evolution] global name 'set' is not defined	guru_yaya@…	nobody	"I'm using schema evolution version of django installed from svn, on a shared hosting account on site5.com. I have allready installed svn version of django with no sql-schema support, and I got it running. Now when I try to add the chema evolution support, and then run sqncdb I get this error:

{{{
[03:57:23][ *myhomedir* @ pan:~/django_projects/pulmus]$ ./manage.py syncdb
Creating table auth_message
Creating table auth_group
Creating table auth_user
Creating table auth_permission
Creating table django_content_type
Creating table django_session
Creating table django_site
Creating table django_admin_log
Traceback (most recent call last):
  File ""./manage.py"", line 11, in ?
    execute_manager(settings)
  File ""/home/myhomedir/lib/python2.3/django/core/management.py"", line 1886, in execute_manager
    execute_from_command_line(action_mapping, argv)
  File ""/home/myhomedir/lib/python2.3/django/core/management.py"", line 1777, in execute_from_command_line
    action_mapping[action](int(options.verbosity), options.interactive)
  File ""/home/myhomedir/lib/python2.3/django/core/management.py"", line 713, in syncdb
    schema_fingerprint, introspected_upgrade, evolution = get_sql_evolution_detailed(app)
  File ""/home/myhomedir/lib/python2.3/django/core/management.py"", line 617, in get_sql_evolution_detailed
    output = schema_evolution.get_sql_evolution_check_for_dead_fields(klass, new_table_name)
  File ""/home/myhomedir/lib/python2.3/django/core/schema_evolution.py"", line 139, in get_sql_evolution_check_for_dead_fields
    suspect_fields = set(introspection.get_columns(cursor,db_table))
NameError: global name 'set' is not defined
}}}


anything you can do? I'm new to python, and I cannot figure it out mysqlf yet, sorry."		closed	Uncategorized	other branch		wontfix	schema evolution		Accepted	1	0	1	0	0	0
