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

Entries marked with "Unknown Editor" and wrong OS on WakaTime #4

Open
mai-soup opened this issue Sep 22, 2022 · 4 comments
Open

Entries marked with "Unknown Editor" and wrong OS on WakaTime #4

mai-soup opened this issue Sep 22, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@mai-soup
Copy link

image

See screenshot. At first I chalked up 1m in Linux to be something I must've opened on accident earlier there, but it is increasing along with the "Unknown Editor" entry and Unity language entry, and I'm only running Unity on Windows, so it should be tagged as the OS I'm using.

@vanBassum
Copy link
Owner

Not sure if the useragent is what its supposed to be, although is seems to be fixing this problem

@Rabadash8820
Copy link
Contributor

@vanBassum I don't believe this Issue was actually resolved. As of the current commit, the WakaTime dashboard is still showing "Unknown Editor". I suspect that it's because the code that sets the Plugin CLI parameter has been commented out.

@vanBassum vanBassum reopened this Apr 25, 2023
@vanBassum
Copy link
Owner

vanBassum commented Apr 25, 2023

Yes, I think you are right, I'll see what happens when I uncomment that line. It seems I have to make some time in my schedule to improve the plugin. I'll see what I can do.

@vanBassum vanBassum added the bug Something isn't working label Apr 25, 2023
@vanBassum
Copy link
Owner

vanBassum commented May 8, 2023

I tested this with the plugin info filled in, the wakatime client is executed like stated below. Although the heartbeat doesn't seem to contain any plugin information:
[Wakatime.ProcessHeartbeats] ["Assets\Wakatime.Unity\Editor\Utils\wakatime.exe", "--key", "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXX9e56", "--entity", "C:/Workspace/Coinage/Assets/CoinDozer/Scenes/Main.unity", "--time", "1.683566E+09", "--plugin", "Unity/2021.3.14f1 com.vanbassum.wakatime/0.2.0", "--category", "coding", "--entity-type", "file", "--project", "Coinage"

image

It did attach the info into the 'current' endpoint
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants