srusskih / SublimeJEDI

awesome Python autocompletion with SublimeText
MIT License
938 stars 109 forks source link

SublimeJedi crash on sublime_jedi_docstring #147

Closed Carbon401 closed 7 years ago

Carbon401 commented 10 years ago

When executing sublime_jedi_docstring the plugin crashes in Sublime 2.0.2 / SublimeJedi 0.6.8:

Traceback (most recent call last): File "./sublimeplugin.py", line 356, in run File "./sublime_jedi/helper.py", line 11, in run AttributeError: 'View' object has no attribute 'close'

The line is: self.view.close()

Commenting it fixes the problem but I don't know if it's neeeded for something else.

srusskih commented 10 years ago

thanks. will investigate

srusskih commented 9 years ago

Should bew replaced on

self.window.focus_view(self.view)
self.window.run_command("close_file")
eskin commented 9 years ago

Traceback (most recent call last):

File "./sublime_plugin.py", line 356, in run_
File "./sublime_jedi/helper.py", line 12, in run

AttributeError: 'HelpMessageCommand' object has no attribute 'window'