Let me know when to test. I'm still getting: Exception in thread Thread-4: Traceback (most recent call last): File "C:\Python25\lib\threading.py", line 486, in __bootstrap_inner self.run() File "C:\Users\nathan\workspace\web2py\gluon\contrib\cron.py", line 55, in run s.run() File "C:\Python25\lib\sched.py", line 114, in run void = action(*argument) File "C:\Users\nathan\workspace\web2py\gluon\contrib\cron.py", line 47, in launch crondance(self.path, 'hard', startup = self.startup) File "C:\Users\nathan\workspace\web2py\gluon\contrib\cron.py", line 312, in crondance return tokenmaster(cron_path, action='release', startup=startup) File "C:\Users\nathan\workspace\web2py\gluon\contrib\cron.py", line 92, in tokenmaster os.unlink(tokeninuse) WindowsError: [Error 2] The system cannot find the file specified: 'C:\ \Users\\nathan\\workspace\\web2py\\applications\\admin\\cron\ \cron.running'
On Feb 7, 1:05 am, mdipierro <mdipie...@cs.depaul.edu> wrote: > I will fix it in trunk > > On Feb 6, 11:58 pm, "mr.freeze" <nat...@freezable.com> wrote: > > > I'm getting this when running the hg tip. > > > web2py Enterprise Web Framework > > Created by Massimo Di Pierro, Copyright 2007-2010 > > Version 1.74.11 (2010-02-03 10:53:34) > > Database drivers available: SQLite3, MySQL > > Starting cron... > > please visit: > > http://127.0.0.1:8000 > > use "kill -SIGTERM 5264" to shutdown the web2py server > > Exception in thread Thread-4: > > Traceback (most recent call last): > > File "C:\Python25\lib\threading.py", line 486, in __bootstrap_inner > > self.run() > > File "C:\Users\nathan\workspace\web2py\gluon\contrib\cron.py", line > > 55, in run > > s.run() > > File "C:\Python25\lib\sched.py", line 114, in run > > void = action(*argument) > > File "C:\Users\nathan\workspace\web2py\gluon\contrib\cron.py", line > > 47, in launch > > crondance(self.path, 'hard', startup = self.startup) > > File "C:\Users\nathan\workspace\web2py\gluon\contrib\cron.py", line > > 241, in crondance > > cronmaster = tokenmaster(cron_path, action='claim', > > startup=startup) > > File "C:\Users\nathan\workspace\web2py\gluon\contrib\cron.py", line > > 133, in tokenmaster > > os.rename(token, tokeninuse) > > WindowsError: [Error 183] Cannot create a file when that file already > > exists > > ----------------------- > > also getting this error occasionally: > > --------------------- > > Exception in thread Thread-4: > > Traceback (most recent call last): > > File "C:\Python25\lib\threading.py", line 486, in __bootstrap_inner > > self.run() > > File "C:\Users\nathan\workspace\web2py\gluon\contrib\cron.py", line > > 55, in run > > s.run() > > File "C:\Python25\lib\sched.py", line 114, in run > > void = action(*argument) > > File "C:\Users\nathan\workspace\web2py\gluon\contrib\cron.py", line > > 47, in launch > > crondance(self.path, 'hard', startup = self.startup) > > File "C:\Users\nathan\workspace\web2py\gluon\contrib\cron.py", line > > 241, in crondance > > cronmaster = tokenmaster(cron_path, action='claim', > > startup=startup) > > File "C:\Users\nathan\workspace\web2py\gluon\contrib\cron.py", line > > 133, in tokenmaster > > os.rename(token, tokeninuse) > > WindowsError: [Error 2] The system cannot find the file specified > > -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.