wakatime / texstudio-wakatime

TeXstudio macro for automatic time tracking and metrics generated from your TeXstudio usage.
https://wakatime.com/texstudio
BSD 3-Clause "New" or "Revised" License
10 stars 5 forks source link

Error: Could not start the command: #1

Closed ttpro1995 closed 4 years ago

ttpro1995 commented 6 years ago

Error: Could not start the command: wakatime --entity "/home/thaithien/workplace/school/tkcs_k27_momentum_lr_decay/cite.bib" --plugin "texstudio/135176 texstudio-wakatime/1.0.0" --write --lineno 5 --cursorpos 182

alanhamlett commented 6 years ago

Probably means you need to install wakatime-cli:

sudo pip install wakatime

ttpro1995 commented 6 years ago

I did installed wakatime-cli with

    pip install wakatime

With anaconda (so no sudo)

I copy and paste the command

    "/home/thaithien/workplace/school/tkcs_k27_momentum_lr_decay/cite.bib" --plugin "texstudio/135176 texstudio-wakatime/1.0.0" --write --lineno 5 --cursorpos 182

into terminal (zsh). It run without showing any error.

However, error keep showing in tex studio

gandarez commented 5 years ago

You should allow the execution of wakatime as below, have you done that?

Screen Shot 2019-07-16 at 11 08 38
alanhamlett commented 5 years ago

However, error keep showing in tex studio

What's the error message shown?

gandarez commented 4 years ago

closing due the lack of response. Feel free to reopen it.

tianyilt commented 1 year ago

I directly change the wakatime path in macros script. Textudio-> Macros->Edit Macros Find latex context and edit first args in line 45. As for me, it is 'C:\Users\\tianyilt\\.wakatime\\wakatime-cli-windows-amd64.exe'.

Fishezzz commented 1 year ago

On Linux, I made it work by editing the TexStudio macro and changing ~/.wakatime/wakatime-cli to $HOME/.wakatime/wakatime-cli in the args array.

alanhamlett commented 1 year ago

Fixed with 634eb162ee40209675303566330e42954b9a752c.

callanwu commented 10 months ago

@tianyilt thx a lot~