MarlinFirmware / MarlinFirmware/AutoBuildMarlin
Tries to read non-existing file Marlin\src\inc\Conditionals-1-axes.h
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 285
- Forks
- 70
- PR merge metrics
- No merged PRs in 30d
Description
The extension crashes with the following stack trace. I have no idea why it would try to open a file called `Marlin\src\inc\Conditionals-1-axes`, since nothing in Marlin references a file of that (or similar) name.
This is on VsCode 1.94.2
```
[error] Error: ENOENT: no such file or directory, open 'c:\Users\me\ownCloud\3D\Pastamatic - Filament Spool Winder\AnetA8Firmware\Marlin-2.0.9.7\Marlin\src\inc\Conditionals-1-axes.h'
at Object.readFileSync (node:fs:450:20)
at t.readFileSync (node:electron/js2c/node_init:2:9900)
at combinedSchema (c:\Users\me\.vscode\extensions\marlinfirmware.auto-build-2.1.56\abm\editor.js:123:18)
at Object. (c:\Users\me\.vscode\extensions\marlinfirmware.auto-build-2.1.56\abm\editor.js:150:17)
at Module._compile (node:internal/modules/cjs/loader:1373:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1432:10)
at Module.load (node:internal/modules/cjs/loader:1215:32)
at Module._load (node:internal/modules/cjs/loader:1031:12)
at c._load (node:electron/js2c/node_init:2:13801)
at e._load (file:///c:/Users/me/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:174:10870)
at t._load (file:///c:/Users/me/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:166:22422)
at i._load (file:///c:/Users/me/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:158:4651)
at Module.require (node:internal/modules/cjs/loader:1240:19)
at require (node:internal/modules/helpers:179:18)
at Object. (c:\Users\me\.vscode\extensions\marlinfirmware.auto-build-2.1.56\extension.js:14:16)
at Module._compile (node:internal/modules/cjs/loader:1373:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1432:10)
at Module.load (node:internal/modules/cjs/loader:1215:32)
at Module._load (node:internal/modules/cjs/loader:1031:12)
at c._load (node:electron/js2c/node_init:2:13801)
at e._load (file:///c:/Users/me/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:174:10870)
at t._load (file:///c:/Users/me/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:166:22422)
at i._load (file:///c:/Users/me/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:158:4651)
at Module.require (node:internal/modules/cjs/loader:1240:19)
at require (node:internal/modules/helpers:179:18)
at hB.xb (file:///c:/Users/me/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:166:23767)
at async Promise.all (index 0)
```
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with abm/editor.js, especially combinedSchema at line 123 and its caller around line 150, then inspect extension.js at line 14. Reproduce the crash with VS Code 1.94.2 and the reported Marlin project, determine why the missing Conditionals-1-axes.h path is requested, and verify that the extension no longer crashes when this file is absent.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, javascript, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100