cmcerove / pyvxl

A python library for working with the CAN bus through Vector's vxlAPI.dll
MIT License
16 stars 5 forks source link

ImportError when running the cli tool #3

Open DjLegolas opened 3 years ago

DjLegolas commented 3 years ago

I'm trying to start use the API and when I tried to start the cli I get the following error: ImportError: cannot import name 'config' from 'pyvxl' (C:\pyvxl\pyvxl\__init__.py)

It seem as the next import tries to import config, which is not present: https://github.com/cmcerove/pyvxl/blob/7e005d16e42286e916696f8efba312d6e75edc10/pyvxl/cmd_line.py#L14

cmcerove commented 3 years ago

I haven't used this file in a long time and I wasn't aware of other people using it until this bug was added. Updating it to work with all of the recent refactoring has been a very low priority. Additionally, there are still some functions it depends on that haven't been implemented since the refactor/update to python 3. I will probably convert this to a more automated solution so it doesn't need as much maintenance but I'm not sure when this will happen.