Open asubbarao opened 1 year ago
Hi, thank you for the report. Two things:
python3 stats/nba_sql.py --default-mode --seasons 2022-23 --create-schema --database="postgres" --skip-tables play_by_play pgtt
First, I'd suggest you start with a fresh database. See the scripts/drop.sql
for what to run.
I will try to add a few things:
--default-mode
or --current-season-mode
is selected.--current-season-mode
is used when the database is not initialized.
I downloaded postgres.app for mac, ran the initialize script. Then I run:
python3 stats/nba_sql.py --create-schema --database postgres --skip-tables play_by_play pgtt
and get the result:
But I notice most tables are empty. The above produced no other errors. So I tried using the GUI option, and received this error: