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

Invalid argument #73

Closed
ak1976 opened this issue Dec 7, 2018 · 7 comments
Closed

Invalid argument #73

ak1976 opened this issue Dec 7, 2018 · 7 comments

Comments

@ak1976
Copy link

ak1976 commented Dec 7, 2018

It seens some problem after update to 1.2.4

/D:/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:294 [Extension Host] [WakaTime] [ERROR] Error: Command failed: pythonw "D:\Microsoft VS Code\data\extensions\wakatime.vscode-wakatime-1.2.4\out\wakatime-master\wakatime\cli.py" --file "e:\My Documents\Visual Studio 2017\Projects\YangMingDevFramework-branch-portal-v2\YM.ILIS.Portal\angular\src\app\_header\header\header.component.ts" --plugin "vscode/1.29.1 vscode-wakatime/1.2.4" --alternate-project YM.ILIS.Portal --config C:\Users\tonysu\.wakatime.cfg --logfile C:\Users\tonysu\.wakatime.log
pythonw: can't open file '"D:\Microsoft VS Code\data\extensions\wakatime.vscode-wakatime-1.2.4\out\wakatime-master\wakatime\cli.py"': [Errno 22] Invalid argument
@alanhamlett
Copy link
Member

This looks like wakatime-cli wasn't able to download successfully. Does a file exist at:
D:\Microsoft VS Code\data\extensions\wakatime.vscode-wakatime-1.2.4\out\wakatime-master\wakatime\cli.py

Can you try restarting VS Code in debug mode and watch your Dev Console window to see if it downloads wakatime-cli correctly? If it doesn't work after restarting VS Code, also try re-installing the plugin.

@DJN1
Copy link

DJN1 commented Dec 11, 2018

I am having the same issue. It successfully downloads and extracts wakatime-core, but then it throws the same error as above.
wakatime_issue

What can I do to fix this?

@LukeLin
Copy link

LukeLin commented Dec 12, 2018

Same problem.My fix is proxy config

@DJN1
Copy link

DJN1 commented Dec 12, 2018

@LukeLin What do you mean by proxy config?

@soubrunorocha
Copy link

Hey everyone, it's not a fix but solved for me changing my extensions folder to root, like "C:\vscode\extensions"

It can be done by setting the extension folder path on shortcut properties

image

@ak1976
Copy link
Author

ak1976 commented Dec 13, 2018

Just for your information...

I just updated VS Code todat to 1.30, and used it's new function "Install Another Version" in the Extention section, revert WakaTime back to 1.2.3 and everything is working fine now.

@alanhamlett
Copy link
Member

This should be fixed with 0efd068 and released today in v1.2.5.

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

5 participants