Please provide the following info (tick the boxes after creating this topic):
Software Version
[*] DRIVE OS 6.0.10.0
DRIVE OS 6.0.8.1
DRIVE OS 6.0.6
DRIVE OS 6.0.5
DRIVE OS 6.0.4 (rev. 1)
DRIVE OS 6.0.4 SDK
other
Target Operating System
[*] Linux
QNX
other
Hardware Platform
DRIVE AGX Orin Developer Kit (940-63710-0010-300)
DRIVE AGX Orin Developer Kit (940-63710-0010-200)
DRIVE AGX Orin Developer Kit (940-63710-0010-100)
DRIVE AGX Orin Developer Kit (940-63710-0010-D00)
DRIVE AGX Orin Developer Kit (940-63710-0010-C00)
[*] DRIVE AGX Orin Developer Kit (not sure its number)
other
SDK Manager Version
2.1.0
[*] other
Host Machine Version
native Ubuntu Linux 20.04 Host installed with SDK Manager
[*] native Ubuntu Linux 20.04 Host installed with DRIVE OS Docker Containers
native Ubuntu Linux 18.04 Host installed with DRIVE OS Docker Containers
other
Issue Description
descriptionScheduleYAMLGenerator doesnt work properly with the upgraded versions of DRIVE OS. the driveworks directory structure is changed, and hence the newer versions’ tool searches for nodes and graphlets in a different location, which doesnt make any sense.
Error String
root@6.0.10.0-0009-build-linux-sdk:/usr/local/driveworks-5.20/tools/descriptionScheduleYamlGenerator# ./descriptionScheduleYamlGenerator.py --app MiniPipeline.app.json --output minipipleschedule.yaml
Input Description file path: /usr/local/driveworks-5.20/tools/descriptionScheduleYamlGenerator/MiniPipeline.app.json
Analysis…
Traceback (most recent call last):
File “./descriptionScheduleYamlGenerator.py”, line 3260, in
main()
File “./descriptionScheduleYamlGenerator.py”, line 3188, in main
systemDescription = SystemDescription(appFile)
File “./descriptionScheduleYamlGenerator.py”, line 3123, in init
self.schedules = [
File “./descriptionScheduleYamlGenerator.py”, line 3124, in
ScheduleDescription(self.baseDir, stmSchedule, stmScheduleKey, identifier, stmScheduleKey == defaultStmScheduleKey, self)
File “./descriptionScheduleYamlGenerator.py”, line 1585, in init
self.subcomponents[graphletId] = GraphletDescription(graphletId, grapheletFile, self)
File “./descriptionScheduleYamlGenerator.py”, line 2914, in init
self.subcomponents = self.parseSubComponents(graphletJson[SUBCOMPONENTS])
File “./descriptionScheduleYamlGenerator.py”, line 2937, in parseSubComponents
component = GraphletDescription(componentFullId, fixPath(componentType, self.baseDir), self)
File “./descriptionScheduleYamlGenerator.py”, line 2914, in init
self.subcomponents = self.parseSubComponents(graphletJson[SUBCOMPONENTS])
File “./descriptionScheduleYamlGenerator.py”, line 2939, in parseSubComponents
component = NodeDescription(componentFullId, fixPath(componentType, self.baseDir), self)
File “./descriptionScheduleYamlGenerator.py”, line 2781, in init
nodeFile = FileValidation.validate(nodeFile, self.type.name.lower())
File “./descriptionScheduleYamlGenerator.py”, line 1463, in validate
raise ValueError(‘Description file does not exist in both paths:\n’ + 'fileName0: ’ + fileName0 + ‘\n’ + 'fileName1: ’ + fileName1 + ‘\n’)
ValueError: Description file does not exist in both paths:
fileName0: /usr/local/src/dwframework/dwnodes/sensors/dwcameranode/dwCameraNode.node.json
fileName1: /usr/local/src/dwframework/dwnodes/sensors/dwcameranode/dwCameraNode.node.json
root@6.0.10.0-0009-build-linux-sdk:/usr/local/driveworks-5.20/tools/descriptionScheduleYamlGenerator# cd …/…
root@6.0.10.0-0009-build-linux-sdk:/usr/local/driveworks-5.20# find -name “dwCameraNode.node.json”
./src/dwframework/dwnodes/sensors/dwcameranode/dwCameraNode.node.json
root@6.0.10.0-0009-build-linux-sdk:/usr/local/driveworks-5.20#
Logs
Provide logs in text box instead of image
Please paste the complete application log here. If there are multiple logs, please use multiple text box