Decker87 / gdrive-alfred

Alfred workflow for finding files in your google drive
7 stars 3 forks source link

Things to do to get the workflow working #4

Open shageman opened 1 year ago

shageman commented 1 year ago

I hadn't used this in a while because I lost my Alfred license. Found it and had some trouble getting this running.

We're back in business.

Thanks, Decker87!

shageman commented 1 year ago

On a second computer I had a novel problem. All of this still didn't make it work. In the end I changed the code for the search command to the following:

nohup python3 continuously_update_local_cache.py &
nohup python3 continuously_get_latest_workflow.py &
python3 main.py --action=search --query "{query}"

From this I could see in the Alfred console (the little bug in the top right gets you to it) that the installation of google-api-core wasn't being picked up by Alfred. So, I made another change:

pip3 install --upgrade google-api-core
nohup python3 continuously_update_local_cache.py &
nohup python3 continuously_get_latest_workflow.py &
python3 main.py --action=search --query "{query}"

This made it work. Once I had the dependencies installed, I removed the first line.