rctay/sublime-text-buildview

Not working after update

Closed this issue · 6 comments

I am using sublime text 3 version 3126.The plugin automatically updated now the build output is not going to new tab and it only shows output in same tab down below?

rctay commented

DPI scale: 1
startup, version: 3126 linux x64 channel: stable
executable: /opt/sublime_text/sublime_text
working dir: /
packages path: /home/sohaib/.config/sublime-text-3/Packages
state path: /home/sohaib/.config/sublime-text-3/Local
zip path: /opt/sublime_text/Packages

File "/opt/sublime_text/sublime_plugin.py", line 818, in run_
return self.run(edit)
File "commands in /home/sohaib/.config/sublime-text-3/Installed Packages/sublime-text-2-buildview.sublime-package", line 173, in run
AttributeError: 'module' object has no attribute 'EnabledSetting'
Traceback (most recent call last):
File "/opt/sublime_text/sublime_plugin.py", line 557, in on_query_context
val = callback.on_query_context(v, key, operator, operand, match_all)
File "commands in /home/sohaib/.config/sublime-text-3/Installed Packages/sublime-text-2-buildview.sublime-package", line 119, in on_query_context
AttributeError: 'module' object has no attribute 'EnabledSetting'
Running python -u "/home/sohaib/code/somefile.py

You are calling the attribute which doesn't exsist or forget to pass

rctay commented

Its working fine thanks @rctay can you elaborate how you fixed it

rctay commented

Glad to hear it's now working for you. I didn't change any code upstream, seems like old plugin code was still loaded in sublime and was being called from the new, updated code, so it seems a good 'ol restart was good enough to make it work for you.