wakatime / sublime-wakatime

Sublime Text 2 & 3 plugin for automatic time tracking and metrics generated from your programming activity.
https://wakatime.com/sublime-text
BSD 3-Clause "New" or "Revised" License
526 stars 45 forks source link

Opening python promts #1

Closed spidfire closed 10 years ago

spidfire commented 11 years ago

I'm using sublime text2 on windows and after installing wakatime it opens python promts everytime i do something like opening the console or the command pallete

FichteFoll commented 11 years ago

Same here. Also appears when saving a file. And contantly appears when switching or opening to an unnamed file (or a widget like the command palette).

Even though it only appears for a split second I could read an ImortError: unable to find urllib2. This is because I have Python 3.3 installed (and set as default) and this plugin uses my local python installation without stating that in the readme.

This tells 3 things:

  1. My Python version is not compatible. This should at least be stated in the readme and possibly be configurable by setting the python binary manually.
  2. Untitled views are not handled. I constantly get prompts with them.
  3. On Windows, prompts are not supressed. I am basically unable to open the command palette or goto anything because a prompt spawned by the untitled input view would take focus and automatically close the popup. I even managed to crash ST.

WIndows7x64, ST2 2220 btw.

alanhamlett commented 11 years ago

Fixed this bug with https://github.com/wakatime/sublime-wakatime/commit/64f95e28f06ebd234fc8d2889be74d2ace694b0a.

If you're using Sublime Package Control, restarting Sublime should upgrade WakaTime and fix the problem.

sonicparke commented 11 years ago

This appears to either still be happening or happening again. I'm on Win7 64bit with Sublime Text 2 Build 2221 and I just installed Wakatime for the very first time 2 days ago.

alanhamlett commented 11 years ago

Ok, I'll take a second pass at this.

marciobda commented 10 years ago

I´m having the same problem here. Windows 8, Sublime 3 (build 3047) and Python 2.7.5 installed.

FichteFoll commented 10 years ago

Same here, still. While the plugin is technically usable it's incredibly annoying to have the prompts open from time to time.

Maybe I will take a look at this myself soon because I really like what you are doing with the website.

mtfd commented 10 years ago

There's a work around in #12 that I posted (didn't notice this issue before).

alanhamlett commented 10 years ago

Fixed with e812e9fe15ea6966683ed7490c0ecf701cc0994e.

Just released a new plugin version 1.4.4 that doesn't run git command line, so no more popup window.