Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] CursorRuler, Mediawiker and WordHighlights conflict #120

Open
Kristinita opened this issue Apr 30, 2017 · 0 comments
Open

[Bug] CursorRuler, Mediawiker and WordHighlights conflict #120

Kristinita opened this issue Apr 30, 2017 · 0 comments

Comments

@Kristinita
Copy link

1. Summary

If Web Inspector enable for me, I get stack trace in console, if I use Sublime CursorRuler and/or Sublime Mediawiker and/or Sublime WordHighlight packages.

2. Steps to reproduce

I reproduce the problem in a version of Sublime Text without plugins and user settings.

I install Web Inspector via Package Control → I install CursorRuler and/or Mediawiker and/or WordHighlight via Package Control → I restart Sublime Text.

3. Expected behavior

If Web Inspector disable for me, I don't get stack trace in Sublime Text console.

4. Actual behavior

If Web Inspector enable for me, I get stack trace from CursorRuler and/or Mediawiker and/or WordHighlight. Example stack trace:

plugins loaded
Traceback (most recent call last):
  File "D:\Sublime Text Build 3126 x64 For Debug\sublime_plugin.py", line 389, in run_callback
    expr()
  File "D:\Sublime Text Build 3126 x64 For Debug\sublime_plugin.py", line 539, in <lambda>
    run_callback('on_deactivated', callback, lambda: callback.on_deactivated(v))
  File "CursorRuler in D:\Sublime Text Build 3126 x64 For Debug\Data\Installed Packages\CursorRuler.sublime-package", line 278, in on_deactivated
  File "CursorRuler in D:\Sublime Text Build 3126 x64 For Debug\Data\Installed Packages\CursorRuler.sublime-package", line 193, in is_enabled
AttributeError: type object 'CursorRuler' has no attribute 'enabled'
Traceback (most recent call last):
  File "D:\Sublime Text Build 3126 x64 For Debug\sublime_plugin.py", line 389, in run_callback
    expr()
  File "D:\Sublime Text Build 3126 x64 For Debug\sublime_plugin.py", line 522, in <lambda>
    run_callback('on_activated', callback, lambda: callback.on_activated(v))
  File "CursorRuler in D:\Sublime Text Build 3126 x64 For Debug\Data\Installed Packages\CursorRuler.sublime-package", line 270, in on_activated
  File "CursorRuler in D:\Sublime Text Build 3126 x64 For Debug\Data\Installed Packages\CursorRuler.sublime-package", line 193, in is_enabled
AttributeError: type object 'CursorRuler' has no attribute 'enabled'
Traceback (most recent call last):
  File "D:\Sublime Text Build 3126 x64 For Debug\sublime_plugin.py", line 389, in run_callback
    expr()
  File "D:\Sublime Text Build 3126 x64 For Debug\sublime_plugin.py", line 522, in <lambda>
    run_callback('on_activated', callback, lambda: callback.on_activated(v))
  File "word_highlight in D:\Sublime Text Build 3126 x64 For Debug\Data\Installed Packages\WordHighlight.sublime-package", line 125, in on_activated
AttributeError: 'dict' object has no attribute 'prev_selections'
Traceback (most recent call last):
  File "D:\Sublime Text Build 3126 x64 For Debug\sublime_plugin.py", line 389, in run_callback
    expr()
  File "D:\Sublime Text Build 3126 x64 For Debug\sublime_plugin.py", line 522, in <lambda>
    run_callback('on_activated', callback, lambda: callback.on_activated(v))
  File "D:\Sublime Text Build 3126 x64 For Debug\Data\Packages\Mediawiker\mwcommands\mw_events.py", line 52, in on_activated
    current_syntax = mw.props.get_view_setting(view, 'syntax', plugin=False)
AttributeError: 'NoneType' object has no attribute 'get_view_setting'

5. Environment

Operating system and version:
Windows 10 Enterprise LTSB 64-bit EN
Sublime Text:
Build 3126
Package:
Latest stable version of Web Inspector for Sublime Text 3

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant