alfred-chrome-history icon indicating copy to clipboard operation
alfred-chrome-history copied to clipboard

After updating chrome and alfred, the workflow no longer works.

Open mining-id opened this issue 2 years ago • 5 comments

After updating chrome and alfred, the workflow no longer works.

image image

The other one is normal:

https://github.com/al3rez/ch

mining-id avatar Mar 27 '22 09:03 mining-id

Hmm. I'm using https://github.com/pasela/alfred-chrome-history (written in Go) which is still working. Might want to look.

luckman212 avatar Mar 27 '22 15:03 luckman212

This workflow is not working on Alfred version 4.6.4 [ 1294 ] running on macOS Monterey 12.3.1

Chrome: Version 100.0.4896.127 (Official Build) (x86_64)

ujeshkrishnan avatar Apr 22 '22 11:04 ujeshkrishnan

@ujeshkrishnan Python2 has been removed as of macOS 12.3. See here for more info.

Vitor created a page with some patched versions of various workflows, Google Chrome History is listed there. I haven't tried that version as I already switched to the Go rewrite (https://github.com/pasela/alfred-chrome-history)

If you're getting errors running it about "unverified developer" etc, then go into the workflow's directory...

image

and then right click on alfred-chrome-history and choose Open:

image

luckman212 avatar Apr 22 '22 11:04 luckman212

Python2 has been removed as of macOS 12.3. See here for more info.

I decided to install python and tweak the workflow's script filter:

  • Install Homebrew
  • brew install pyenv
  • pyenv install 2.7.18
  • pyenv global 2.7.18
  • Put eval "$(pyenv init --path)" in ~/.zshrc (or ~/.bashrc if you prefer Bash)
  • Open the workflow's ch script filter and replace PATH the following, which I found via which python:
PATH="/Users/mycomputername/.pyenv/shims:$PATH"

imjohnbo avatar Aug 03 '22 13:08 imjohnbo

oh hi @imjohnbo! Thanks for the handy tip :)

abhinavvadrevu avatar Feb 01 '23 02:02 abhinavvadrevu