You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am seeing the following error whenever .quote add #channel username message is called
[07:50:43][ERROR] Error in hook quote:quote
Traceback (most recent call last):
File "/home/andy/ircbot/CloudBotRefresh/plugins/quote.py", line 29, in add_quot
e
(chan, nick, add_nick, msg, time.time()))
File "/usr/local/lib/python3.4/dist-packages/sqlalchemy/orm/session.py", line 9
91, in execute
bind, close_with_result=True).execute(clause, params or {})
File "/usr/local/lib/python3.4/dist-packages/sqlalchemy/engine/base.py", line 7
29, in execute
return meth(self, multiparams, params)
File "/usr/local/lib/python3.4/dist-packages/sqlalchemy/sql/elements.py", line
321, in _execute_on_connection
return connection._execute_clauseelement(self, multiparams, params)
File "/usr/local/lib/python3.4/dist-packages/sqlalchemy/engine/base.py", line 8
02, in _execute_clauseelement
keys = distilled_params[0].keys()
AttributeError: 'tuple' object has no attribute 'keys'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/andy/ircbot/CloudBotRefresh/cloudbot/plugin.py", line 365, in _exec
ute_hook
out = yield from self.bot.loop.run_in_executor(None, self._execute_hook_threa
ded, hook, event)
File "/usr/lib/python3.4/asyncio/futures.py", line 348, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 351, in _wakeup
value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 243, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/andy/ircbot/CloudBotRefresh/cloudbot/plugin.py", line 329, in _exec
ute_hook_threaded
return hook.function(*parameters)
File "/home/andy/ircbot/CloudBotRefresh/plugins/quote.py", line 135, in quote
notice(add_quote(db, chan, quoted_nick, nick, msg))
File "/home/andy/ircbot/CloudBotRefresh/plugins/quote.py", line 31, in add_quot
e
except db.IntegrityError:
AttributeError: 'Session' object has no attribute 'IntegrityError'
ERROR:cloudbot:Error in hook quote:quote
Traceback (most recent call last):
File "/home/andy/ircbot/CloudBotRefresh/plugins/quote.py", line 29, in add_quot
e
(chan, nick, add_nick, msg, time.time()))
File "/usr/local/lib/python3.4/dist-packages/sqlalchemy/orm/session.py", line 9
91, in execute
bind, close_with_result=True).execute(clause, params or {})
File "/usr/local/lib/python3.4/dist-packages/sqlalchemy/engine/base.py", line 729, in execute
return meth(self, multiparams, params)
File "/usr/local/lib/python3.4/dist-packages/sqlalchemy/sql/elements.py", line 321, in _execute_on_connection
return connection._execute_clauseelement(self, multiparams, params)
File "/usr/local/lib/python3.4/dist-packages/sqlalchemy/engine/base.py", line 802, in _execute_clauseelement
keys = distilled_params[0].keys()
AttributeError: 'tuple' object has no attribute 'keys'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/andy/ircbot/CloudBotRefresh/cloudbot/plugin.py", line 365, in _execute_hook
out = yield from self.bot.loop.run_in_executor(None, self._execute_hook_threaded, hook, event)
File "/usr/lib/python3.4/asyncio/futures.py", line 348, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 351, in _wakeup
value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 243, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/andy/ircbot/CloudBotRefresh/cloudbot/plugin.py", line 329, in _execute_hook_threaded
return hook.function(*parameters)
File "/home/andy/ircbot/CloudBotRefresh/plugins/quote.py", line 135, in quote
notice(add_quote(db, chan, quoted_nick, nick, msg))
File "/home/andy/ircbot/CloudBotRefresh/plugins/quote.py", line 31, in add_quote
except db.IntegrityError:
AttributeError: 'Session' object has no attribute 'IntegrityError'
The text was updated successfully, but these errors were encountered:
I am seeing the following error whenever .quote add #channel username message is called
The text was updated successfully, but these errors were encountered: