wakatime / eclipse-wakatime

Eclipse plugin for automatic time tracking and metrics generated from your programming activity.
https://wakatime.com/eclipse
BSD 3-Clause "New" or "Revised" License
174 stars 16 forks source link

Server returned lastModified <= 0 for https://raw.githubusercontent.com/wakatime/eclipse-wakatime/master/update-site/artifacts.jar #22

Closed mogarick closed 5 years ago

mogarick commented 6 years ago

I'm getting the mentioned error while trying to install the plugin with Eclipse Oxygen (Version: Oxygen.1a Release (4.7.1a)). I'm using OSX El Capitan (10.11.6) and I have Xcode installed (version 8.2.1). I tried installing both via Marketplace and via Install New Software.

alanhamlett commented 6 years ago

Does the plugin finish installing even with this error message?

You can check if the plugin is installed by looking for a File -> WakaTime menu inside Eclipse.

mogarick commented 6 years ago

No. The option doesn’t appear. While trying to install it appears Eclipse tries hard to get the install files but after a while it shows the components that it will install and the weird thing is it says it’s 0 bytes. After that I continue and then Eclipse says it needs to restart for The changes to apply. After that there’s no option for wakatine in the File menu. I then went to the log view an saw the error mentioned.

alanhamlett commented 6 years ago

It's normal to see a warning-level message about lastModified <= 0 for both content.jar and artifacts.jar, but the installation still finishes for me. I tested on OS X High Sierra (10.13.1) with Eclipse Oxygen (4.7.1a).

Can you try installing again and see if there are other error messages?

mogarick commented 6 years ago

It worked only in a fresh Eclipse install. So it may be conflicting with some other plugin I have installed. I'll try to remove one by one I get back here to report. Thank you for the attention :)

mogarick commented 6 years ago

Hi, I couldn't find out why it was not working in my original install. I uninstalled the other plugins without success. I installed Wakatime as first plugin in the new Eclipse install and worked. Then I added the other plugins and Wakatime continued working. That's weird. Any way I'm not so surprised being Eclipse :P

alanhamlett commented 5 years ago

Thanks for the update, I'll close this for now since it's working.