try r6225 Ed Singleton wrote: > > Revision 6209 in the sa06 branch breaks everything with MSSQL on Mac > and Linux. It's not a major problem as I've reverted back. But I'd > thought I'd let you know. > > Stack trace follows: > > Traceback (most recent call last): > File "/Users/singletoned/.envs/nmailer/lib/python2.6/site-packages/ > nose-0.11.1-py2.6.egg/nose/case.py", line 183, in runTest > self.test(*self.arg) > File "/Users/singletoned/code/newman-mailserver/complex_thing.py", > line 54, in mapped_query > session, ThingTable = get_mapped_table(column_type) > File "/Users/singletoned/code/newman-mailserver/complex_thing.py", > line 33, in get_mapped_table > metadata.drop_all() > File "/Users/singletoned/src/sa06/lib/sqlalchemy/schema.py", line > 1780, in drop_all > bind.drop(self, checkfirst=checkfirst, tables=tables) > File "/Users/singletoned/src/sa06/lib/sqlalchemy/engine/base.py", > line 1339, in drop > self._run_visitor(ddl.SchemaDropper, entity, > connection=connection, **kwargs) > File "/Users/singletoned/src/sa06/lib/sqlalchemy/engine/base.py", > line 1363, in _run_visitor > visitorcallable(self.dialect, conn, **kwargs).traverse(element) > File "/Users/singletoned/src/sa06/lib/sqlalchemy/sql/visitors.py", > line 86, in traverse > return traverse(obj, self.__traverse_options__, self._visitor_dict) > File "/Users/singletoned/src/sa06/lib/sqlalchemy/sql/visitors.py", > line 197, in traverse > return traverse_using(iterate(obj, opts), obj, visitors) > File "/Users/singletoned/src/sa06/lib/sqlalchemy/sql/visitors.py", > line 191, in traverse_using > meth(target) > File "/Users/singletoned/src/sa06/lib/sqlalchemy/engine/ddl.py", > line 95, in visit_metadata > self.traverse_single(table) > File "/Users/singletoned/src/sa06/lib/sqlalchemy/sql/visitors.py", > line 76, in traverse_single > return meth(obj) > File "/Users/singletoned/src/sa06/lib/sqlalchemy/engine/ddl.py", > line 117, in visit_table > self.connection.execute(schema.DropTable(table)) > File "/Users/singletoned/src/sa06/lib/sqlalchemy/engine/base.py", > line 995, in execute > return Connection.executors[c](self, object, multiparams, params) > File "/Users/singletoned/src/sa06/lib/sqlalchemy/engine/base.py", > line 1045, in _execute_ddl > return self.__execute_context(context) > File "/Users/singletoned/src/sa06/lib/sqlalchemy/engine/base.py", > line 1082, in __execute_context > context.post_exec() > File "/Users/singletoned/src/sa06/lib/sqlalchemy/dialects/mssql/ > pyodbc.py", line 48, in post_exec > super(MSExecutionContext_pyodbc, self).post_exec() > File "/Users/singletoned/src/sa06/lib/sqlalchemy/dialects/mssql/ > base.py", line 888, in post_exec > if self.compiled.returning: > AttributeError: 'MSDDLCompiler' object has no attribute 'returning' > > > > >
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---