On Fri, May 9, 2008 at 10:14 AM,  <[EMAIL PROTECTED]> wrote:
>
> On Friday 09 May 2008 16:32:25 Lukasz Szybalski wrote:
>> On Fri, May 9, 2008 at 4:46 AM,  <[EMAIL PROTECTED]> wrote:
>> > On Friday 09 May 2008 03:05, Lukasz Szybalski wrote:
>> >> Do you guys know what would give me column definition of table?
>> >
>> > do u want it as generated source-text or what?
>>
>> Yes. The Final output I would like is the txt version of db
>> definitions.
>
>> autoload --->  sqlalchemy.Column('Address_Sid', sqlalchemy.Integer,
>> primary_key=True),
> well, then see that one.
>
>> > have a look at dbcook/dbcook/misc/metadata/autoload.py
>> > at dbcook.sf.net
>
> running 'python autoload.py dburl' will dump the db-metadata into
> src-text,

I keep getting this error:

 python autoload.py "mysql://user:[EMAIL PROTECTED]/mytable"
Traceback (most recent call last):
  File "autoload.py", line 204, in ?
    assert 0, 'unsupported engine.dialect:'+str( engine.dialect)
AssertionError: unsupported
engine.dialect:<sqlalchemy.databases.mysql.MySQLDialect object at
0x2af7f6f522d0>
(ENV)[EMAIL PROTECTED]:~/tmp/metadata$ python autoload.py
"mysql://root:[EMAIL PROTECTED]/mysql"
mysql://root:[EMAIL PROTECTED]/mysql
Traceback (most recent call last):
  File "autoload.py", line 204, in ?
    assert 0, 'unsupported engine.dialect:'+str( engine.dialect)
AssertionError: unsupported
engine.dialect:<sqlalchemy.databases.mysql.MySQLDialect object at
0x2b11f2dcb2d0>


Any ideas?
Lucas

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to