Closed TallGeekyCool closed 3 years ago
Same happens with me, @TallGeekyCool
In order for me to progress further, I just disabled the Slack import in the integrations/slack_integration.py
file. I commented out the import: #from slack import WebClient
and commented out the call #self.sc = WebClient(token=slack_api_access_token)
Then I just reran
Commenting those two lines of code did get the docker program to compile and run. I am seeing the same NoneType object error that you are seeing bug #139
I'm following along with the instructions on how to setup docker and the report. I run the
docker-compose up -d
command without issue. I then run thedocker exec -it fantasy-football-metrics-weekly-report_app_1 python main.py
command and I see this:football-metrics-weekly-report_app_1 python main.py Traceback (most recent call last): File "main.py", line 17, in <module> from integrations.slack_integration import SlackMessenger File "/app/integrations/slack_integration.py", line 9, in <module> from slack import WebClient ImportError: cannot import name 'WebClient' from 'slack' (/usr/local/lib/python3.8/site-packages/slack/__init__.py)
So far, Googling that has been useless. Any idea what I'm missing or forgetting to have done? (I'm assuming that I'm the one with the issue and that it isn't an issue with the instructions.)