Page 1 of 1

AttributeError -> .get_variable ()

Posted: Thu Jul 04, 2019 2:17 pm
by maiquesk
Hi,

Sometime, when I use script with the method '.get_variable ()', the script bug like that:

Code: Select all

Traceback (most recent call last):
  File "C:\_Kevin\_Ext_Kevin\test\T_39_VE_2017\VE_Script_2018\sortie_resultat_room.py", line 71, in <module>
    aps_variables = results_file_reader.get_variables()
AttributeError: type object 'Font' has no attribute 'values'
I close then re-open and sometime it work again, some time not. It's very random !!

is there a solution to this probleme ?

Best Regards,

Kevin

Re: AttributeError -> .get_variable ()

Posted: Thu Jul 04, 2019 2:24 pm
by maiquesk
I forget ! I am on VE2018.1.1.0

Re: AttributeError -> .get_variable ()

Posted: Thu Jul 11, 2019 8:41 am
by Rhind
There was an issue with the get_variables method in some previous versions of the VE. This was fixed in 2019.