Re: [web2py] Scheduler error on last stable web2py version 2.24.1

2023-06-22 Thread Lisandro
I've posted an issue and I've already proposed a small fix and made a pull request :) El miércoles, 21 de junio de 2023 a la(s) 11:25:45 UTC-3, Lisandro escribió: > (sorry, I've deleted my previous message because I have more detailed > information

Re: [web2py] Scheduler error on last stable web2py version 2.24.1

2023-06-21 Thread Lisandro
(sorry, I've deleted my previous message because I have more detailed information). Thank you for pointing that out, I had seen that issue but I missed out that I had to use Scheduler(..., with_spawn=True) so I did that change and, apparently, scheduler is stable (hasn't crashed so far). Howeve

Re: [web2py] Scheduler error on last stable web2py version 2.24.1

2023-06-21 Thread Lisandro
Hey there! Thanks for pointing that out. I had already seen that issue but I missed out that I had to instantiate Scheduler() with use_spawn=True. I've made that change, but now I have this error: Traceback (most recent call last): File "/var/www/medios/gluon/scheduler.py", line 491, in execut

Re: [web2py] Scheduler error on last stable web2py version 2.24.1

2023-06-21 Thread Massimiliano
There was an issue but should be fixed now. https://github.com/web2py/web2py/issues/1999 Il giorno lun 19 giu 2023 alle ore 20:57 Lisandro < rostagnolisan...@gmail.com> ha scritto: > I've recently upgraded to web2py Version > 2.24.1-stable+timestamp.2023.03.23.05.07.17 > It's running on python

[web2py] Scheduler error on last stable web2py version 2.24.1

2023-06-19 Thread Lisandro
I've recently upgraded to web2py Version 2.24.1-stable+timestamp.2023.03.23.05.07.17 It's running on python 3.9.14, Rocky Linux RHEL9, using PostgreSQL 15.2 for database. Since I did the upgrade, the scheduler fails from time to time with this traceback: ERROR:web2py.scheduler.main#1531711:

[web2py] scheduler error

2019-08-17 Thread HY Peng
run web2py with uwsgi and python3.6. Traceback (most recent call last): File "/home/www-data/web2py2000/gluon/restricted.py", line 219, in restricted exec(ccode, environment) File "applications/sai_admin/models/menu.py", line 49, in menus = menu_service.get_menu_config() File "/h

[web2py] Scheduler error using python3.6 and psycopg2

2018-06-06 Thread Bart
For a new application, i have installed web2py 2.16.1 under python 3.6 and using psycopg2 2.7.4 for postgresql access. Everything is working okay, except the web2py scheduler. After successfull execution of the first task, the scheduler gives an error in the send_heartbeat function. The task ou

[web2py] scheduler error: column "worker_stats__tmp" is of type json

2017-03-21 Thread António Ramos
any ideas ? 2017-03-20 12:54 GMT+00:00 António Ramos : > any help? I´m hosting with webfaction and they moved my app to another > server > column "worker_stats__tmp" is of type > json but expression is of type text LINE 1: UPDATE scheduler_worker SET > worker_stats__tmp=worker_stats; ^ HINT: You

[web2py] Scheduler error

2016-11-23 Thread António Ramos
what can be wrong with the code in my scheduler.py ? *montlyreport* is called by a task with the same name I have 2 users in auth_user table I see 2 emails generated in table "emails" then 2 tasks generated in scheduler_task But these 2 tasks fail and no info about what failed... Regards [image: Im

[web2py] Scheduler error: Exception in thread Thread-1 and connection is closed

2015-11-21 Thread kenny c
HI, I am not sure what causes this issue.. I am running Web2py with Postgresql, I am getting this exception in thread while running a scheduler. and I get InterfaceError("Connection is closed") . I am wondering if Postgresql has timeout setting or scheduler timeout? (I made sure that timeout i

[web2py] Re: web2py scheduler error when I start the worker...

2014-10-23 Thread Niphlod
did you recently upgrade to 2.9.11 without letting scheduler recreating the tables ? tables definitions have changed, and you need to let web2py adjust (i.e. look for migrate_enabled=False in your DAL call) On Tuesday, October 21, 2014 10:03:39 PM UTC+2, José Leite wrote: > > Hello, > > I just s

[web2py] web2py scheduler error when I start the worker...

2014-10-22 Thread José Leite
Hello, I just started trying to use web2py scheduler to lauch tasks like DB updates or sending emails. I am using windows7 and web2py 2.9.11. I just added the following code to my project for a simple test: MODELS from gluon.scheduler import Scheduler from test_scheduler import Addition sched

[web2py] Scheduler error

2014-08-25 Thread Prasad Muley
Hi, I've web2py 2.3 version. I tried to use scheduler for mail sending. I got this error while creating a worker for scheduler $ python web2py.py -K send_mail_app [12:07:02] web2py Web

[web2py] Scheduler: Error retrieving status?

2014-01-09 Thread User
I'm just getting started with the scheduler and I'm getting an error when I start it on windows 7: C:\www\web2py>python web2py.py -K my_app web2py Web Framework Created by Massimo Di Pierro, Copyright 2007-2014 Version 2.8.2-stable+timestamp.2013.12.09.17.54.55 Database drivers available: SQLite(

[web2py] scheduler error message

2013-01-13 Thread Martin Weissenboeck
The scheduler calls two diffent functions. In bothes the scheduler_run table contains: Traceback (most recent call last): File "/home/www-data/web2py/gluon/scheduler.py", line 214, in executor _env = env(a=a, c=c, import_models=True) File "/home/www-data/web2py/gluon/shell.py", line 137, i