[bug] URDF preview no longer work after VS Code update
See original GitHub issue(Please add appropriate labels)
- Windows: (Version)
- Linux: Ubuntu 18.04
- ROS 1: Melodic
- ROS 2: Dist
<Version of the plugin> v0.6.7
<Copy the Version information from the Help | About
menu>
Version: 1.56.0
Commit: cfa2e218100323074ac1948c885448fdf4de2a7f
Date: 2021-05-04T21:58:14.757Z
Electron: 12.0.4
Chrome: 89.0.4389.114
Node.js: 14.16.0
V8: 8.9.255.24-electron.0
OS: Linux x64 4.15.0-142-generic
what is the bug
<current behavior> I was editing an URDF file and it was showing in the preview just fine. Then there were an automatic update of vscode. After that the the previewer stopped showing the model, only shows the ground plane and origin. Code was not modified. I tried rebooting the computer and restarting the vscode, non worked. I also tried several of the turtlebot3 urdf, seems like previewer only shows non-STL links.
Repro steps
<how to reproduce the bug. Please attach sample files or github repo if appropriate.>
- Open any urdf file in the previewer.
- bug appears
expected behavior
<what you would expect to happen> Expecting all links to show up, including STL/DAE links.
additional context
<any additional information would be helpful for a better understanding>
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:9 (8 by maintainers)
This is going to require more investigation. It looks like the URI scheme that vscode used changed. but the docs haven’t been updated.
We used to be able to handle
vscode-resource:
. Now it looks like it is through https and<guid>.vscode-webview-test.com
. However, replacement doesn’t seem to find the local resources.Plot thickens.
Thank you for reporting, 0.6.8 is now live with the fix.