postgresql. Also my app which uses same database works and I can see the tables and the row in scheduler_task table from appadmin
On Friday, January 10, 2014 9:57:25 AM UTC-5, Niphlod wrote: > > what db are you using ? > that error usually pops up when the scheduler can't access the scheduler_* > tables. > > On Friday, January 10, 2014 2:09:26 AM UTC+1, User wrote: >> >> 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(sqlite3), MySQL(pymysql), PostgreSQL( >> psycopg2 >> ), PostgreSQL(pg8000), MSSQL(pyodbc), DB2(pyodbc), Teradata(pyodbc), >> Ingres(pyod >> bc), IMAP(imaplib) >> starting single-scheduler for "my_app"... >> ERROR:web2py.scheduler.mycomputer#10144:Error retrieving status >> ERROR:web2py.scheduler.mycomputer#10144:Error retrieving status >> >> >> This error just continually repeats until I ctrl-c. >> Here is my scheduler.py: >> >> # coding: utf8 >> def doit(): >> print 'hello world' >> >> tasks = dict( >> doit=doit, >> ) >> from gluon.scheduler import Scheduler >> scheduler = Scheduler(db, tasks) >> >> >> I created a single row in the scheduler_task table. What is causing this >> error? How do I begin to debug this? (Note when browsing my site there are >> no errors). >> >> -- 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. For more options, visit https://groups.google.com/groups/opt_out.