Still the same problem: 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
Is there any line of code that I can use to verify if the changes were applied? I took a trunk source from github. Should I have done it from somewhere else? Thanks On Thu, Oct 4, 2012 at 4:15 PM, Niphlod <niph...@gmail.com> wrote: > update to trunk, the problem is fixed. PS: Nightly build generally are > stable, but a few times (like the ones with potentially hige impacts - like > last changes made in DAL initialization) are, nonetheless, for testing > purposes, not production ready! > > > On Thursday, October 4, 2012 9:42:59 PM UTC+2, Adi wrote: >> >> 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 >> >> -- > > > > --