soxidus / Boardgame-Bot

A Boardgame Bot for your Telegram group to plan/manage gamenights and suggest games to play.
MIT License
2 stars 0 forks source link

/einstellungen Bug #65

Closed soxidus closed 4 years ago

soxidus commented 4 years ago

Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/telegram/ext/dispatcher.py", line 372, in process_update handler.handle_update(update, self, check, context) File "/usr/local/lib/python3.6/dist-packages/telegram/ext/handler.py", line 117, in handle_update return self.callback(update, context) File "/src/commands.py", line 498, in einstellungen init_array=init_settings)) File "/src/inline_handler.py", line 347, in generate_settings current_settings = dbf.search_single_entry(dbf.choose_database("testdb"), "settings", "user", user)[0][1:] IndexError: list index out of range

soxidus commented 4 years ago

On calling /einstellungen this is the server sided reply

soxidus commented 4 years ago

https://github.com/soxidus/Boardgame-Bot/tree/fix-docker-db-issues also fixes this issue

karacolada commented 4 years ago

Sure it's fixed? I just got the same error... Is that because something is not merged yet? The link

https://github.com/soxidus/Boardgame-Bot/tree/fix-docker-db-issues

does not work :/