Open SeeJayEmm opened 8 years ago
You're going to want to checkout the hangups_0_3_0_fix branch and use that. I haven't merged it to nightly or master yet but I will soon.
Switched to the hangups_0_3_0_support branch. I had to install the sympy package.
Client unexpectedly disconnected:
no such table: focus
Traceback (most recent call last):
File "/home/chris/HangoutsBot/Core/Bot.py", line 115, in run
loop.run_until_complete(self._client.connect())
File "/usr/lib/python3.4/asyncio/base_events.py", line 343, in run_until_complete
return future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.4/asyncio/tasks.py", line 237, in _step
result = coro.throw(exc)
File "/usr/local/lib/python3.4/dist-packages/hangups/client.py", line 102, in connect
yield from self._listen_future
File "/usr/lib/python3.4/asyncio/futures.py", line 385, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 288, in _wakeup
value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.4/asyncio/tasks.py", line 239, in _step
result = coro.send(value)
File "/usr/local/lib/python3.4/dist-packages/hangups/channel.py", line 209, in listen
yield from self._longpoll_request()
File "/usr/local/lib/python3.4/dist-packages/hangups/channel.py", line 338, in _longpoll_request
yield from self._on_push_data(chunk)
File "/usr/local/lib/python3.4/dist-packages/hangups/channel.py", line 370, in _on_push_data
yield from self.on_receive_array.fire(data_array)
File "/usr/local/lib/python3.4/dist-packages/hangups/event.py", line 50, in fire
yield from gen
File "/usr/local/lib/python3.4/dist-packages/hangups/client.py", line 291, in _on_receive_array
yield from self.on_state_update.fire(state_update)
File "/usr/local/lib/python3.4/dist-packages/hangups/event.py", line 48, in fire
gen = observer(*args, **kwargs)
File "/home/chris/HangoutsBot/Core/Bot.py", line 307, in _on_state_update
UtilBot.update_focus(state_update.focus_notification)
File "/home/chris/HangoutsBot/Core/Util/UtilBot.py", line 691, in update_focus
if cursor.execute("SELECT * FROM focus WHERE conv_id = ? AND user_id = ?", (conv_id, user_id)).fetchone():
sqlite3.OperationalError: no such table: focus
Man, I knew that would come back to bite me. You're gonna have to delete your database.db file if you want it to work with the newest version OR downgrade hangups back to <0.3.0.
Keep in mind that your database.db file contains karma and reminders,
I tried starting clean and that error went away. There's a handful of config issues with the default config.json that I can detail in a separate issue if you'd like.
I'm also encountering a problem with /udefine that I can also detail in a separate issue if you'd like. (I don't know how far behind the main branch this one is so I don't want to make unnecessary work for you.)
Got this error too. Any way this could be fixed soon?
I have recently updated the hangups (and related) package and am receiving the following error when I launch HangoutsBot.
This is a list of my currently installed python packages.
Thanks