Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "//anaconda/lib/python2.7/site-packages/schedule/__init__.py", line 462, in run_pending

default_scheduler.run_pending()


 "//anaconda/lib/python2.7/site-packages/schedule/__init__.py", line 74, in run_pending

for job in sorted(runnable_jobs):


 "//anaconda/lib/python2.7/site-packages/schedule/__init__.py", line 73, in <genexpr>

runnable_jobs = (job for job in self.jobs if job.should_run)


 "//anaconda/lib/python2.7/site-packages/schedule/__init__.py", line 368, in should_run

return datetime.datetime.now() >= self.next_run
TypeError: can't compare datetime.datetime to NoneType
Traceback (most recent call last):


 "scheduler_booter.py", line 22, in <module>

scheduler_start()


 "/usr/local/lib/python3.5/dist-packages/click/core.py", line 722, in __call__

return self.main(*args, **kwargs)


 "/usr/local/lib/python3.5/dist-packages/click/core.py", line 697, in main

rv = self.invoke(ctx)


 "/usr/local/lib/python3.5/dist-packages/click/core.py", line 895, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "/usr/local/lib/python3.5/dist-packages/click/core.py", line 535, in invoke

return callback(*args, **kwargs)


 "/home/tding/haipproxy-0.1-v2/scheduler/scheduler.py", line 187, in scheduler_start

scheduler.schedule_with_delay()


 "/home/tding/haipproxy-0.1-v2/scheduler/scheduler.py", line 66, in schedule_with_delay

schedule.every(internal).minutes.do(self.schedule_task_with_lock, task)


 "/usr/local/lib/python3.5/dist-packages/schedule/__init__.py", line 393, in do

self._schedule_next_run()


 "/usr/local/lib/python3.5/dist-packages/schedule/__init__.py", line 428, in _schedule_next_run

self.period = datetime.timedelta(**{self.unit: interval})
TypeError: unsupported type for timedelta minutes component: NoneType
