- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I work on windows and with the command line interface to get modustoolbox running in the CI as well.
If I execute the following commands in a bash (same result on bat):
```
MTB_TOOLS=/d/tools/modustoolbox/tools_3.0
CY_TOOLS_PATHS=/c/Users/ifxjenkneptune/.modustoolbox
${MTB_TOOLS}/project-creator/project-creator-cli.exe --board-id CY8CPROTO-062-4343W --app-path ../modules/i2c-controller-psoc/ --offline
I get the following output:
```
....
Finished loading the manifest data
Loading the device db
ERROR: Failed to get application directory structure"
```
What causes the error or how can I fix it?
Solved! Go to Solution.
- Labels:
-
ModusToolbox General
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
CY_TOOLS_PATHS=/c/Users/ifxjenkneptune/.modustoolbox - this will cause problems.
CY_TOOLS_PATHS is supposed to point to the location of the Tools (which is probably /d/tools/modustoolbox/tools_3.0 in your case)
The only variables you should ever touch wrt to the custom installation are explained in this document.
See Section 6 of https://www.infineon.com/dgdl/Infineon-ModusToolbox_3_0_Installation_Guide-GettingStarted-v01_00-EN....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @heike
In the command,
project-creator-cli.exe --board-id CY8CPROTO-062-4343W --app-path ../modules/i2c-controller-psoc/ --offline
can please try replacing the app-path with the full path of the application?
For example:
project-creator-cli.exe --board-id CY8CPROTO-062-4343W --app-path C:/<path>/modules/i2c-controller-psoc/ --offline
Thanks and Regards,
Leo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
CY_TOOLS_PATHS=/c/Users/jenkins/.modustoolbox
/d/tools/modustoolbox/tools_3.0/project-creator/project-creator-cli.exe --board-id CY8CPROTO-062-4343W --app-path /c/Users/jenkins/workspace/delivery/i2c-controller-psoc/ --offline
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @heike
Can you please provide the output that you got after running this command?
Thanks and Regards,
Leo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
INFO:Offline operating mode requested. Offline content is found.
Loading the manifest data
Loading super manfiest files from all sources
Getting manifests from offline contents
Processing system manifest 'file:///C:/Users/ifxjenkneptune/.modustoolbox/offline/manifests-v2.X/mtb-super-manifest-fv2.xml'
Downloading super manifest file 'file:///C:/Users/ifxjenkneptune/.modustoolbox/offline/manifests-v2.X/mtb-super-manifest-fv2.xml'
Finished loading super manifest files from all sources
Finished download of file 'file:///C:/Users/ifxjenkneptune/.modustoolbox/offline/manifests-v2.X/mtb-super-manifest-fv2.xml'
Starting to parse super manifest with URL 'file:///C:/Users/ifxjenkneptune/.modustoolbox/offline/manifests-v2.X/mtb-super-manifest-fv2.xml'
Finished parsing super manifest with URL 'file:///C:/Users/ifxjenkneptune/.modustoolbox/offline/manifests-v2.X/mtb-super-manifest-fv2.xml'
Downloading manifest file 'file:///C:/Users/ifxjenkneptune/.modustoolbox/offline/manifests-v2.X/mtb-ce-manifest.xml'
Downloading manifest file 'file:///C:/Users/ifxjenkneptune/.modustoolbox/offline/manifests-v2.X/mtb-ce-manifest-fv2.xml'
Downloading manifest file 'file:///C:/Users/ifxjenkneptune/.modustoolbox/offline/manifests-v2.X/mtb-bt-app-manifest.xml'
Downloading manifest file 'file:///C:/Users/ifxjenkneptune/.modustoolbox/offline/manifests-v2.X/mtb-bt-app-manifest-fv2.xml'
Downloading manifest file 'file:///C:/Users/ifxjenkneptune/.modustoolbox/offline/manifests-v2.X/cce-app-manifest-fv2.xml'
Downloading manifest file 'file:///C:/Users/ifxjenkneptune/.modustoolbox/offline/manifests-v2.X/mtb-bsp-manifest.xml'
Downloading manifest file 'file:///C:/Users/ifxjenkneptune/.modustoolbox/offline/manifests-v2.X/mtb-bsp-manifest-fv2.xml'
Downloading manifest file 'file:///C:/Users/ifxjenkneptune/.modustoolbox/offline/manifests-v2.X/mtb-bsp-dependencies-manifest.xml'
Downloading manifest file 'file:///C:/Users/ifxjenkneptune/.modustoolbox/offline/manifests-v2.X/mtb-bt-bsp-manifest.xml'
Downloading manifest file 'file:///C:/Users/ifxjenkneptune/.modustoolbox/offline/manifests-v2.X/mtb-bt-bsp-manifest-fv2.xml'
Downloading manifest file 'file:///C:/Users/ifxjenkneptune/.modustoolbox/offline/manifests-v2.X/mtb-bt-bsp-dependencies-manifest.xml'
Downloading manifest file 'file:///C:/Users/ifxjenkneptune/.modustoolbox/offline/manifests-v2.X/mtb-mw-manifest.xml'
Downloading manifest file 'file:///C:/Users/ifxjenkneptune/.modustoolbox/offline/manifests-v2.X/mtb-mw-manifest-fv2.xml'
Downloading manifest file 'file:///C:/Users/ifxjenkneptune/.modustoolbox/offline/manifests-v2.X/mtb-mw-dependencies-manifest.xml'
Downloading manifest file 'file:///C:/Users/ifxjenkneptune/.modustoolbox/offline/manifests-v2.X/mtb-bt-mw-manifest.xml'
Downloading manifest file 'file:///C:/Users/ifxjenkneptune/.modustoolbox/offline/manifests-v2.X/mtb-bt-mw-manifest-fv2.xml'
Downloading manifest file 'file:///C:/Users/ifxjenkneptune/.modustoolbox/offline/manifests-v2.X/mtb-bt-mw-dependencies-manifest.xml'
Downloading manifest file 'file:///C:/Users/ifxjenkneptune/.modustoolbox/offline/manifests-v2.X/mtb-wifi-mw-manifest.xml'
Downloading manifest file 'file:///C:/Users/ifxjenkneptune/.modustoolbox/offline/manifests-v2.X/mtb-wifi-mw-manifest-fv2.xml'
Downloading manifest file 'file:///C:/Users/ifxjenkneptune/.modustoolbox/offline/manifests-v2.X/mtb-wifi-mw-dependencies-manifest.xml'
Finished download of file 'file:///C:/Users/ifxjenkneptune/.modustoolbox/offline/manifests-v2.X/mtb-ce-manifest.xml'
Finished download of file 'file:///C:/Users/ifxjenkneptune/.modustoolbox/offline/manifests-v2.X/mtb-ce-manifest-fv2.xml'
Finished download of file 'file:///C:/Users/ifxjenkneptune/.modustoolbox/offline/manifests-v2.X/mtb-bt-app-manifest.xml'
Finished download of file 'file:///C:/Users/ifxjenkneptune/.modustoolbox/offline/manifests-v2.X/mtb-bt-app-manifest-fv2.xml'
Finished download of file 'file:///C:/Users/ifxjenkneptune/.modustoolbox/offline/manifests-v2.X/cce-app-manifest-fv2.xml'
Finished download of file 'file:///C:/Users/ifxjenkneptune/.modustoolbox/offline/manifests-v2.X/mtb-bsp-manifest.xml'
Finished download of file 'file:///C:/Users/ifxjenkneptune/.modustoolbox/offline/manifests-v2.X/mtb-bsp-manifest-fv2.xml'
Finished download of file 'file:///C:/Users/ifxjenkneptune/.modustoolbox/offline/manifests-v2.X/mtb-bsp-dependencies-manifest.xml'
Finished download of file 'file:///C:/Users/ifxjenkneptune/.modustoolbox/offline/manifests-v2.X/mtb-bt-bsp-manifest.xml'
Finished download of file 'file:///C:/Users/ifxjenkneptune/.modustoolbox/offline/manifests-v2.X/mtb-bt-bsp-manifest-fv2.xml'
Finished download of file 'file:///C:/Users/ifxjenkneptune/.modustoolbox/offline/manifests-v2.X/mtb-bt-bsp-dependencies-manifest.xml'
Finished download of file 'file:///C:/Users/ifxjenkneptune/.modustoolbox/offline/manifests-v2.X/mtb-mw-manifest.xml'
Finished download of file 'file:///C:/Users/ifxjenkneptune/.modustoolbox/offline/manifests-v2.X/mtb-mw-manifest-fv2.xml'
Finished download of file 'file:///C:/Users/ifxjenkneptune/.modustoolbox/offline/manifests-v2.X/mtb-mw-dependencies-manifest.xml'
Finished download of file 'file:///C:/Users/ifxjenkneptune/.modustoolbox/offline/manifests-v2.X/mtb-bt-mw-manifest.xml'
Finished download of file 'file:///C:/Users/ifxjenkneptune/.modustoolbox/offline/manifests-v2.X/mtb-bt-mw-manifest-fv2.xml'
Finished download of file 'file:///C:/Users/ifxjenkneptune/.modustoolbox/offline/manifests-v2.X/mtb-bt-mw-dependencies-manifest.xml'
Finished download of file 'file:///C:/Users/ifxjenkneptune/.modustoolbox/offline/manifests-v2.X/mtb-wifi-mw-manifest.xml'
Finished download of file 'file:///C:/Users/ifxjenkneptune/.modustoolbox/offline/manifests-v2.X/mtb-wifi-mw-manifest-fv2.xml'
Finished download of file 'file:///C:/Users/ifxjenkneptune/.modustoolbox/offline/manifests-v2.X/mtb-wifi-mw-dependencies-manifest.xml'
Finished loading the manifest data (644 ms)
Loading the device db
Finished loading the device db (1672 ms)
ERROR:Failed to get application directory structure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
CY_TOOLS_PATHS=/c/Users/ifxjenkneptune/.modustoolbox - this will cause problems.
CY_TOOLS_PATHS is supposed to point to the location of the Tools (which is probably /d/tools/modustoolbox/tools_3.0 in your case)
The only variables you should ever touch wrt to the custom installation are explained in this document.
See Section 6 of https://www.infineon.com/dgdl/Infineon-ModusToolbox_3_0_Installation_Guide-GettingStarted-v01_00-EN....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @heike ,
Thread was locked due to inactivity for long time, you can continue the discussion on the topic by opening a new thread with reference to the locked one. The continuous discussion in an inactive thread may mostly be unattended by community users.
Thanks and Regards,
Leo