-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
devtool workspace scan fails on older Yocto version #337
Comments
Thanks for this new issue report! |
Hello @joguy56 We don't automatically re-scan the project because it is slow. We could add a file watcher in the workspace appends for that but I think manually pressing the "Bitbake: Rescan Project" is fine. Let me know if re-starting a scan solved your issue. |
Hello @deribaucourt ! Indeed I see that the bbappend is pointing to the right sourctree. If I build the recipe from the devtool workspace wheel, I builds the right recipe at the external sourctree. Now, if I click on the foam workspace, vscode don’t manage the fact that it is an external source tree, and it believes that it is a kind of docker container. See the capture I get when I click on the workspace to open a new vscode instance inside it. I also checked for a new recipe that the extension is not able to make a recipe appear in workspace panel if it was modified with an external path. From devtool point of view, the workspace is ok. If I try to add another time the recipe from extension, it says that the recipe is already in workspace. And I tried to rescan project, but no luck, the recipe is not seen as modified by the extension. Please, let me know if you need any further informations. Jonathan |
Could you provide more information on this error?
Thanks |
So the path seen by devtool is You seem to be using WSL on Windows from the look of the error message. The debug log could help. I sent you my email. |
Looking at your log, it seems our scan aborts because of the following error:
It should have been reported to you in the "Terminal" view. This error is typical of using older Yocto versions. We try to align our support with the active Yocto versions defined on the official wiki: https://wiki.yoctoproject.org/wiki/Releases The initial Could you confirm which Yocto version you are using? |
Closing this as a duplicate of #202 |
When modifying a recipe using the --no-extract because of using an external directory, this directory is not listed in the devtool workspace.
Seems to be logic as it seems to be directly linked with the default sdk directory.
But, if devtool can manage external directories for modified recipes, I expect that the plugin does exactly the same, and is able to list modified recipes even if there were not extracted in the internal workspace.
It would be great to see it directly from vscode as if the usual sdk workspace was used !
The text was updated successfully, but these errors were encountered: