RoamPageSearch icon indicating copy to clipboard operation
RoamPageSearch copied to clipboard

Workflow doesn't do anything (MacOS, Brave Browser)

Open wohfab opened this issue 4 years ago • 2 comments

I downloaded from packal.org and read the instructions to set up the workflow. I added my DBName and changed the preferredBrowser to Brave. I see the workflow entry points in Alfred but pressing enter on them doesn't do anything.

  • macOS Catalina 10.15.7
  • Alfred 4.1.1
  • Brave Version 1.15.72 Chromium: 86.0.4240.75 (Official Build) (x86_64)
  • Roam Page Search v5.2

wohfab avatar Oct 09 '20 12:10 wohfab

Thanks for raising, I'll try and get it working for you. Can you do a couple of things for me please:

  1. Can you confirm you have enabled Brave applescript integration (View>Developer>Allow Javascript from Apple Events)?
  2. Can you go into alfred, choose the Roam Page Search Workflow, click on the "debug" icon (looks like a spider) in top right, try and invoke the workflow, then send me the debug log from the bottom pane in Alfred?
    image

jacrify avatar Oct 09 '20 21:10 jacrify

Apple Events Javascript is enabled. The debugging (for invoking "go to daily page") shows the following:

[15:27:29.711] Roam Page Search[Script Filter] Queuing argument '(null)'
[15:27:29.902] Roam Page Search[Script Filter] Script with argv '(null)' finished
[15:27:29.905] ERROR: Roam Page Search[Script Filter] Code 1: RoamAPI.scpt: execution error: Can’t make "0.6" into type number. (-1700)
[15:27:39.248] Roam Page Search[Keyword] Processing complete
[15:27:39.250] Roam Page Search[Keyword] Passing output '' to Arg and Vars
[15:27:39.251] Roam Page Search[Arg and Vars] Processing complete
[15:27:39.251] Roam Page Search[Arg and Vars] Passing output '' to Run Script
[15:27:39.384] ERROR: Roam Page Search[Run Script] RoamAPI.scpt: execution error: Can’t make "0.6" into type number. (-1700)

wohfab avatar Jan 29 '21 14:01 wohfab