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

Custom plugins aren't working for me #220

Closed
brandonweiss opened this issue Dec 22, 2014 · 2 comments
Closed

Custom plugins aren't working for me #220

brandonweiss opened this issue Dec 22, 2014 · 2 comments

Comments

@brandonweiss
Copy link
Contributor

I originally posted about this in #38 as a follow-up, but I wanted to break this out into a separate issue. I'm going to quote what I wrote there:

The first thing I did was follow the instructions for creating a plugin so I could create some simple custom searches, but I couldn't get it to work. The plugin shows up in the installed list and there aren't any errors in Console, but it doesn't change the Spotlight search results.

The only Python I have installed is from the system (/usr/bin/python) and is version 2.7.6. Let me know if there's any more information I can give that will help.

One other thing I noticed is that while the installed plugins have (or generate) a plugin.pyc file, the custom plugins I wrote don't. I don't know much about Python, but this would seem to indicate the plugin.py isn't being loaded or run.

@nate-parrott
Copy link
Owner

hmm.. that seems to me like an issue with your examples.txt not being matched — that's the step that comes before invoking plugin.py
can you paste your examples.txt?

@brandonweiss
Copy link
Contributor Author

Damn, that was it. I think the initial version of the plugin tutorial didn't expressly state an examples.txt file was necessary, so I guess I hadn't added it yet. Thanks!

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