Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SublimeText plugin wakatime-cli update error #107

Closed
mcwnuq opened this issue Dec 30, 2021 · 2 comments
Closed

SublimeText plugin wakatime-cli update error #107

mcwnuq opened this issue Dec 30, 2021 · 2 comments

Comments

@mcwnuq
Copy link

mcwnuq commented Dec 30, 2021

Hi,
Recently, I noticed that SublimeText is not reporting data to WakaTime.
I turned on debugging and found such an error (every time I run ST).

[WakaTime] [INFO] Initializing WakaTime plugin v11.0.2
[WakaTime] [INFO] Current wakatime-cli version is v1.30.5
[WakaTime] [INFO] Checking for updates to wakatime-cli...
[WakaTime] [DEBUG] GitHub API Response 304
[WakaTime] [INFO] Found an updated wakatime-cli v1
[WakaTime] [INFO] Downloading wakatime-cli...
[WakaTime] [DEBUG] Downloading wakatime-cli from https://github.com/wakatime/wakatime-cli/releases/download/v1
[WakaTime] [DEBUG] Traceback (most recent call last):
  File "C:\Users\mcwnuq\AppData\Roaming\Sublime Text 3\Packages\WakaTime\WakaTime.py", line 639, in run
    download(url, zip_file)
  File "C:\Users\mcwnuq\AppData\Roaming\Sublime Text 3\Packages\WakaTime\WakaTime.py", line 892, in download
    urlretrieve(url, filePath)
  File "./python3.3/urllib/request.py", line 181, in urlretrieve
  File "./python3.3/urllib/request.py", line 156, in urlopen
  File "./python3.3/urllib/request.py", line 475, in open
  File "./python3.3/urllib/request.py", line 587, in http_response
  File "./python3.3/urllib/request.py", line 513, in error
  File "./python3.3/urllib/request.py", line 447, in _call_chain
  File "./python3.3/urllib/request.py", line 595, in http_error_default
urllib.error.HTTPError: HTTP Error 400: Bad Request
@alanhamlett
Copy link
Member

Try deleting the file at C:\Users\mcwnuq\.wakatime-internal.cfg and then restart Sublime Text.

@mcwnuq
Copy link
Author

mcwnuq commented Dec 31, 2021

Thanks for the advice. I did as you said and now it works. Thank you very much for help. :)
PS: Happy New Year!

@mcwnuq mcwnuq closed this as completed Dec 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants