Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install app error with greenlet installation #494

Open
rastaferraille opened this issue Oct 4, 2023 · 10 comments
Open

Install app error with greenlet installation #494

rastaferraille opened this issue Oct 4, 2023 · 10 comments

Comments

@rastaferraille
Copy link

Hello,

I'm trying to install geonature atlas on a debian 12.1 server.
There is an error using install_app.sh script (or using pip install -r requirements.txt).

src/greenlet/greenlet.h:45:5: error: unknown type name CFrame

error: legacy-install-failure

I know that 12.1 version of Debian has not been tested, but we can't user older versions for security reasons.

Thank you for your help !

Etienne

@camillemonchicourt
Copy link
Member

Yes, we couldn't spend time yet to make GeoNature-atlas compatible with Debian 12.
We should now support Debian 11 and 12, and stop supporting Debian 9 and 10.
Another solution is to use the Docker that is available since GeoNature-atlas 1.6.

@rastaferraille
Copy link
Author

Hello Camille,

Okay, thank you very much for your really quick answer (as usual). I try with docker !

@lpofredc
Copy link
Contributor

lpofredc commented Oct 4, 2023

It seems that a fix have been released for greenlet 1.1 on python 3.11: python-greenlet/greenlet#305

Atlas uses greenlet 1.1.2, patched version is 1.1.3

@camillemonchicourt
Copy link
Member

@jacquesfize
Copy link

jacquesfize commented Oct 9, 2023

@lpofredc @rastaferraille Did the update of greenlet fix the setup ?

@lpofredc
Copy link
Contributor

lpofredc commented Oct 9, 2023

Not tested on GeoNature-atlas but it did the trick on GeoNature-citizen

@rastaferraille
Copy link
Author

rastaferraille commented Oct 9, 2023 via email

@camillemonchicourt
Copy link
Member

Autre soucis, à voir dans un autre ticket je pense.
La création de la BDD semble avoir eu un soucis.
Il faudrait tous les logs de l'installation pour identifier le soucis.
Ou relancer l'installation complète de la BDD.

@rastaferraille
Copy link
Author

rastaferraille commented Oct 9, 2023 via email

@jpm-cbna
Copy link
Contributor

jpm-cbna commented Dec 7, 2023

@lpofredc @rastaferraille Did the update of greenlet fix the setup ?

Replace greenlet==1.1.2 with greenlet==1.1.3 in requirements.txt file to resolve the issue with Debian 12.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants