Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.

Cannot start or stop new timers #56

Open
nathansnelgrove opened this issue Jun 4, 2024 · 6 comments
Open

Cannot start or stop new timers #56

nathansnelgrove opened this issue Jun 4, 2024 · 6 comments

Comments

@nathansnelgrove
Copy link

Hi! I'm unsure if this is because of the API switch in Toggl or if it's something else, but the workflow sort of stopped working for me. (Is it possible that this happened because I finally updated to Sonoma? Or maybe Homebrew uninstalled a version of PHP I need? Just trying to rule out possibilities...)

Basically, if I type "time" in Alfred, I can start anything I want, but it never shows me a list of projects, and the timer never actually starts if I "start" the timer without a project or tag...

@godbout
Copy link
Owner

godbout commented Jun 4, 2024

is there a change in Toggl's API? i haven't used this shit Workflow for a long time. just checked and Sonoma is handled. also both Intel and Apple silicon shits. so maybe an API issue yeah.

@nathansnelgrove
Copy link
Author

Is it possibly related to Homebrew installing PHP 8.3? The last update to the workflow added support for 8.2, but never went further.

@godbout
Copy link
Owner

godbout commented Jun 4, 2024

honestly i don't know and i don't care but i'll check later tonight because it's you. and because of all the beers you sent.

@nathansnelgrove
Copy link
Author

nathansnelgrove commented Jun 4, 2024 via email

@godbout
Copy link
Owner

godbout commented Jun 4, 2024

  1. Toggl has a new v9 API: https://github.com/toggl/toggl_api_docs/blob/master/toggl_api.md
  2. Alfred Time uses a package for the Toggl API: https://github.com/Morning-Train/toggl-api
  3. the package is stuck in ancient time

which means, in order to get the Workflow working again, or 1) i use another package, which means rewriting some part of the Workflow 2) build my own package/wrapper

in any case, that's too much work. i'm not using this Workflow anymore. i built it because i was using both Toggl and Harvest at the same time (Toggl for the time, Harvest for PDF invoices). i built my own invoicing system since them (i'm the only 500 Fortune company with 1 employee) and i'm starting my Toggls on my phone now.

best is to use dedicated Toggl Workflows, like this one: https://github.com/jason0x43/alfred-toggl

it's been a fun ride. but it's over. i'll archive this repo soon.

@nathansnelgrove
Copy link
Author

Thanks man. I appreciate you looking into it. Be well and congrats on your success!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants