I am hosting my app on python anywhere and get the following error:

<class '_mysql_exceptions.OperationalError'> (1005, "Can't create table 
'richdijk$imanops03d.form_iv_9cf75329ccbc' (errno: 139)")
when creating a new table using:

    issue_var_fields= [
                    Field( 
"d"+str(db[issue_var_table][date_row.id]['iv_date']).replace("-", ""),
                          issue_var.data_type,
                          
default=db[issue_var_table][date_row.id]['iv_value'],
                          label = 
str(db[issue_var_table][date_row.id]['iv_date'])
                         )
                     for date_row in db(db[issue_var_table]).select()
                     ]
    db.define_table('form_%s'%issue_var_table, *issue_var_fields)

What may be the cause of this?

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to