johandebeurs/alfred-mstodo-workflow

Unable to set up

Closed this issue · 10 comments

Acknowledged. This is due to the port being used by an internal service in the newer versions of macOS. I'll update (along with a bunch of other issues) if I can find some time to do so

Temporary workaround: port 5000 is being used by AirPlay. You can disable it temporarily by:

  • Go to "System Preferences" > Sharing > uncheck "AirPlay Receiver"
  • Wait a few seconds for the port to close.
  • Restart Alfred
  • Login with this workflow
  • re-check "Airplay Receiver"

I mean just follow the instructions for this Alfred Microsoft ToDo workflow. In other words, follow the same steps that caused the error you reported in the first place. It should work this time.

hm, not sure why it doesn't work. More detailed steps below:

  • Run the following in Terminal to inspect what's using port 5000:
    lsof -Pn -i4 | grep 5000

  • Assuming it's AirPlay, you'll see something that looks like this:

ControlCe 631 my.username 19u IPv4 0x764d37a7dfae2071 0t0 TCP *:5000 (LISTEN)

  • Disable AirPlay as described in my previous step. Run the Terminal command again, and nothing should show up.

  • Make sure to fully quit Alfred. Go to Alfred's Preferences > General > "Quit Alfred"

  • Start Alfred

  • Login with the workflow

Refactoring to Py3 is underway, planning to move to use msal which dynamically creates ports and will address these issues

This is resolved in release 0.2.0