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

Dendron extension can't be installed #3268

Closed
gour opened this issue Mar 14, 2021 · 3 comments
Closed

Dendron extension can't be installed #3268

gour opened this issue Mar 14, 2021 · 3 comments
Labels
A-extension Area: Extension/plugin integration, vscode or VimL bug Something isn't working

Comments

@gour
Copy link

gour commented Mar 14, 2021

Hello,

I'd like to use Dendron note-taking extension, but there is problem installing it...

Here is what I get:

oni2 --debug  --install-extension dendron.dendron-0.32.0.vsix
/tmp/.mount_OnivimuEoqHi/usr/bin/Oni2_editor: /tmp/.mount_OnivimuEoqHi/usr/lib/libselinux.so.1: no version information available (required by /lib/x86_64-linux-gnu/libgio-2.0.so.0)
Failed to install extension: dendron.dendron-0.32.0.vsix

producing no debug output besides that.

Another (popular) extension for similar usage is Foam which also can't be used - e.g. #3112, so it seems that OniVim2 is losing some potential users (e.g. researchers) who are not strictly coders. I'm aware of #1551 and agree that those that want to use VSCode are already using it, but, due to ideological reasons, I do not want to do it, vim does not have adequate plugins for note-taking suitable for research work...So, that gives me no other option than to switch to Emacs/org-roam.

@bryphe
Copy link
Member

bryphe commented Mar 16, 2021

Hi @gour ,

Thanks for logging the issue. I'm wondering - where did you get the VSIX?

It's also published on open-vsx, so would be curious to know if installing it that way works:

oni2 --install-extension dendron.dendron

Once installed, though, there are a few blockers currently (similar to the blockers for Foam tracked in #3112 )

I'm seeing a few other blockers that I'm looking at:

  • An activation error:
    image
  • Potentially issues with Quickmenu/Quickinput (Dendron relies on this to start a workspace, or create a new note)

@bryphe bryphe added A-extension Area: Extension/plugin integration, vscode or VimL bug Something isn't working labels Mar 16, 2021
bryphe added a commit that referenced this issue Mar 17, 2021
…on (#3289)

__Issue:__ The dendron extension is failing with an activation error:

![image](https://user-images.githubusercontent.com/13532591/111376942-56b95880-865d-11eb-9369-2e21a6378990.png)

__Defect:__ The path being supplied to the extension client via InitData is not a valid folder

__Fix:__ Fix up the `logsLocation` and `logFile` initialization logic. Add a test case covering the guarantee in the VSCode API docs - that the parent directory must exist and be a valid directory.

Related #3268
@gour
Copy link
Author

gour commented Mar 20, 2021

My mistake - after thoroughly cleaning old install, the error went away :-) - but now I have a new one (#3311) with another related extension.

@bryphe
Copy link
Member

bryphe commented Jun 1, 2021

Thanks for the update @gour ! I'll close this one but use #3311 to track the remaining issue (and #3126 / #3128 to track some of the not-yet-implemented functionality).

@bryphe bryphe closed this as completed Jun 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-extension Area: Extension/plugin integration, vscode or VimL bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants