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

Plugin not working? #5

Open
ChestRockwel opened this issue Apr 19, 2022 · 5 comments
Open

Plugin not working? #5

ChestRockwel opened this issue Apr 19, 2022 · 5 comments

Comments

@ChestRockwel
Copy link

I just got this installed in Obsidian, but when I use the hotkey - ctrl` - it doesn't do anything. reSnap works on its own, and the directory pointer seems right - /home/prc/reSnap/reSnap.sh

Is there something I'm missing here?

@cobalamin
Copy link
Owner

Does it work through the command palette? Maybe there's an issue with the shortcut. If it also doesn't work, let me know.

@ChestRockwel
Copy link
Author

Issue fixed - I think that for some reason I had the old release - loaded up the new one and it seems to be working now.

@ChestRockwel
Copy link
Author

ChestRockwel commented Apr 20, 2022

Resolved this issue - I had created the reSnap folder as root - changing permissions fixed it - left this here for anyone else who has this problem though

So, I thought things were working, but it seems I was wrong. Whenever I try to run the plugin, I get "Could not insert your rM drawing! Is your tablet connected and reachable at the configured address?

reSnap works just fine - I should note that I'm using WSL to run this, but everything else in the chain of stuff - reSnap/passwordlessSSH - seems fine.

Obsidian debug giving this:

node:internal/errors:464 Uncaught (in promise) Error: spawn /home/prc/reSnap/reSnap.sh EACCES
at __node_internal_captureLargerStackTrace (node:internal/errors:464:5)
at __node_internal_errnoException (node:internal/errors:594:12)
at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19)
at onErrorNT (node:internal/child_process:477:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21)

New Issue

Basically when I run the script - and it's working!!! - the image doesn't actually appear in Obsidian until I reload the app? Is there any way to fix this? The .png appears in my "Remarkable Snaps" folder in my Vault immediately after running the script, but for some reason the image doesn't point to the correct .png which should be there.

Beneath the link I get a "rM drawing blah blah blah.png is not created yet. Click to create." prompt that just creates a blank page in the root of my vault, but I can see - in my file manager - the png is there. Any suggestions as to what's going on?

I am so close to getting this awesome plugin to work.

@cobalamin
Copy link
Owner

Sorry for the late response. Has anything changed about your newer issue by now? Do you have the current version of Obsidian running? It doesn't sound like a problem I've ever encountered before.

@cobalamin
Copy link
Owner

@Folcon I just saw this small code change you made in your fork, may this fix you made have anything to do with @ChestRockwel's new issue? 2c96ce1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants