Advertisement
ktv6

dbc load traceback

Jul 13th, 2020
293
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. Traceback (most recent call last):
  2. File "d:/tigran/ivi_controller/backend.py", line 27, in <module>
  3. dbc_messages = ce.init_messages(os.path.abspath('electric_vehicle_prototype_general.dbc'))
  4. File "c:\Python38x86\lib\site-packages\can_emulator\can_message.py", line 85, in init_messages
  5. dbc = cantools.db.load_file(dbc_path)
  6. File "c:\Python38x86\lib\site-packages\cantools\database\__init__.py", line 177, in load_file
  7. return load(fin,
  8. File "c:\Python38x86\lib\site-packages\cantools\database\__init__.py", line 252, in load
  9. return load_string(fp.read(),
  10. File "c:\Python38x86\lib\site-packages\cantools\database\__init__.py", line 320, in load_string
  11. return load_can_database('dbc')
  12. File "c:\Python38x86\lib\site-packages\cantools\database\__init__.py", line 304, in load_can_database
  13. db.add_dbc_string(string)
  14. File "c:\Python38x86\lib\site-packages\cantools\database\can\database.py", line 173, in add_dbc_string
  15. database = dbc.load_string(string, self._strict)
  16. File "c:\Python38x86\lib\site-packages\cantools\database\can\formats\dbc.py", line 1612, in load_string
  17. messages = _load_messages(tokens,
  18. File "c:\Python38x86\lib\site-packages\cantools\database\can\formats\dbc.py", line 1354, in _load_messages
  19. length=int(message[4], 0),
  20. ValueError: invalid literal for int() with base 0: '08'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement