gnome-pomodoro/gnome-pomodoro-tracking

Can't add toggl token

sojusnik opened this issue · 5 comments

Hey!

The new toggl plugin seems not to be working. When adding a token, then the following appears:

~$ gp-tracking --toggl-token 34jf827162hdasf...

usage: gp-tracking [-h] --clockify-token CLOCKIFY_TOKEN
gp-tracking: error: the following arguments are required: --clockify-token

or

~$ gp-tracking --plugin toggl

usage: gp-tracking [-h] --clockify-token CLOCKIFY_TOKEN
gp-tracking: error: the following arguments are required: --clockify-token

Try:

  1. gp-tracking --clockify-token token-x-only-for-skip-process
  2. gp-tracking --plugin toggl
  3. gp-tracking --toggl-token 34jf827162hdasf...

Seems not to help:

~$ gp-tracking --clockify-token token-x-only-for-skip-process
{"message":"Full authentication is required to access this resource","code":1000}

BTW, I don't have a clockify account, only toggl.

I added new patch, try:

Uninstall 
sh -c "$(curl -fsSL https://raw.githubusercontent.com/josehbez/gp-tracking/master/uninstall.sh)"

Install
sh -c "$(curl -fsSL https://raw.githubusercontent.com/josehbez/gp-tracking/master/install.sh)"

# toggl token 
gp-tracking --toggl-token TOKEN 

Thanks, works now!

BTW, Pomodoros under 2 minutes aren't captured by Toggl. Is this a limitation of Toggl or your plugin? At the beginning I thought that your plugin isn't working, because for testing purposes my Pomodoros were shorter than 2 minutes. Would love to see, that Pomodoros under 2 minutes were captured too.

Did you think about getting in touch with the maintainer of gnome-pomodoro, to advertise your plugin there? I think that a lot of people will find it quite useful, if it would be mentioned in the readme. Additionally, I've already linked it here.

Also, it should help to add "toggl" to the tag cloud of your project's GitHub page, see:
grafik

Thanks your feedback.

  • I'll contact with manteiner gnome-poomodo,
  • gp-tracking, only track above 2 minutes, I'm work the new settings param for configure mnimal traceability