Skip to content

Can't get plug-in to work, despite reSnap working #8

Description

@alexnegron

Hi, hope to get the plug-in working, looks awesome! Trying to run this on a Mac M1. I believe I set up reSnap properly since calling ./reSnap.sh (tablet usb-connected) pulls up a capture of the tablet's screen in XQuartz.

Here's the error code from Obsidian.

plugin:obsidian-remarkable:5846 Found CM editor
plugin:obsidian-remarkable:29 Uncaught (in promise) Nonzero exitcode.
STDERR: /Users/alexnegron/reSnap.sh: line 177: : command not found
/Users/alexnegron/reSnap.sh: line 178: : command not found
/Users/alexnegron/reSnap.sh: line 188: : command not found

STDOUT: 
rejected @ plugin:obsidian-remarkable:29
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
step @ plugin:obsidian-remarkable:30
eval @ plugin:obsidian-remarkable:31
__awaiter @ plugin:obsidian-remarkable:27
tryInsertingDrawing @ plugin:obsidian-remarkable:5822
callback @ plugin:obsidian-remarkable:5728
yH @ app.js:1
e.executeCommand @ app.js:1
e.onTrigger @ app.js:1
e.handleKey @ app.js:1
e.handleKey @ app.js:1
t.handleKey @ app.js:1
e.onKeyEvent @ app.js:1

Given the errors in lines 177, 178, and 188 I'm led to believe it has something to do with lz4, feh, and ffmpeg? Calling which for each of these gives:
/opt/homebrew/bin/lz4
/opt/homebrew/bin/feg
/opt/homebrew/bin/ffmpeg

Not sure if its a path issue with these guys, or something else entirely.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions