There is already a bug report for this and a fix in the pipeline. I
will post to trunk tonight.

Massimo

On Apr 23, 11:54 am, Thadeus Burgess <[email protected]> wrote:
> If I have empty lines in my crontab file I get the follow traceback.
> Remove empty lines crontab works.
>
> Traceback (most recent call last):
>   File "/home/tburgess/Applications/web2py/web2py.py", line 20, in <module>
>     gluon.widget.start(cron=True)
>   File "/home/tburgess/Applications/web2py/gluon/widget.py", line 779, in 
> start
>     newcron.hardcron(os.getcwd()).start()
>   File "/home/tburgess/Applications/web2py/gluon/newcron.py", line 40,
> in __init__
>     crondance(self.path, 'hard', startup=True)
>   File "/home/tburgess/Applications/web2py/gluon/newcron.py", line
> 252, in crondance
>     citems = [(k in task and not v in task[k]) for k,v in checks]
> TypeError: argument of type 'NoneType' is not iterable
>
> --
> Thadeus
>
> --
> Subscription settings:http://groups.google.com/group/web2py/subscribe?hl=en

Reply via email to