I've deleted the scheduler.py file and deleted the scheduler tables. Now if I add again the scheduler.py file the scheduler tables are in the admin but not in the DB, and the error is the same for all the scheduler tables, InFailedSqlTransaction.
Someone can help me? Il giorno domenica 8 novembre 2020 alle 21:08:45 UTC+1 Gaël Princivalle ha scritto: > We talk about the db.scheduler_task table. I've deleted all the records > from this table, and also from db.scheduler_run and db.scheduler_worker. > > No way. > > Il giorno domenica 8 novembre 2020 alle 20:57:23 UTC+1 Gaël Princivalle ha > scritto: > >> Hi. >> >> Someone knows what it means? >> >> After a server change I'm able in the Admin to modify the table records >> but not the one of the scheduler. >> >> Any idea? >> >> Traceback (most recent call last): >> File "/home/user/apps/web2py_folder/web2py/gluon/main.py", line 456, in >> wsgibase >> session._try_store_in_db(request, response) >> File "/home/user/apps/web2py_folder/web2py/gluon/globals.py", line >> 1251, in _try_store_in_db >> if not table._db(table.id == record_id).update(**dd): >> File >> "/home/user/apps/web2py_folder/web2py/gluon/packages/dal/pydal/objects.py", >> line 2686, in update >> ret = db._adapter.update(table, self.query, row.op_values()) >> File >> "/home/user/apps/web2py_folder/web2py/gluon/packages/dal/pydal/adapters/base.py", >> >> line 579, in update >> raise e >> InFailedSqlTransaction: current transaction is aborted, commands ignored >> until end of transaction block >> > -- 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 web2py+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/d107a783-6289-42bd-9f61-d5d9abace70fn%40googlegroups.com.