The scheduler is working on localhost but on pythonanywhere i get following 
error:

starting single-scheduler for "myapp"...
/home/aleonserra/web2py/gluon/packages/dal/pydal/adapters/base.py:1379: 
Warning: Incorrect integer value: 'F' 
for column 'is_ticker' at row 1
  ret = self.get_cursor().execute(command, *a[1:], **b)
/home/aleonserra/web2py/gluon/packages/dal/pydal/adapters/base.py:1379: 
Warning: Incorrect integer value: 'T' 
for column 'is_ticker' at row 1
  ret = self.get_cursor().execute(command, *a[1:], **b)

Ive defined mysql boolean values to tinyint in the first model 01_db.py:

db = DAL("mysql://root:pass@....", pool_size = 10,  check_reserved=None, 
migrate = True)
    
db._adapter.types['boolean']='TINYINT(1)'
db._adapter.TRUE = 1
db._adapter.FALSE = 0

Ive checked the scheduler tables and they are correctly mapped to tinyint. 
No migration problems so far.

The scheduler runs but it fails to perform any task.

This is the task traceback
 Traceback (most recent call last):
  File "/home/aleonserra/web2py/gluon/scheduler.py", line 295, in executor
    _env = env(a=a, c=c, import_models=True)
  File "/home/aleonserra/web2py/gluon/shell.py", line 166, in env
    sys.exit(1)
SystemExit: 1


Any idea on why this might be?

Version 2.12.3-stable+timestamp.2015.08.19.00.18.03

im running the scheduler as a scheduler.py file described here.
https://help.pythonanywhere.com/pages/Web2pyScheduler/

Thanks


-- 
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/d/optout.

Reply via email to