ebroecker / canmatrix

Converting Can (Controller Area Network) Database Formats .arxml .dbc .dbf .kcd ...
BSD 2-Clause "Simplified" License
933 stars 401 forks source link

"arxml is not supported" error is coming with "canconvert" cli command #790

Closed saimahesh1109 closed 5 months ago

saimahesh1109 commented 5 months ago

Hi,

i have installed canmatrix module using pip and used below command to convert arxml to dbc.

C:\Python39>python -m canmatrix.cli.convert -vv VSNA_PSCM_FNV4EcuExtract_0.9.1_ECUA_V2.arxml test.dbc

But i got below error . Kindly help me in fixing this error.Thanks in advance.

arxml is not supported ldf is not supported kcd is not supported fibex is not supported xls is not supported xlsx is not supported yaml is not supported odx is not supported INFO - convert - Importing VSNA_PSCM_FNV4EcuExtract_0.9.1_ECUA_V2.arxml ... ERROR - init - This file format is not supported for reading INFO - convert - done

INFO - convert - Exporting test.dbc ... Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "C:\Python39\Lib\site-packages\canmatrix\cli\convert.py", line 160, in sys.exit(cli_convert()) ^^^^^^^^^^^^^ File "C:\Python39\Lib\site-packages\click\core.py", line 1157, in call return self.main(args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python39\Lib\site-packages\click\core.py", line 1078, in main rv = self.invoke(ctx) ^^^^^^^^^^^^^^^^ File "C:\Python39\Lib\site-packages\click\core.py", line 1434, in invoke return ctx.invoke(self.callback, ctx.params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python39\Lib\site-packages\click\core.py", line 783, in invoke return __callback(args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python39\Lib\site-packages\canmatrix\cli\convert.py", line 155, in cli_convert canmatrix.convert.convert(infile, outfile, options) File "C:\Python39\Lib\site-packages\canmatrix\convert.py", line 74, in convert for name in dbs: TypeError: 'NoneType' object is not iterable

canmatrix_error