I am using Visual Studio 2019 with Torizon Extensio (Extension version 1.5.0).
I can connect to my board: Toradex Apalis iMX8QM/QP on Apalis Evaluation Board(06494439)
Moses.exe is starting
On trying to build my project i get the AttributeError: ‘PlatformConfig’ object has no attribute ‘init_validation_tables’
I tried to set the config in the project properties, however the path was made invalid by the extension, as it adds a “.” to the folderpath where the config files lie:
ERROR:root:Error: 540 Invalid path. Invalid path: C:\[…]\.appconfig_0
The folder name should be appconfig_0 not .appconfig_0, i have no way of editing this.
When looking for the error i could find the following TIE-552-issue for VS code that was declared fixed.
What should be my further steps?
On my colleagues’ setup which he installed a while ago (Extension version 1.4.0) it works to build the project, for me it doesnt.
Moses Output:
ERROR:root:Image sha256:459dfc10d77612ad8500845b350fdf2de4846dcfc3422d42d27775e0adb2c60c not found
ERROR:root:Image sha256:5728a401b4998d78c2fe041df31cd1e0c5426b6a29fe5e1db78691636323b5e3 not found
ERROR:root:Image sha256:c8752af8a03d1a4e108535c9078ef10f7d12f88f0c31f0239dafda77f2033172 not found
ERROR:root:Image sha256:c8752af8a03d1a4e108535c9078ef10f7d12f88f0c31f0239dafda77f2033172 not found
ERROR:root:'PlatformConfig' object has no attribute 'init_validation_tables'
Traceback (most recent call last):
File "flask\app.py", line 1516, in full_dispatch_request
File "flask\app.py", line 1502, in dispatch_request
File "connexion\decorators\decorator.py", line 48, in wrapper
File "connexion\decorators\uri_parsing.py", line 144, in wrapper
File "connexion\decorators\validation.py", line 384, in wrapper
File "connexion\decorators\parameter.py", line 121, in wrapper
File "api.py", line 1014, in applications_load_get
File "applicationconfig.py", line 184, in load_application
File "applicationconfig.py", line 61, in __init__
File "applicationconfig_validation.py", line 420, in init
AttributeError: 'PlatformConfig' object has no attribute 'init_validation_tables'
INFO:root:REST <- /api/applications/load - 500