haskellcamargo/sclack

ConnectionError upon starting app.py

mark2185 opened this issue · 1 comments

I'm on MacOS with python 3.9 in a venv, I followed the instructions, installed sclack with ./setup.py install (which was missing from the docs) and followed all the steps with the tokens.

I manage to start app.py and it loads up slack and shows the messages for the currently selected channel, but then after a second I get this (I can't select the text for some reason) and I have no other choice but to shut the app down. It happens every time.

image

The usual slack client is shut down if that matters.

I get that it can't resolve the host, but I have no idea what is that link, why is it trying to resolve it and why can't it ignore the failed request.

What other information can I provide?

By putting the relevant lines (app.py:693..701) into a try-except the exception is caught and it works, but that's a hack, not a solution.