ENOENT error when opening repository from GitHub Repositories Extension with Dendron installed
Please select the area your bug applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)
- [X] Workspace. VSCode workspace, vaults, Intellisense/autocomplete, Dendron settings
- [ ] Lookup. Dendron's Lookup Command
- [ ] Views. Dendron Preview, Tree View, Side Panels in the UI
- [ ] Schema. Dendron Schemas
- [ ] Pod. Data import from / export to Dendron
- [ ] Publish. External Site Publish
- [ ] Markdown. Markdown features, such as syntax support and features
Describe the bug
When using the GitHub Repositories extension with Dendron also installed in VSCode to open a GitHub repository Dendron pops up an error as follows:
ENOENT: no such file or directory, scandir '/[github username]/[repo name]'
To Reproduce
Steps to reproduce the behavior:
- Make Sure GitHub Repositories Extension is installed in VSCode
- Click on Remote Button in lower left corner.
- Click on Open Remote Repository in menu
- Click Open Repository from GitHub
- Either click on or search for a repository.
- The ENOENT pop-up will appear.
Expected behavior
No popup should appear.
Screenshots
Desktop (please complete the following information)
- OS: macOS
- Browser (if with published websites; include version): N/A
- Versions (all that apply to bug):
- Dendron Extension: 0.109.1
- VS Code version: 1.70.2
- Dendron CLI: N/A
Additional context
Add any other context about the problem here.
Dendron Log file
Please attach the output of > Dendron:Dev: Open Logs here
dendron.log
Hey @wbpayne22902, Thanks for reporting the bug. I am not sure if I follow this. Is this error thrown from a dendron workspace?
No. no dendron workspace is loaded when this error occurs. It occurs when loading a Github Remote Repositories workspace. I think that when a workspace of any sort is loaded that the dendron extension does some sort of check for certain files to detect if the workspace being opened is a dendron workspace, and since the Github Remote Repositories workspace is not backed by any locally accessible files that the system throws an ENOENT error.
I expanded the error message to confirm that the error is being generated by the dendron extension.
.