We promoted latest night build to production, and scheduler started 
failing. At the same time there were some code changes, so I'm having a 
hard time tracing the source of the problem.

Any insights while I'm trying to figure it out?

Thanks,
Adi

db: mysql
redhat linux
w2p: Version 2.0.9 (2012-10-02 03:55:58) dev

scheduler_run table: traceback field:
Traceback (most recent call last):
  File "/opt/web-apps/web2py/gluon/scheduler.py", line 203, in executor
    _env = env(a=a,c=c,import_models=True)
  File "/opt/web-apps/web2py/gluon/shell.py", line 134, in env
    sys.exit(1)
SystemExit: 1


scheduler log:
/opt/web-apps/web2py/gluon/dal.py:6597: DeprecationWarning: 
object.__new__() takes no parameters
  db = super(DAL, cls).__new__(cls, uri, *args, **kwargs)
web2py Web Framework
Created by Massimo Di Pierro, Copyright 2007-2012
Version 2.0.9 (2012-10-02 03:55:58) dev
Database drivers available: SQLite(sqlite3), MySQL(pymysql), 
PostgreSQL(pg8000), IMAP(imaplib)
starting single-scheduler for "crm"...
Traceback (most recent call last):
  File "/opt/web-apps/web2py/gluon/restricted.py", line 209, in restricted
    exec ccode in environment
  File "applications/crm/models/db.py", line 47, in <module>
    db = 
DAL('mysql://crm:password@localhost:3307/CRM',migrate_enabled=False, 
fake_migrate_all=True)
  File "/opt/web-apps/web2py/gluon/dal.py", line 6595, in __new__
    raise RuntimeError, 'Cannot duplicate a Singleton'
RuntimeError: Cannot duplicate a Singleton

-- 



Reply via email to