Skip to content
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

New C/C++ Project, Import Project and New Project From Example are blank pages #138

Open
MarcoMagana opened this issue Dec 18, 2024 · 3 comments

Comments

@MarcoMagana
Copy link

  1. Installing VSCodeUserSetup-x64-1.95.3 on Windows 10
  2. Installing Raspberry Pi Pico Extension.
  3. Click on New C/C++ Project, Import Project, or New Project From Example show blank pages.
    image

Reinstalling VSCode and Raspberry Pi Pico Extension do not fix the problem.

@will-v-pi
Copy link
Collaborator

The page can sometimes take time to load, but if you close all the pages, close and reopen VS Code, and then try to open one of the pages again (rather than multiple at once) it should work.

Do you get any output in the developer console (Help->Toggle Developer Tools)? Could you also try using the latest debug build which you can download from Actions, which should provide more output in the developer console?

@MarcoMagana
Copy link
Author

MarcoMagana commented Dec 18, 2024

I get the following log:

 WARN Via 'product.json#extensionEnabledApiProposals' extension 'ms-vscode.vscode-selfhost-test-provider' wants API proposal 'attributableCoverage' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
log.ts:435  WARN Via 'product.json#extensionEnabledApiProposals' extension 'ms-python.python' wants API proposal 'contribIssueReporter' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
log.ts:435  WARN Via 'product.json#extensionEnabledApiProposals' extension 'ms-python.debugpy' wants API proposal 'contribIssueReporter' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
log.ts:425  INFO Started local extension host with pid 23336.
log.ts:435  WARN [twxs.cmake]: Cannot register 'cmake.cmakePath'. This property is already registered.
log.ts:445   ERR Ignoring cortex-debug.armToolchainPath.linux as cortex-debug.armToolchainPath is null
log.ts:445   ERR Ignoring cortex-debug.armToolchainPath.osx as cortex-debug.armToolchainPath is null
log.ts:445   ERR Ignoring cortex-debug.armToolchainPath.windows as cortex-debug.armToolchainPath is null
log.ts:445   ERR Ignoring cortex-debug.JLinkGDBServerPath.linux as cortex-debug.JLinkGDBServerPath is null
log.ts:445   ERR Ignoring cortex-debug.JLinkGDBServerPath.osx as cortex-debug.JLinkGDBServerPath is null
log.ts:445   ERR Ignoring cortex-debug.JLinkGDBServerPath.windows as cortex-debug.JLinkGDBServerPath is null
log.ts:445   ERR Ignoring cortex-debug.openocdPath.linux as cortex-debug.openocdPath is null
log.ts:445   ERR Ignoring cortex-debug.openocdPath.osx as cortex-debug.openocdPath is null
log.ts:445   ERR Ignoring cortex-debug.openocdPath.windows as cortex-debug.openocdPath is null
log.ts:445   ERR Ignoring cortex-debug.pyocdPath.linux as cortex-debug.pyocdPath is null
log.ts:445   ERR Ignoring cortex-debug.pyocdPath.osx as cortex-debug.pyocdPath is null
log.ts:445   ERR Ignoring cortex-debug.pyocdPath.windows as cortex-debug.pyocdPath is null
log.ts:445   ERR Ignoring cortex-debug.PEGDBServerPath.linux as cortex-debug.PEGDBServerPath is null
log.ts:445   ERR Ignoring cortex-debug.PEGDBServerPath.osx as cortex-debug.PEGDBServerPath is null
log.ts:445   ERR Ignoring cortex-debug.PEGDBServerPath.windows as cortex-debug.PEGDBServerPath is null
log.ts:445   ERR Ignoring cortex-debug.stutilPath.linux as cortex-debug.stutilPath is null
log.ts:445   ERR Ignoring cortex-debug.stutilPath.osx as cortex-debug.stutilPath is null
log.ts:445   ERR Ignoring cortex-debug.stutilPath.windows as cortex-debug.stutilPath is null
log.ts:445   ERR Ignoring cortex-debug.stlinkPath.linux as cortex-debug.stlinkPath is null
log.ts:445   ERR Ignoring cortex-debug.stlinkPath.osx as cortex-debug.stlinkPath is null
log.ts:445   ERR Ignoring cortex-debug.stlinkPath.windows as cortex-debug.stlinkPath is null
log.ts:445   ERR Ignoring cortex-debug.stm32cubeprogrammer.linux as cortex-debug.stm32cubeprogrammer is null
log.ts:445   ERR Ignoring cortex-debug.stm32cubeprogrammer.osx as cortex-debug.stm32cubeprogrammer is null
log.ts:445   ERR Ignoring cortex-debug.stm32cubeprogrammer.windows as cortex-debug.stm32cubeprogrammer is null
log.ts:425  INFO Settings Sync: Account status changed from uninitialized to unavailable
console.ts:137 [Extension Host] do not activate
console.ts:137 [Extension Host] [INFO] [raspberry-pi-pico - extension] Extension activation triggered
console.ts:137 [Extension Host] [INFO] [raspberry-pi-pico - UI] Initializing UI
console.ts:137 [Extension Host] [WARN] [raspberry-pi-pico - extension] No workspace folder or Pico project found.
kYi @ console.ts:137
console.ts:137 [Extension Host]% Object
console.ts:137 [Extension Host]% Object
log.ts:425  INFO [perf] Render performance baseline is 26ms
workbench.html:1 Access to fetch at 'https://www.vscode-unpkg.net/_gallery/marus25/cortex-debug/latest' from origin 'vscode-file://vscode-app' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.
www.vscode-unpkg.net/_gallery/marus25/cortex-debug/latest:1 
        
        
       Failed to load resource: net::ERR_FAILED
log.ts:445   ERR [network] #1: https://www.vscode-unpkg.net/_gallery/marus25/cortex-debug/latest - error GET Failed to fetch
workbench.html:1 Access to fetch at 'https://www.vscode-unpkg.net/_gallery/ms-vscode/cmake-tools/latest' from origin 'vscode-file://vscode-app' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.
www.vscode-unpkg.net/_gallery/ms-vscode/cmake-tools/latest:1 
        
        
       Failed to load resource: net::ERR_FAILED
log.ts:445   ERR [network] #9: https://www.vscode-unpkg.net/_gallery/ms-vscode/cmake-tools/latest - error GET Failed to fetch
workbench.html:1 Access to fetch at 'https://www.vscode-unpkg.net/_gallery/ms-python/vscode-pylance/latest' from origin 'vscode-file://vscode-app' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.
www.vscode-unpkg.net/_gallery/ms-python/vscode-pylance/latest:1 
        
        
       Failed to load resource: net::ERR_FAILED
log.ts:445   ERR [network] #8: https://www.vscode-unpkg.net/_gallery/ms-python/vscode-pylance/latest - error GET Failed to fetch
workbench.html:1 Access to fetch at 'https://www.vscode-unpkg.net/_gallery/paulober/pico-w-go/latest' from origin 'vscode-file://vscode-app' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.
www.vscode-unpkg.net/_gallery/paulober/pico-w-go/latest:1 
        
        
       Failed to load resource: net::ERR_FAILED
log.ts:445   ERR [network] #14: https://www.vscode-unpkg.net/_gallery/paulober/pico-w-go/latest - error GET Failed to fetch
workbench.html:1 Access to fetch at 'https://www.vscode-unpkg.net/_gallery/twxs/cmake/latest' from origin 'vscode-file://vscode-app' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.
www.vscode-unpkg.net/_gallery/twxs/cmake/latest:1 
        
        
       Failed to load resource: net::ERR_FAILED
log.ts:445   ERR [network] #16: https://www.vscode-unpkg.net/_gallery/twxs/cmake/latest - error GET Failed to fetch
log.ts:445   ERR [network] #2: https://www.vscode-unpkg.net/_gallery/mcu-debug/debug-tracker-vscode/latest - error GET Fetch timeout: 10000ms
log.ts:445   ERR [network] #10: https://www.vscode-unpkg.net/_gallery/ms-vscode/cpptools/latest - error GET Fetch timeout: 10000ms
log.ts:445   ERR [network] #13: https://www.vscode-unpkg.net/_gallery/ms-vscode/vscode-serial-monitor/latest - error GET Fetch timeout: 10000ms
webviewElement.ts:486 An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing.
mountTo @ webviewElement.ts:486
workbench.html:1 Access to fetch at 'https://www.vscode-unpkg.net/_gallery/mcu-debug/rtos-views/latest' from origin 'vscode-file://vscode-app' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.
www.vscode-unpkg.net/_gallery/mcu-debug/rtos-views/latest:1 
        
        
       Failed to load resource: net::ERR_FAILED
log.ts:445   ERR [network] #24: https://www.vscode-unpkg.net/_gallery/mcu-debug/rtos-views/latest - error GET Failed to fetch
workbench.html:1 Access to fetch at 'https://www.vscode-unpkg.net/_gallery/mcu-debug/peripheral-viewer/latest' from origin 'vscode-file://vscode-app' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.
www.vscode-unpkg.net/_gallery/mcu-debug/peripheral-viewer/latest:1 
        
        
       Failed to load resource: net::ERR_FAILED
log.ts:445   ERR [network] #23: https://www.vscode-unpkg.net/_gallery/mcu-debug/peripheral-viewer/latest - error GET Failed to fetch
workbench.html:1 Access to fetch at 'https://www.vscode-unpkg.net/_gallery/mcu-debug/memory-view/latest' from origin 'vscode-file://vscode-app' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.
www.vscode-unpkg.net/_gallery/mcu-debug/memory-view/latest:1 
        
        
       Failed to load resource: net::ERR_FAILED
log.ts:445   ERR [network] #22: https://www.vscode-unpkg.net/_gallery/mcu-debug/memory-view/latest - error GET Failed to fetch
workbench.html:1 Access to fetch at 'https://www.vscode-unpkg.net/_gallery/ms-vscode/cpptools/latest' from origin 'vscode-file://vscode-app' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.
www.vscode-unpkg.net/_gallery/ms-vscode/cpptools/latest:1 
        
        
       Failed to load resource: net::ERR_FAILED
log.ts:445   ERR [network] #29: https://www.vscode-unpkg.net/_gallery/ms-vscode/cpptools/latest - error GET Failed to fetch
workbench.html:1 Access to fetch at 'https://www.vscode-unpkg.net/_gallery/ms-vscode/cpptools-themes/latest' from origin 'vscode-file://vscode-app' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.
www.vscode-unpkg.net/_gallery/ms-vscode/cpptools-themes/latest:1 
        
        
       Failed to load resource: net::ERR_FAILED
log.ts:445   ERR [network] #31: https://www.vscode-unpkg.net/_gallery/ms-vscode/cpptools-themes/latest - error GET Failed to fetch
workbench.html:1 Access to fetch at 'https://www.vscode-unpkg.net/_gallery/marus25/cortex-debug/latest' from origin 'vscode-file://vscode-app' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.
www.vscode-unpkg.net/_gallery/marus25/cortex-debug/latest:1 
        
        
       Failed to load resource: net::ERR_FAILED
log.ts:445   ERR [network] #20: https://www.vscode-unpkg.net/_gallery/marus25/cortex-debug/latest - error GET Failed to fetch
log.ts:445   ERR [network] #25: https://www.vscode-unpkg.net/_gallery/ms-python/debugpy/latest - error GET Fetch timeout: 10000ms
log.ts:445   ERR [network] #28: https://www.vscode-unpkg.net/_gallery/ms-vscode/cmake-tools/latest - error GET Fetch timeout: 10000ms
log.ts:445   ERR [network] #33: https://www.vscode-unpkg.net/_gallery/paulober/pico-w-go/latest - error GET Fetch timeout: 10000ms
log.ts:445   ERR [network] #35: https://www.vscode-unpkg.net/_gallery/twxs/cmake/latest - error GET Fetch timeout: 10000ms

@will-v-pi
Copy link
Collaborator

That looks like you’re having some internet problems not related to this extension, given its printing issues with other extensions too - possibly your anti-virus or firewall causing issues?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants