Failed to set up Postgresql #54
-
Hi Cedric, can you please take a look at this error and help me figure out what to do?
Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
Hello, Thank you for the information. I have the same issue on a new database. I have pushed a fix for this. Could you please pull the project and try like this: $ export FLASK_DEBUG=1
$ flask db_create ; flask db_init;
$ flask create_admin --nickname admin --password password
$ flask run |
Beta Was this translation helpful? Give feedback.
-
Hi Cedric,
Thank you for your email and Apologies for my late reply.
I’ll have a try with that and let you know.
Have a nice evening!
Francesco
… Il giorno 7 mag 2023, alle ore 10:37, Cédric Bonhomme ***@***.***> ha scritto:
Hello,
Thank you for the information. I have the same issue on a new database.
I have pushed a fix for this. Could you please pull the project and try like this:
$ export FLASK_DEBUG=1
$ flask db_create ; flask db_init;
$ flask create_admin --nickname admin --password password
$ flask run
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
-
Hi Cedric,
apologies for bothering again.
There seems to be a small bug in the "category" table which appears upon adding new feeds to the database.
this is the error:
ERROR: The INSERT or UPDATE on the "feed" table violates the foreign key constraint "feed_category_id_fkey".DETAIL: The key (category_id)=(0) is not present in the "category" table.
Could you please help me fix that?
Thanks
Francesco
Inviato da iPhone
… Il giorno 19 mag 2023, alle ore 21:03, Francesco Feston ***@***.***> ha scritto:
Hi Cedric,
Thank you for your email and Apologies for my late reply.
I’ll have a try with that and let you know.
Have a nice evening!
Francesco
>> Il giorno 7 mag 2023, alle ore 10:37, Cédric Bonhomme ***@***.***> ha scritto:
>>
>
> Hello,
>
> Thank you for the information. I have the same issue on a new database.
>
> I have pushed a fix for this. Could you please pull the project and try like this:
>
> $ export FLASK_DEBUG=1
> $ flask db_create ; flask db_init;
> $ flask create_admin --nickname admin --password password
> $ flask run
> —
> Reply to this email directly, view it on GitHub, or unsubscribe.
> You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
-
Good afternoon Cedric,
I was not able to come up with a solution for the issue below.
Could you please help me out?
Thanks
Francesco
Inviato da iPhone
… Il giorno 1 giu 2023, alle ore 14:50, Francesco Feston ***@***.***> ha scritto:
Hi Cedric,
apologies for bothering again.
There seems to be a small bug in the "category" table which appears upon adding new feeds to the database.
this is the error:
ERROR: The INSERT or UPDATE on the "feed" table violates the foreign key constraint "feed_category_id_fkey".DETAIL: The key (category_id)=(0) is not present in the "category" table.
Could you please help me fix that?
Thanks
Francesco
Inviato da iPhone
>> Il giorno 19 mag 2023, alle ore 21:03, Francesco Feston ***@***.***> ha scritto:
>>
> Hi Cedric,
>
> Thank you for your email and Apologies for my late reply.
> I’ll have a try with that and let you know.
> Have a nice evening!
> Francesco
>
>
>>> Il giorno 7 mag 2023, alle ore 10:37, Cédric Bonhomme ***@***.***> ha scritto:
>>>
>>
>> Hello,
>>
>> Thank you for the information. I have the same issue on a new database.
>>
>> I have pushed a fix for this. Could you please pull the project and try like this:
>>
>> $ export FLASK_DEBUG=1
>> $ flask db_create ; flask db_init;
>> $ flask create_admin --nickname admin --password password
>> $ flask run
>> —
>> Reply to this email directly, view it on GitHub, or unsubscribe.
>> You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
-
Good evening Cedric,
Apologies for bothering again.
Could you possibly let me know if a solution has been worked out to fix that issue?
Thanks,
Francesco
Inviato da iPhone
… Il giorno 19 giu 2023, alle ore 12:14, Francesco Feston ***@***.***> ha scritto:
Good afternoon Cedric,
I was not able to come up with a solution for the issue below.
Could you please help me out?
Thanks
Francesco
Inviato da iPhone
>> Il giorno 1 giu 2023, alle ore 14:50, Francesco Feston ***@***.***> ha scritto:
>>
> Hi Cedric,
>
> apologies for bothering again.
> There seems to be a small bug in the "category" table which appears upon adding new feeds to the database.
>
> this is the error:
>
> ERROR: The INSERT or UPDATE on the "feed" table violates the foreign key constraint "feed_category_id_fkey".DETAIL: The key (category_id)=(0) is not present in the "category" table.
>
> Could you please help me fix that?
> Thanks
> Francesco
>
> Inviato da iPhone
>
>>> Il giorno 19 mag 2023, alle ore 21:03, Francesco Feston ***@***.***> ha scritto:
>>>
>> Hi Cedric,
>>
>> Thank you for your email and Apologies for my late reply.
>> I’ll have a try with that and let you know.
>> Have a nice evening!
>> Francesco
>>
>>
>>>> Il giorno 7 mag 2023, alle ore 10:37, Cédric Bonhomme ***@***.***> ha scritto:
>>>>
>>>
>>> Hello,
>>>
>>> Thank you for the information. I have the same issue on a new database.
>>>
>>> I have pushed a fix for this. Could you please pull the project and try like this:
>>>
>>> $ export FLASK_DEBUG=1
>>> $ flask db_create ; flask db_init;
>>> $ flask create_admin --nickname admin --password password
>>> $ flask run
>>> —
>>> Reply to this email directly, view it on GitHub, or unsubscribe.
>>> You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
Hello,
Thank you for the information. I have the same issue on a new database.
I have pushed a fix for this. Could you please pull the project and try like this: