wakatime / wing-wakatime

A plugin to quantify your programming inside Wing IDE.
https://wakatime.com/
4 stars 2 forks source link

Not working with wing ide pro 9 #1

Closed eino-makitalo closed 4 months ago

eino-makitalo commented 1 year ago

Directory is either

..AppData\Roaming\Wing Pro 8\scripts

or

C:\Program Files (x86)\Wing Pro 8\scripts

but even that I put script the upper one ... it fails

gandarez commented 1 year ago

Is there any log you would attach to facilitate the debugging process in our side?

shanreta commented 9 months ago

i am having the same issue with Wing Pro 9.1.2 and previous version 9.0 pro. After running the install.py it says restart Wing. Nowhere to install the api key, no wakatime references in tools or anywhere else. OS is Windows 11, python version 3.10, Wing is 9.1.2.1

shanreta commented 4 months ago

Does not appear to work with Wing 10 either. There are no mentions of Wing in the wakatime logs and it is set to debug. Notepad++ shows up fine.

shanreta commented 4 months ago

Hi, after some assistance from Wing developers, the solution is to run the install but put the wakatime.py file in the user/Appdata/Roaming/Wing x/scripts folder and restart. It should then work.

alanhamlett commented 4 months ago

Oh yes, looks like we only check for app directories up to version 9 when installing:

https://github.com/wakatime/wing-wakatime/blob/9859dd0d35eeb473ed0ce45ac22d2a2379d2ce07/install.py#L48

alanhamlett commented 4 months ago

Fixed with 69545ed186e19cf7067e3062933b0e2419fa56af