ebroecker / canmatrix

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

Can't convert to ArXML #558

Closed Dan13l-N closed 3 years ago

Dan13l-N commented 3 years ago

Hello, I have some DBC files I'm trying to convert to ARXML, but every file I try I get:

C:\Python\Scripts>canconvert -v B8.dbc b8.arxml arxml is not supported kcd is not supported fibex is not supported xls is not supported xlsx is not supported yaml is not supported INFO - convert - Importing B8.dbc ... INFO - convert - done

INFO - convert - Exporting b8.arxml ... INFO - convert - INFO - convert - 124 Frames found ERROR - init - This file format is not supported for writing INFO - convert - done

And no files are created. However, from docs and code I see writing to ArXML is supported?

Thanks a lot, Daniel

annguyen0 commented 3 years ago

Hi Daniel,

arxml is not supported kcd is not supported fibex is not supported xls is not supported xlsx is not supported yaml is not supported

Let's install the dependency first by command: pip install -r requirements.txt

As I remember that the canconvert does not support dbc -> arxml but you can try.

ebroecker commented 3 years ago

Hi @Dan13l-N,

yes @anphucnguyen is right, you need the dependencies at least you need lxml.

But canmatrix does support converting to ARXML.

Best regards

Dan13l-N commented 3 years ago

Thanks a lot! I confirm it works now!! Great!