Closed Bug 1233322 Opened 9 years ago Closed 5 years ago

TypeError: unsupported operand type(s) for -: 'datetime.datetime' and 'NoneType'

Categories

(Testing Graveyard :: Sisyphus, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: cbook, Unassigned)

Details

Setting up a new Sisyphus System  with a new db returns when starting a worker in 

$python crashworker.py --debug
main: exception unsupported operand type(s) for -: 'datetime.datetime' and 'NoneType': Traceback (most recent call last):
  File "crashworker.py", line 1060, in <module>
    main()
  File "crashworker.py", line 1011, in main
    this_worker     = CrashTestWorker(options)
  File "crashworker.py", line 59, in __init__
    self.save()
  File "/mozilla/builds/hg.mozilla.org/sisyphus/python/sisyphus/automation/worker.py", line 294, in save
    if self.worker_row.datetime - worker_row.datetime > datetime.timedelta(seconds=1):
TypeError: unsupported operand type(s) for -: 'datetime.datetime' and 'NoneType'

sisyphus is moving to the graveyard -> wontfix.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.