Comments (35)
Sorry, this was me. 😭 I broke the api key parsing last night, but it's fixed now. The plugin saves your stats and syncs them up the next time the plugin runs (the next time you're typing) so nothing is lost, but still sorry about the frustration it may have caused.
from vscode-wakatime.
cc Main Issue is: #143.
from vscode-wakatime.
process.env['USERPROFILE']
what i need to do if 'process.env['USERPROFILE']' returns 'undefined'?
from vscode-wakatime.
We now force Python to use the same home folder as Vscode in v1.1.8, to better fix this issue.
from vscode-wakatime.
I'm having the same issue with Xcode, VSCode and Vim all on OSX. They were all working great yesterday. Status hasn't seen anything since 9:00pm yesterday.
But at least I'm not the only one.
from vscode-wakatime.
Can you manually check to make sure the api_key
setting in ~/.wakatime.cfg
matches your key at https://wakatime.com/settings?
from vscode-wakatime.
No it didn't. I was able to work that out. Thanks a lot. Probably a problem with my $HOME path and my terminal.
from vscode-wakatime.
Same too. It appeared that the api_key
disappeared from my ~/.wakatime.cfg
and I don't know how this happened, but putting it back didn't solve the problem.
Edit: I'm running SublimeText3. Changed my API key, no effect. In debug mode, wakatime says
{"now": "2020/07/27 13:13:27 +0000", "version": "13.0.7", "plugin": "sublime/3211 sublime-wakatime/9.1.2", "time": 1595848375.887897, "caller": "/home/alienor/.config/sublime-text-3/Packages/WakaTime/packages/wakatime/api.py", "lineno": 330, "file": "/home/alienor/.wakatime.log", "level": "WARNING", "message": "{'response_code': 401, 'response_content': u'{\"error\":\"Unauthorized\"}\\n'}"}
from vscode-wakatime.
I have this problem via vim. I'll disable the plugin until this gets fixed. I haven't updated anything recently, but tried an update once this problem started this morning. Updates didn't resolve it.
from vscode-wakatime.
I think its a general fault cuz i am experiencing the same issue with VSCode.
from vscode-wakatime.
Issue fixed for me. Thanks for fixing it quickly !!!
from vscode-wakatime.
Yes. I did check both of them. They are the same.
from vscode-wakatime.
With debug mode on, what is the response code and error message printed in your ~/.wakatime.log
file?
I'm not seeing any connection from your IP to our API Servers. A proxy is probably returning a 401
response which is the response code WakaTime uses when the api key is wrong. However, in this case it's probably the proxy needing authentication to connect to the internet.
from vscode-wakatime.
I couldn't find the log file in $HOME.
from vscode-wakatime.
From Help -> Toggle Developer Tools, what is printed when your run this in Console:
process.env['USERPROFILE']
Does that match the location of your ~/.wakatime.cfg
file?
from vscode-wakatime.
I now have this problem and I can't find any solution online that works. How was this solved @theophilenz ??
from vscode-wakatime.
I am facing the same issue, It was working before and suddenly broke when I started working today @alanhamlett
from vscode-wakatime.
same here, it has been working just fine until today(untouched)
from vscode-wakatime.
same. I updated api key, but it had no effect
"version": "13.0.7", "plugin": "vscode/1.47.2 vscode-wakatime/4.0.0"
from vscode-wakatime.
I'm currently experiencing this and this is the error it's showing:
[WakaTime][ERROR] Error: Command failed: /Users/adekoyejoakinhanmi/.vscode/extensions/wakatime.vscode-wakatime-4.0.0/wakatime-cli/wakatime-cli
--file /Users/adekoyejoakinhanmi/Documents/dev/Verifi/people-ui/components/Nav/index.js --plugin "vscode/1.47.2 vscode-wakatime/4.0.0"
--alternate-project people-ui --write
from vscode-wakatime.
Yup, this has happened to me as well.
from vscode-wakatime.
yes it's not working for me too i tried generate new api key /reinstall the extension nothing worked. is this a problem with newer vs code version?
from vscode-wakatime.
+1
from vscode-wakatime.
+1 same here. I'm getting [WakaTime] Error 104: Invalid API Key
from vscode-wakatime.
+1
from vscode-wakatime.
The same here.
It happened for about 6 hours ago, with[WakaTime][ERROR] Invalid Api Key (104);
And I've got Error: Command failed: c:\Users\Ant\.vscode\extensions\wakatime.vscode-wakatime-4.0.0\wakatime-cli\wakatime-cli.exe --file c:\Users\Ant\Desktop\VSCode\Markdown\MarkDownWork\blog.md --plugin "vscode/1.47.2 vscode-wakatime/4.0.0" --alternate-project MarkDownWork --config C:\Users\Ant\.wakatime.cfg --log-file C:\Users\Ant\.wakatime.log
from vscode-wakatime.
Me too, on Vim. Looks like a bug invalidated all our keys. But no worries @alanhamlett , it happens 😉
from vscode-wakatime.
Me too, on vs code. @alanhamlett incorrect api key.
from vscode-wakatime.
+1
from vscode-wakatime.
+1
from vscode-wakatime.
I have the same problem with the api key
from vscode-wakatime.
+1
My Wakatime was working before and now it's broken.
I get the WakaTime Error - "WakaTime: Invalid Api Key (104); make sure your Api Key is correct!"
I've double-checked my API key and it's perfectly fine.
from vscode-wakatime.
I am facing the similar problem. I regenerated new key and tried with that but still same problem. It was working fine until yesterday.
from vscode-wakatime.
I have the same problem with the api key
from vscode-wakatime.
Sorry, this was me. 😭 I broke the api key parsing last night, but it's fixed now. The plugin saves your stats and syncs them up the next time the plugin runs (the next time you're typing) so nothing is lost, but still sorry about the frustration it may have caused.
I can confirm it is resolved. Thank you
from vscode-wakatime.
Related Issues (20)
- VSCode doesn't "see" an `api_key` when using `import_cfg` and still always prompts for _WakaTime API key_
- Wakatime plugin always pops up the window requiring me to fill in my API key HOT 2
- LiteIDE Plugin HOT 1
- WakaTime doesn't work on WSL while using the extension locally on Windows HOT 3
- [Extension Host] [WakaTime][WARN] Failed to download https://github.com/wakatime/wakatime-cli/releases/latest/download/wakatime-cli-windows-amd64.zip
- Wakatime not working: Failed to download wakatime-cli HOT 4
- Open social media and other links on profile page in a new tab HOT 1
- Wakatime Error .wakatime.log HOT 1
- Failed fetching today from api HOT 4
- Live Shared Fix Counter
- WakaTime Initializing forever in Remote-WSL2 HOT 2
- WakaTime: working offline... coding activity will sync next time we are online HOT 15
- Dont ask API key everytime HOT 1
- Does not track time for Terminal HOT 2
- Don't save API key in settings.json HOT 2
- Export raw data as CSV HOT 3
- Install locally and collect stat of remote machines' activities HOT 2
- Make it so it says Cursor AI on the dashboard rather than visual studio code HOT 3
- Typing BUG (not for bug label) HOT 9
- manually download wakatime-cli HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-wakatime.