After getting around #230 I was able to walk through the .env prompts, but still ran into failure with the chrome driver when running through the espn credential information (I am trying to pull data from a PRIVATE league)
I have played with the espn_api before, so I know how to get the ESPN_S2 and SWID through the browser, so I manually entered those into the .env, but still ran into this failure.
docker exec -it fantasy-football-metrics-weekly-report-app-1 python main.py
2025-09-01 06:46:40.006 - root:431 - INFO -
Generating ESPN Fantasy Football report on Sep 1, 2025 at 6:46AM with the following command line arguments:
fantasy_platform.................None
league_id........................None
yahoo_game_id....................None
year.............................None
start_week.......................None
week.............................None
use_default......................False
save_data........................False
refresh_feature_web_data.........False
playoff_prob_sims................None
break_ties.......................False
disqualify_coaching_efficiency...False
offline..........................False
skip_uploads.....................False
test.............................False
Generate report for default platform? (y/n) -> y
Generate report for default week? (y/n) -> y
Generate report for default league? (y/n) -> y
Traceback (most recent call last):
File "/opt/ffmwr/main.py", line 567, in <module>
main()
~~~~^^
File "/opt/ffmwr/main.py", line 441, in main
report = select_league(
app_settings,
...<13 lines>...
args.test,
)
File "/opt/ffmwr/main.py", line 79, in select_league
return FantasyFootballReport(
settings=settings,
...<11 lines>...
test=test,
)
File "/opt/ffmwr/ffmwr/report/builder.py", line 83, in __init__
platform_data: BasePlatform = platform_data_factory(
~~~~~~~~~~~~~~~~~~~~~^
settings=self.settings,
^^^^^^^^^^^^^^^^^^^^^^^
...<9 lines>...
offline=self.offline,
^^^^^^^^^^^^^^^^^^^^^
)
^
File "/opt/ffmwr/ffmwr/utilities/app.py", line 185, in platform_data_factory
platform_data = ESPNPlatform(
settings,
...<9 lines>...
offline,
)
File "/opt/ffmwr/ffmwr/dao/platforms/espn.py", line 66, in __init__
super().__init__(
~~~~~~~~~~~~~~~~^
settings,
^^^^^^^^^
...<11 lines>...
offline,
^^^^^^^^
)
^
File "/opt/ffmwr/ffmwr/dao/platforms/base/platform.py", line 61, in __init__
self.week_for_report = week_validation_function(self.settings, week_for_report, self.current_week, self.season)
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/ffmwr/ffmwr/utilities/app.py", line 97, in user_week_input_validation
return int(week_for_report)
ValueError: invalid literal for int() with base 10: 'default
After getting around #230 I was able to walk through the
.envprompts, but still ran into failure with the chrome driver when running through the espn credential information (I am trying to pull data from a PRIVATE league)I have played with the espn_api before, so I know how to get the ESPN_S2 and SWID through the browser, so I manually entered those into the .env, but still ran into this failure.