Ticket #97 (assigned defect)
check_pending sometimes crashes
| Reported by: | winfried | Owned by: | winfried |
|---|---|---|---|
| Priority: | P1 | Milestone: | |
| Component: | Webchat | Version: | 2.0 |
| Severity: | major | Keywords: | check_peding exception datetime.datetime |
| Cc: |
Description
Crash in check_pendig.py of webchat:
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/HelpIM/bot/bot.py", line 342, in start
bots[instance].idle()
File "/usr/lib/python2.3/site-packages/HelpIM/bot/bot.py", line 168, in idle
handler(idle_handler)
File "/usr/lib/python2.3/site-packages/HelpIM/bot/handlers/check_pending.py",
line 27, in handler
elapsed_time = datetime.datetime.now() - client_statusses[0][1]
TypeError: unsupported operand type(s) for -: 'datetime.datetime' and 'NoneType'
impact: severe, although rare, it prevents a client from chatting.
Change History
Note: See
TracTickets for help on using
tickets.
