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

2015-12-14 Thread kenny c
I think it has to do with csvkit since loading big file creates this issue. Thank you as always! Let's go! Web2PY! On Monday, December 14, 2015 at 1:45:25 PM UTC-5, kenny c wrote: > > Sorry for late reply and thank you so much, Niphlod! > > I am still playing with Scheduler, so I didn't know how

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

2015-12-14 Thread kenny c
Sorry for late reply and thank you so much, Niphlod! I am still playing with Scheduler, so I didn't know how I should use it. One more question, I am testing the scheduler to write a csv file from reading JSON formatted data, The scheduler stops at one point, I get "STOPPED" on the terminal

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

2015-11-24 Thread Niphlod
please remove any print statement and why are you importing modules inside the function ? On Tuesday, November 24, 2015 at 1:15:15 PM UTC+1, kenny c wrote: > > Just tested with psycopg and same error. > = > ERROR:web2py.scheduler.postit#20382:Error retrieving status > Exception in t

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

2015-11-24 Thread kenny c
Just tested with psycopg and same error. = ERROR:web2py.scheduler.carat-diamond#20382:Error retrieving status Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner self.run() File "/home/www-data/web2py/gl

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

2015-11-23 Thread Niphlod
not to point fingers around, but can you try installing psycopg2 ? it'll override pg8000 that showed here and there some obscure bugs: pscopg2 is certainly more solid. If the same happens with psycopg2, can we see the actual function queued (or a function that replicates this behaviour) ? BTW:

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

2015-11-21 Thread kenny c
I think there is timeout issue on the scheduler and I am not sure which one it is.. Seems to me that the Scheduler stops if it takes longer than 5 minutes in regardless of the value of timeout saved in the task row. On Saturday, November 21, 2015 at 8:12:05 PM UTC-5, kenny c wrote: > > HI, I am