girishchandranc / autosarfactory

AutosarFactory is a python package which helps user to read/create/modify AUTOSAR standard arxml files.
MIT License
81 stars 25 forks source link

Hex binary value support #6

Closed girishchandranc closed 3 years ago

girishchandranc commented 3 years ago

Hi Adi, Please review!

PopAdrian1981 commented 3 years ago

I think our test arxml file still contains values it cannot process. e.g. :

invalid literal for int() with base 8: ''

autosarfactory-0.2.1-py3.8.egg\autosarfactory\datatype_utils.py(13)get_int_value() 11 else: 12 # octal value ---> 13 return int(text[2:], 8) 14 else: 15 # decimal value

girishchandranc commented 3 years ago

I think our test arxml file still contains values it cannot process. e.g. :

invalid literal for int() with base 8: ''

autosarfactory-0.2.1-py3.8.egg\autosarfactory\datatype_utils.py(13)get_int_value() 11 else: 12 # octal value ---> 13 return int(text[2:], 8) 14 else: 15 # decimal value

Hi Adi, The issue is fixed and now able to open the UI with test arxml. Please re-review.