I use function can.interface.detect_available_configs() to scan hardware (I have 1 vector hardware with app_name set to None).
Then when I want to create Vector Interface with app_name set to None, I get an error
self._app_name = app_name.encode()
See error:
File "C:\Python37-32\lib\site-packages\can\interfaces\vector\canlib.py", line 88, in init
self._app_name = app_name.encode()
AttributeError: 'NoneType' object has no attribute 'encode'
I recomment to chech if app_name is None and set self._app_name to ''.encode()