Closed TanishaBCG closed 2 months ago
What version of this package are you using? You shouldn't get a password required error since django-snowflake 4.2 (with 30856971486e5b64e7c8aa944f341d3e877af38a).
What command are you running when you get the error?
How did you create the django_migrations
table if you face this error? You can make sure it's not a database/table permissions issue by using manage.py dbshell
as in #45.
I using
django==5.1
django-snowflake==5.1
python==3.12
both the errors are coming when I am executing
python3 manage.py runserver
Actually the project was working on some previous version of python(3.7), and now we required to use snowflake authenticator, so I upgraded it to the latest versions(all the modules), on older versions it is working fine,
You can make sure it's not a database/table permissions issue by using manage.py dbshell as in https://github.com/Snowflake-Labs/django-snowflake/issues/45.
I will surely look into this.
Okay, let me know the results of your investigation. Currently, it's unclear whether django-snowflake is at fault.
It also seems as if you may have a typo in your configuration if you're getting the "missing PASSWORD" error while also specifying private_key_file
(or else there's a subtle bug I'm missing). See:
https://github.com/Snowflake-Labs/django-snowflake/blob/1b867efa8924dc50c63149f099b8d084eaabc13e/django_snowflake/base.py#L93
If you have any additional information, please leave a comment.
I am having the following settings :
Getting the following error:
Where DJANGO_MIGRATIONS is one of the tables in snowflake, which I am able to access through console, the error is there even when I am not providing the password, otherwise I am facing the following error :