thekoc / devonthink-search-launchbar

A Launchbar action that lets you search through devonthink effectively
MIT License
24 stars 0 forks source link

Error in action.py ? #1

Closed CharlesButcher closed 3 years ago

CharlesButcher commented 4 years ago

This looks really useful, but LaunchBar gives the error" "Script is invalid".

When I run action.py from BBEdit I get the log below. Is that of any help?

Traceback (most recent call last): File "/Users/charles/Library/Application Support/LaunchBar/Actions/Search DEVONthink 3.lbaction/Contents/Scripts/action.py", line 56, in main() File "/Users/charles/Library/Application Support/LaunchBar/Actions/Search DEVONthink 3.lbaction/Contents/Scripts/action.py", line 24, in main argument = json.loads(sys.argv[1]) IndexError: list index out of range

macOS 10.14.6 and I don't know the first thing about Python. which python3 gives /Users/charles/.pyenv/shims/python3.

CharlesButcher commented 3 years ago

Everything is working fine for me with a clean install of Big Sur (Python 2.7.16) and DT 3.5.2.