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
In init-postgresql.py there is a change to the translate() function from old line 648 to new line 712 that reduces the parameters from 2 parameters to 1 parameter.
However, on new lines 785 - 797 the code still has the call to translate() using 2 parameters.
This produces the following error:
Traceback (most recent call last): File "/app/init-postgresql.py", line 1210, in <module> globals()[SUBCOMMAND_FUNCTION_NAME](SUBCOMMAND, ARGS) File "/app/init-postgresql.py", line 1097, in do_mandatory task_process_sql_file(config) File "/app/init-postgresql.py", line 1039, in task_process_sql_file process_sql_file(input_url, get_db_parameters(db_parameters)) File "/app/init-postgresql.py", line 839, in get_db_parameters parsed_database_url = parse_database_url(database_url) File "/app/init-postgresql.py", line 785, in parse_database_url "scheme": translate(translation_map, parsed.scheme),TypeError: translate() takes 1 positional argument but 2 were given
The text was updated successfully, but these errors were encountered:
In Pull Request #79
In
init-postgresql.py
there is a change to thetranslate()
function from old line 648 to new line 712 that reduces the parameters from 2 parameters to 1 parameter.However, on new lines 785 - 797 the code still has the call to
translate()
using 2 parameters.This produces the following error:
The text was updated successfully, but these errors were encountered: