No module named git_gutter_handler
I'm seeing this in Sublime Text 2 from today:
Traceback (most recent call last):
File "./sublime_plugin.py", line 205, in on_activated
File "./sublime_plugin.py", line 154, in run_timed_function
File "./sublime_plugin.py", line 204, in
Hello, I have the same issue.
It may be related to #169.
Last good commit: 5f332b7. First bad: e5450eb.
Thanks, @Reinmar , temporarily checked out to 5f332b7, will wait for updates on this issue :+1:
Thats bazaar. The error looks like it is coming from line 18 in view_collection.py:
from git_gutter_handler import GitGutterHandler
Which has not changed in any of the recent commits.
However, in the recent commits I did change to use relative imports but I see I missed that spot. so line 16 should be:
from .git_gutter_handler import GitGutterHandler
instead of
from GitGutter.git_gutter_handler import GitGutterHandler
But that should only effect ST3 not ST2. Just out of curiosity though, if you make that change manually does it change anything?
Hi @jisaacks , tried the change in ST2, still same error
Made the changes as @jisaacks suggested:
File "./sublime_plugin.py", line 205, in on_activated
File "./sublime_plugin.py", line 154, in run_timed_function
File "./sublime_plugin.py", line 204, in
in ST2.
Installed latest version available (2014.05.29.11.57.01) using Sublime Package Control for ST2 and I'm facing the same errors.
Yes indeed, it won't work for ST2. What I did was revert to the last known working commit which is at https://github.com/jisaacks/GitGutter/commit/5f332b7 .. go to the GitGutter package directory in your ST2 Package directory and run "git checkout 5f332b7" .. this should revert your local branch to the last working commit. You can then update everything once there is a working solution.
I just pushed a new commit. I believe it fixes this issue. Please test and confirm. Thanks!
I tried to install via package control and cloning the repo. Seems to be working but the gutter icons are displaying strangely. (see attached)

Me and a colleague of mine have the same issue of @qaiken. But we had the plugin already installed. A reinstallation of it doesn't fix the problem.

Same problem for me today, icons are not working like previous comment. I have tried to uninstall and reinstall but it doesn't work yet
Same here. In console it shows:
Unable to decode .../Application Support/Sublime Text 2/Packages/Theme - Default/..//icons/changed.png
I just updated from Package Control. Also seeing the weird icons.
It sounds like everyone having an issue still is with the icons not loaded which is issue #167. This issue should be for GitGutter not working at all and reporting an error like: ImportError: No module named git_gutter_handler
Is anyone still seeing that?
Resolved for me.
Not for me. Still same problem
Working, both this issue and #167 on ST2 @jisaacks thanks!
Upgraded and it's working for me again. Thanks for the fast fix! I never realized how dependent I was on this plugin...