post your sql.log ..... Il giorno mercoledì 10 luglio 2013 17:45:30 UTC+2, Ramos ha scritto: > > I started a new mysql database to make sure the no table exists. > Still the same error > ( I´m using mysql on amazon RDS ) > > > 1. > 2. > 3. > 4. > 5. > 6. > 7. > 8. > 9. > 10. > 11. > 12. > 13. > 14. > 15. > 16. > 17. > 18. > 19. > 20. > 21. > 22. > 23. > > Traceback (most recent call last): > File "/home/ubuntu/web2py/gluon/restricted.py", line 212, in restricted > > > exec ccode in environment > File "/home/ubuntu/web2py/applications/EMPRE/models/db.py" > <http://localhost/admin/default/edit/EMPRE/models/db.py>, line 134, in > <module> > > > represent=lambda x, row:x and A('%s'%(db.t_docs.f_doc.retrieve(x)[0]), > > > File "/home/ubuntu/web2py/gluon/dal.py", line 7755, in define_table > > > table = self.lazy_define_table(tablename,*fields,**args) > > > File "/home/ubuntu/web2py/gluon/dal.py", line 7792, in lazy_define_table > > > polymodel=polymodel) > File "/home/ubuntu/web2py/gluon/dal.py", line 963, in create_table > > > self.create_sequence_and_triggers(query,table) > > > File "/home/ubuntu/web2py/gluon/dal.py", line 1781, in > create_sequence_and_triggers > > > self.execute(query) > File "/home/ubuntu/web2py/gluon/dal.py", line 1798, in execute > > > return self.log_execute(*a, **b) > > > File "/home/ubuntu/web2py/gluon/dal.py", line 1792, in log_execute > > > ret = self.cursor.execute(command, *a[1:], **b) > > > File "/home/ubuntu/web2py/gluon/contrib/pymysql/cursors.py", line 117, in > execute > > > self.errorhandler(self, exc, value) > > > File "/home/ubuntu/web2py/gluon/contrib/pymysql/connections.py", line 202, > in defaulterrorhandler > > > raise errorclass, errorvalue > InternalError: (1005, u"Can't create table 'empre.t_docs' (errno: 150)") > > > > 2013/7/10 Niphlod <[email protected] <javascript:>> > >> d let DAL recreate it. > > > >
-- --- 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/groups/opt_out.

