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

VS Code won't open any files #128726

Closed
stephbur opened this issue Jul 15, 2021 · 3 comments
Closed

VS Code won't open any files #128726

stephbur opened this issue Jul 15, 2021 · 3 comments
Assignees
Labels
file-explorer Explorer widget issues info-needed Issue requires more information from poster

Comments

@stephbur
Copy link

When I try to open any file via double clicking in the file explorer sidebar or Rightclick->Open to the side, nothing happens. Also via File->Open will not work. What does work is Right Click -> Open With...

Using the verbose flag I get the following error in the command line whenever trying to open a file:

ERR color: #f33 h is not iterable: TypeError: h is not iterable

Error Log
`[7152:0715/092317.810615:INFO:CONSOLE(627)] "%cTRACE color: #888 [text file model] resolve() - enter file:///home/stephan/phd/projects/202104_motic_code/motic_daq/motic_daq_max10/command_decoder.sv", source: file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js (627)
[7152:0715/092317.811794:INFO:CONSOLE(627)] "%cTRACE color: #888 [text file model] resolveFromFile() file:///home/stephan/phd/projects/202104_motic_code/motic_daq/motic_daq_max10/command_decoder.sv", source: file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js (627)
[7152:0715/092317.812482:INFO:CONSOLE(627)] "%cTRACE color: #888 [text file model] resolve() - enter file:///home/stephan/phd/projects/202104_motic_code/motic_daq/doc/spi_commands.txt", source: file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js (627)
[7152:0715/092317.812580:INFO:CONSOLE(627)] "%cTRACE color: #888 [text file model] resolveFromFile() file:///home/stephan/phd/projects/202104_motic_code/motic_daq/doc/spi_commands.txt", source: ERR color: #f33 h is not iterable: TypeError: h is not iterablefile:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js (627)
[main 2021-07-15T07:23:18.050Z] menubarService#updateMenubar 1
[7152:0715/092319.119231:INFO:CONSOLE(627)] "%c  ERR color: #f33 h is not iterable: TypeError: h is not iterable
    at Tn.cacheContributionPoints (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:2164:18608)
    at file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:2164:10261
    at l.fire (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:60:1836)
    at w.flush (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:637:6738)
    at file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:2509:61901
    at l.fire (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:60:1836)
    at file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:58:58821
    at file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:58:58966
    at l.fire (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:60:1836)
    at file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:58:58655
    at l.fire (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:60:1836)
    at file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:58:58821
    at l.fire (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:60:1836)
    at X (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:76:3423)
    at _.onResponse (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:76:4399)
    at _.onBuffer (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:76:4239)
    at file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:76:1817
    at l.fire (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:60:1836)
    at EventEmitter.V (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:58:60442)
    at EventEmitter.emit (events.js:315:20)
    at Object.onMessage (electron/js2c/renderer_init.js:121:1082)", source: file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js (627)
`
    

I have disabled all extensions, the problem persists.

Version: 1.56.0
Commit: cfa2e21
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 5.11.0-22-generic

@isidorn
Copy link
Contributor

isidorn commented Jul 26, 2021

I can not reproduce this. Can you reproduce using Visual Studio Code Insiders https://code.visualstudio.com/insiders/

@isidorn isidorn added file-explorer Explorer widget issues info-needed Issue requires more information from poster labels Jul 26, 2021
@stephbur
Copy link
Author

I just realized that somehow the apt repo was disabled and I was not using the newest version of VS Code.
After updating to 1.58.2 the issue does not appear anymore.

@isidorn
Copy link
Contributor

isidorn commented Jul 26, 2021

Great, closing then.

@isidorn isidorn closed this as completed Jul 26, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Sep 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
file-explorer Explorer widget issues info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

2 participants