You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To Reproduce
Steps to reproduce the behavior:
Run the bootstrap script
Expected behavior
You do not get an error about a missing table because of the schema name
Log files
Populating geography.city table
Traceback (most recent call last):
File "/opt/selene/selene-backend/db/scripts/bootstrap_mycroft_db.py", line 386, in <module>
_populate_db()
File "/opt/selene/selene-backend/db/scripts/bootstrap_mycroft_db.py", line 378, in _populate_db
_populate_city_table(mycroft_db)
File "/opt/selene/selene-backend/db/scripts/bootstrap_mycroft_db.py", line 351, in _populate_city_table
cursor.copy_from(
psycopg2.errors.UndefinedTable: relation "geography.city" does not exist
The text was updated successfully, but these errors were encountered:
Describe the bug
A clear and concise description of what the bug is.
Bootstrap script fails during the populating of
geography.city
due to security changes from psycopg2psycopg/psycopg2#1294
A quick work around is to change that population to set the search path and make the function read like the following:
To Reproduce
Steps to reproduce the behavior:
Run the bootstrap script
Expected behavior
You do not get an error about a missing table because of the schema name
Log files
The text was updated successfully, but these errors were encountered: