Giter Site home page Giter Site logo

Comments (4)

camillemonchicourt avatar camillemonchicourt commented on July 26, 2024 1

On peut laisser le sujet ouvert pour mémoire et pour le traiter plus tard quand on n'aura plus Python 3.9.

A noter aussi en passant, même si cela ne règle pas le soucis remonté ici, que des améliorations ont été réalisés dans la 2.14.1 sur les colonnes disponibles dans la liste du module Synthèse.

from geonature.

jacquesfize avatar jacquesfize commented on July 26, 2024

Alors malheureusement, c'est un problème lié à la librairie que nous utilisons pour lire les fichiers toml (https://pypi.org/project/toml/) qui ne prend pas en compte les apostrophes dans ce cas précis (string dans un JSON)...

Depuis la 3.11, la lecture de fichier toml est gérée par un module natif Python https://docs.python.org/3/library/tomllib.html et prend en compte les apostrophes... Malheureusement, on ne peut pas encore l'utilisé dans GeoNature car nous supportons encore la version 3.9 de Python :/

Une solution envisageable serait de modifier l'import dans ce fichier pour qu'il utilise tomllib si la version de python est en 3.11

from geonature.

MathRdt avatar MathRdt commented on July 26, 2024

Ok, merci pour la réponse, je me doutais que c'était quelque chose du genre !

from geonature.

TheoLechemia avatar TheoLechemia commented on July 26, 2024

Tu peux essayer cette syntaxe alternative qui fonctionne :

[[SYNTHESE.ADDITIONAL_COLUMNS_FRONTEND]]
    prop = "altitude_min"
    name = "altitude min"
[[SYNTHESE.ADDITIONAL_COLUMNS_FRONTEND]]
    prop = "altitude_max"
    name = "altitude l'a l'alala min"

from geonature.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.