-
Notifications
You must be signed in to change notification settings - Fork 7
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
It doesn't cache contacts #10
Comments
Screenshots aren't much help. Please post the contents of the log (enter |
11:06:33 workflow.py:1778 DEBUG Loading cached data from : /Users/Robin/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/net.deanishe.alfred-mailto/system_default_app.cpickle |
See #9 |
Tried that as well (after updating alfred to 3.0.1) but it hasn't changed anything |
11:14:25 workflow.py:2527 INFO Checking for update ... |
Did you kill the existing process in Activity Monitor first? It won't try to update your contacts if an update process is already running. The current version of Alfred is 3.4.1. Please update to that. |
sorry I meant after updating to 3.4.1. |
I've just shut down everything and restart following the updates etc. unfortunately still no success. |
the log shows the following error: |
Could you open the workflow in Terminal (or iTerm) and run the update script: /usr/bin/python update_contacts.py |
humm.. I don't seem to have that file anywhere .. I've checked my python library and anaconda folder etc. |
It's in the workflow. If you're trying to run the workflow with Anaconda, you're on your own. Any Python but |
So I do have /usr/bin/python however when I go to iTerm and then enter /usr/bin/python update_contacts.py I get the error I had a look into the folder myself and cant find update_contacts.py either. All I have done to install this workflow so far is: Is there anything else I'm missing here? |
The file is in the workflow. You have to run the command from the workflow directory. |
Sorry, I'm really at a loss here at the moment. when I install a new workflow to Alfred the additional data gets usually stored in ~/Library/Application Support/Alfred 3/Workflow Data/ The only place I have found said file is when in addition to downloading the workflow file, I have also downloaded the source code from the repository. When I execute the "update_contacts.py" file from there, in the downloads folder, (with /usr/bin/python in Terminal) I get the following:
So it does seem to find the contacts etc. (but not in the actual alfred window), probably due to the location of said "update_contacts.py" file. Was I meant to copy the source code into the application support folder? The only thing that does surprise me is that it seems to save all of it in Alfred 2 folders, not 3 ... |
No. The file is part of the workflow. It's in the workflow. Open Alfred Preferences, right-click on the workflow and choose "Open in Terminal".
They're warnings, not errors.
That's because you're running a non-updated version from outside Alfred.
The file is almost certainly exactly where it should be. You're looking in the wrong place.
It's working correctly. |
No. The file is part of the workflow. It's in the workflow. Open Alfred Preferences, right-click on the workflow and choose "Open in Terminal". I obviously misunderstood your previous comment: Ok, so I've done that and get the following warning messages: CoreData: warning: dynamic accessors failed to find @Property implementation for 'uniqueId' for entity ABCDInfo while resolving selector 'uniqueId' on class 'ABCDInfo'. Did you remember to declare it @dynamic or @Synthesized in the @implementation ? Following your previous comment, this is doing what it is meant to, right? However, in my alfred window it still says the same, eg. "No contacts found" |
The script appears to be working from the command-line, but not Alfred. The obvious reason would be that you've previously denied Alfred access to your contacts. Can you search your contacts in Alfred? Is there anything relevant in |
OK, that has solved it! I don't remember ever having retracted Alfred access to my contacts, but indeed that was the problem. I was waiting for mailto to ask me to grant access when installing etc., as it didn't I assumed it had access - my bad. Thanks a lot for all the time & help - I surely have learned a thing or two how Alfred works. |
Hi,
might be an obvious one, but for some reason, it isn't caching my contacts.
I followed the installation guide (download via github), but it never asked me to access my contacts.
Maybe something obvious that could be added to the install section
The text was updated successfully, but these errors were encountered: