dendron: `Dendron: Migrate to self contained vault` does not migrate the vault correctly
Please select the area your bug applies to. (Multiple selections are Possible. You can leave blank if you’re not sure.)
- 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
Whenever I add a remote, self-contained vault to my workspace I get an error such as the one below + the vault is not recognized by dentron (Lookup won’t work + not displayed in dendron’s tab).
{"fsPath":"cim-shared-vault","remote":{"type":"git","url":"git@<actual_git_repo>.git"},"name":"CIM Shared vault","selfContained":true}
The graph panel would show this:
{"name":"DendronError","status":"unknown","payload":"No Engine: <path>/Dendron/cim-dendron"}
To Reproduce
Steps to reproduce the behavior:
- Add a remote vault from existing dendron workspace
- Convert the vault to self-contained
Expected behavior
I would expect dendron to work with that vault, like it does with the other not-self contained.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information)
- OS: macOS 12.5
- Browser (if with published websites; include version): [e.g. chrome, safari]
- Versions (all that apply to bug):
- Dendron Extension: v0.109.1
- VS Code version: 1.70.2
- Dendron CLI:
Additional context
Add any other context about the problem here.
Dendron Log file
Please attach the output of > Dendron:Dev: Open Logs here
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 17 (7 by maintainers)
I can confirm that this works as expected in Dendron v.0.112.0. Thank you so much!
Hey @ccamara this PR is merged and will release in the upcoming release i.e. V0.112
No, I’m afraid the problem persists 😦
I can confirm that if I migrate an existing vault into a self-contained vault, dendron breaks.
Steps:
Multiple errors: On Dendron’s tab:
Ok, tested:
dendron.yml, added<workspace>/dependencies/localhost/<my-new-vault>I assume that was all and everything is working as expected?
got it. This should be the error with
Dendron: Migrate to self contained vaultcommand. Let me update the bug title.Sure!
I tested something simpler:
Dendron: Vault Add\LocalDendron: Migrate to self contained vaultMultiple errors: On Dendron’s tab:
{"name":"DendronError","status":"unknown","payload":"No Engine: /Users/carloscamara/Documents/Dendron/cim-dendron"}