icylace / CursorRuler

Marks the current cursor position(s) using dynamic rulers. For Sublime Text 2 and 3.
62 stars 5 forks source link

Traceback Issue on Build 3118 #12

Closed aymaluser closed 8 years ago

aymaluser commented 8 years ago

I keep getting this traceback, which seems to be slowing things down. The plugin still seems to work, though.

File "CursorRuler in /home/lab/.config/sublime-text-3/Installed Packages/CursorRuler.sublime-package", line 268, in on_command_mode_change File "CursorRuler in /home/lab/.config/sublime-text-3/Installed Packages/CursorRuler.sublime-package", line 250, in on_selection_modified AttributeError: 'NoneType' object has no attribute 'active_window'

icylace commented 8 years ago

Interesting, #9 was originally about this same issue.

I wasn't able to reproduce the issue for a long time but I recently was able to do it just once and haven't been able to do it again.

Anyway, the issue appears to be caused by the sublime module not being available for whatever reason.

The next release will contain a fix for it.