icylace / CursorRuler

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

Crashes when cloning active tab #8

Closed Dimox closed 8 years ago

Dimox commented 9 years ago

When I clonе active tab through File -> New View into File CursorRuler is crushes with the following errors:

Traceback (most recent call last):
  File "CursorRuler in c:\Programs\Sublime Text\Data\Installed Packages\CursorRuler.sublime-package", line 252, in on_command_mode_change
  File "CursorRuler in c:\Programs\Sublime Text\Data\Installed Packages\CursorRuler.sublime-package", line 241, in on_selection_modified
  File "c:\Programs\Sublime Text\sublime.py", line 183, in active_window
    return Window(sublime_api.active_window())
RuntimeError: maximum recursion depth exceeded
error: plugin_host has exited unexpectedly, plugin functionality won't be available until Sublime Text has been restarted
icylace commented 9 years ago

Yes, that's strange. Thank you for the bug report! I'll try to investigate it soon.

icylace commented 9 years ago

Oh, one more thing. Are you running ST3 or ST2 ?

Dimox commented 9 years ago

I'm using ST3.

icylace commented 9 years ago

Okay, thanks.

icylace commented 8 years ago

I'm currently running ST3 build 3118 and am unable to reproduce this error. I'm going to close this ticket but if there's more info to help me reproduce the error please let me know.

asoki commented 7 years ago

i using Cursor Ruler 1.1.6 (installed from package) with ST3 build 3126 on OSX 10.10.5, i get the following error when i clone the active tab:

Traceback (most recent call last):
  File "CursorRuler in /Users/REDACTED/Library/Application Support/Sublime Text 3/Installed Packages/CursorRuler.sublime-package", line 314, in on_command_mode_change
  File "CursorRuler in /Users/REDACTED/Library/Application Support/Sublime Text 3/Installed Packages/CursorRuler.sublime-package", line 302, in on_selection_modified
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime.py", line 296, in active_view
    return View(view_id)
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime.py", line 707, in __init__
    self.selection = Selection(id)
RuntimeError: maximum recursion depth exceeded
error: plugin_host has exited unexpectedly, plugin functionality won't be available until Sublime Text has been restarted