2007/7/26, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> noone wanting to try autoload'ing nor metadatadiff? i am surprised..
> Christophe, u can at least try how much autoload.py works like your
> autocode2 - i got lost with 'schema' vs 'dbname' - and/or add mysql
> support (;-)
I tried to run it on a mssql db (Although I'd prefer to test it on a
mysql db to see the actual differences from autocode2), but I got some
errors :
Traceback (most recent call last):
File "autoload.py", line 233, in ?
autoloader = AutoLoader( engine)
File "autoload.py", line 100, in __init__
me.table_names = engine.execute( sqltext)
File "/home/cdevienne/prog/sqlalchemy/lib/sqlalchemy/engine/base.py",
line 773, in execute
return connection.execute(statement, *multiparams, **params)
File "/home/cdevienne/prog/sqlalchemy/lib/sqlalchemy/engine/base.py",
line 517, in execute
return Connection.executors[c](self, object, *multiparams, **params)
File "/home/cdevienne/prog/sqlalchemy/lib/sqlalchemy/engine/base.py",
line 557, in execute_clauseelement
return self.execute_compiled(elem.compile(dialect=self.dialect,
parameters=param), *multiparams, **params)
File "/home/cdevienne/prog/sqlalchemy/lib/sqlalchemy/engine/base.py",
line 568, in execute_compiled
self._execute_raw(context)
File "/home/cdevienne/prog/sqlalchemy/lib/sqlalchemy/engine/base.py",
line 581, in _execute_raw
self._execute(context)
File "/home/cdevienne/prog/sqlalchemy/lib/sqlalchemy/engine/base.py",
line 599, in _execute
raise exceptions.SQLError(context.statement, context.parameters, e)
sqlalchemy.exceptions.SQLError: (DatabaseError) internal error (do not
know how to handle type <class
'sqlalchemy.databases.mssql.MSSQLDialect_pymssql'>): None 'SELECT
tables_77bf.table_name, tables_77bf.table_schema \nFROM
information_schema.tables AS tables_77bf \nWHERE
tables_77bf.table_schema = %(tables_table_schema)s'
{'tables_table_schema':
<sqlalchemy.databases.mssql.MSSQLDialect_pymssql object at
0xb78a7f0c>}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---