Johann Spies <johann.spies@...> writes:
> Use the ticket interface to go to the line of code that caused the problem.
Maybe there is something in the controller that causes this.RegardsJohann
The ticket interface says:
Traceback (most recent call last):
File "gluon/restricted.py", line 204, in restricted
File "C:/Documents and
Settings/axel1/Desktop/web2py/applications/axelweb/models/db.py",
line 16, in <module>
File "gluon/dal.py", line 5097, in define_table
File "gluon/dal.py", line 728, in create_table
File "gluon/dal.py", line 816, in migrate_table
File "gluon/dal.py", line 1359, in execute
File "gluon/dal.py", line 1353, in log_execute
File "gluon/contrib/pymysql/cursors.py", line 108, in execute
File "gluon/contrib/pymysql/connections.py", line 184, in
defaulterrorhandlerInternalError: (1060, u"Duplicate column name 'nyckel'")
line 16 in db.py is:
db.define_table('testdata',Field('idtestdata'),Field('nyckel'),Field('data'))
If I delete the table in MySQL, the browser loads forever.
If I create the table in MySQL, I get the error ticket.