Ticket #12 (closed defect: fixed)
todo.py throws exception with MYSQL
| Reported by: | wijnand | Owned by: | bart |
|---|---|---|---|
| Priority: | blocker | Milestone: | gozerbot version 0.8 |
| Component: | plugin | Version: | hg |
| Keywords: | Cc: |
Description (last modified by wijnand) (diff)
Just when adding an item, it throws an exception:
tehmaze : .todo gozerbot: fix js sandbox
QnA : EXCEPTION: thr.py:32 run | threading.py:422 run | todo.py:208 handle_todo | todo.py:225 handle_todo2 |
exceptions.AttributeError: 'Dbusers' object has no attribute 'getuser'
and in console:
[15:47:34] (ALERT) EXCEPTION !!
Traceback (most recent call last):
File "/home/wijnand/gozerbot/gozerbot/thr.py", line 32, in run
threading.Thread.run(self)
File "threading.py", line 422, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/wijnand/gozerbot/gozerplugs/plugs/todo.py", line 208, in handle_todo
handle_todo2(bot, ievent)
File "/home/wijnand/gozerbot/gozerplugs/plugs/todo.py", line 225, in handle_todo2
user = users.getuser(ievent.userhost)
AttributeError: 'Dbusers' object has no attribute 'getuser'
Change History
Note: See
TracTickets for help on using
tickets.
