Warning library vs language settings (Archilab.Grimshaw.Elements.Warnings)

Hi everyone,

I actually do some warning parsing with the great work of @Konrad_K_Sobon on http://archi-lab.net/digging-through-revit-warnings-to-find-meaning/

It works well in Revit with ENU settings for editting csv file and manage warning report.
When I try to do the same with a warning library in french (csv file) it seems to not match, see picture below.

When I build my csv library it looks like that :

Warning,Rating
“Les murs en surbrillance sont attachés aux cibles en surbrillance, mais ne les atteignent pas.”,2
“Les éléments mis en surbrillance sont joints”,2
“L’étiquette de Pièce se trouve à l’extérieur du/de la Pièce.”,3

Maybe there is adjustments to do when you got accent in python code ? I’m not familiar with.

Thanks in advance

Thank you for your kind words. What is not matching here? I fail to recognize the error. Perhaps because you posted parts of the question in French. :wink:

Ps. My general answer to localization issues is: Don’t use localized versions of Dynamo. I can’t provide support for my packages in other languages.

Thanks for your answer, i will try to be clear (in english :p)

English csv file example
Highlighted walls are attached to, but miss, the highlighted targets.,2

Corresponding csv in French
Les murs en surbrillance sont attachés aux cibles en surbrillance, mais ne les atteignent pas.,2

When I got HTML warning report & library from csv file in english the" Warning.Assingrating" node works well. (Rating and so).
When I do the same with HTML warning report & library from csv file in french the “Warning Assingrating” node seems to not assign the rating. All rating are 0.

I try to verify how my warninglibrary is readed with a “Watch node” or a “Warning.ErrorMessage” without success, Is there a node like WarningLibrary.Errormessage ? Because for me the error comes from my library.

I see, so there must be something wrong with the Assign Rating node. If you can post a sample file (including French version of CSV) to this location: https://github.com/ksobon/archilab_Grimshaw/issues then I can have a look at it.

I can’t promise it will happen now. As a matter of fact I know for a fact that I am going to be busy for the next few days, but perhaps in the coming week I can crack this.

Cheers!

Hi,

Finally I find a way with the great node image for assign rating.

I did it without Warning.nodes except for report reading. (Warning.ParseHtml).

Hi @alexis.maxin , could your share a .dyn file for this workflow? thanks in advance


hi, i am running into the same issue @Konrad_K_Sobon … is there a solutin for this now :slight_smile:
greetings kev