How do I use this script?

I gave a fairly complex and relatively large database (few hunderd
thousand records) to try and use with web2py.

When I run this script (the version that came with 1.85.2)  I get:

$ python extract_mysql_models.py user:pas...@kbase
Traceback (most recent call last):
  File "extract_mysql_models.py", line 106, in <module>
    print mysql(m.group(3),m.group(1),m.group(2))
  File "extract_mysql_models.py", line 92, in mysql
    web2py_table_code += "\n    Field('%s','%s'),"%(name,data_type_map[d_type])
KeyError: '1'

Regards
Johann
-- 
    "The fool hath said in his heart, There is no God..."
                               Psalm 14:1

Reply via email to