uberfastman / fantasy-football-metrics-weekly-report

Command line application to create weekly reports (containing stats, metrics, and rankings) for Fantasy Football leagues on the following platforms: Yahoo, ESPN, CBS, Sleeper, Fleaflicker
GNU General Public License v3.0
202 stars 49 forks source link

[Bug] Error when running report on latest commit #220

Closed sameer095k closed 2 months ago

sameer095k commented 2 months ago

Description of Issue

After running git pull, ran docker compose up -d and then this command and got this error? was previously working last week any help appreciated.

docker exec -it fantasy-football-metrics-weekly-report-app-1 python main.py

2024-10-01 12:08:32,360 - utilities.settings - ERROR - Your local ".env" file is missing the following variables:

GOOGLE_DRIVE_AUTH_TOKEN_JSON, SLACK_AUTH_TOKEN, ESPN_USERNAME, OUTPUT_DIR_PATH, GOOGLE_DRIVE_CLIENT_ID, CBS_PASSWORD, CBS_AUTH_TOKEN, YAHOO_ACCESS_TOKEN_JSON, DATA_DIR_PATH, SLACK_REPOST_FILE_PATH, ESPN_COOKIE_SWID, GOOGLE_DRIVE_DEFAULT_FOLDER, GOOGLE_DRIVE_CLIENT_SECRET, GOOGLE_DRIVE_FOLDER, ESPN_CHROME_USER_PROFILE_PATH, YAHOO_CONSUMER_KEY, ESPN_PASSWORD, GOOGLE_DRIVE_REUPLOAD_FILE_PATH, YAHOO_CONSUMER_SECRET, CBS_USERNAME, ESPN_COOKIE_ESPN_S2, LEAGUE_WEEKLY_LOW_SCORERS_BOOL

Please update your ".env" file and try again.

Fantasy Football Platform

ESPN

Operating System

macOs with Docker

sameer095k commented 2 months ago

will close. issue was my .env was not compatible with new release so deleted that and had the app regenerate one in my next run. Thank you.