raycast / extensions

Everything you need to extend Raycast.
https://developers.raycast.com
MIT License
5.4k stars 3.09k forks source link

[Extension Bug] Things 3 - every command results in error (-1743) #471

Closed bbrandtom closed 2 years ago

bbrandtom commented 2 years ago

Extension – Things 3

Author: @loris

Description

Every command I've tried results in an error (-1743). The extension says I need to properly install and make sure I run things, but the app is running. I've uninstalled and installed the latest version of the extension and problem persist.

Steps To Reproduce

  1. Open Raycast
  2. Write "Add New To-Do"
  3. Press Return image

Raycast version

Version: 1.26.1 Things version: 3.15.8

loris commented 2 years ago

Hi @bbrandtom That's weird, probably some permission issues Can you launch "Script Editor" (it comes with your macos install), choose "JavaScript" in the upper left dropdown and run the following script: Application('Things').tags() It should show an array of results:

image

any error showing up?

bbrandtom commented 2 years ago

Thanks for the quick answer! Yes you are right -

image

Any idea what can I do?

Originally Things.app was located under Downloads. I've cmd+drag it to Applications lately (when I installed Raycast)

loris commented 2 years ago

@bbrandtom Can you try the following script Application('Things3').tags()? (replaced Things with Things3, it should work both way, but let's try)

bbrandtom commented 2 years ago

Now it works :-)

image
bbrandtom commented 2 years ago

Now the Raycast Things' extension also work for me 🤔

I'm not sure what happened.

loris commented 2 years ago

Oh this is very strange. Glad it works but no idea either. Maybe your app was not properly registered because it was in the Downloads Folder?

bbrandtom commented 2 years ago

I don’t think that’s the case. Anyway, thanks for the help and for the extension!