guillermooo / Vintageous

Vi/Vim emulation for Sublime Text 3
http://guillermooo.bitbucket.org/Vintageous/
Other
1.64k stars 115 forks source link

`Vitageous` crashed after running `Ruby Beautify` or `Pretty Ruby` #966

Open bangedorrunt opened 9 years ago

bangedorrunt commented 9 years ago

Hi @guillermooo ,

I run into this issue whenever I execute Ruby Beautify or Pretty Ruby from Sublime Text Command

Here is the bug, hope it helps

Traceback (most recent call last):
  File "state in /Users/babygau/Library/Application Support/Sublime Text 3/Installed Packages/Vintageous.sublime-package", line 652, in update_xpos
TypeError: unsupported operand type(s) for *: 'int' and 'NoneType'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 550, in run_
    return self.run(edit, **args)
  File "xactions in /Users/babygau/Library/Application Support/Sublime Text 3/Installed Packages/Vintageous.sublime-package", line 355, in run
  File "state in /Users/babygau/Library/Application Support/Sublime Text 3/Installed Packages/Vintageous.sublime-package", line 655, in update_xpos
AttributeError: 'function' object has no attribute 'error'
unsupported operand type(s) for *: 'int' and 'NoneType'
Traceback (most recent call last):
  File "state in /Users/babygau/Library/Application Support/Sublime Text 3/Installed Packages/Vintageous.sublime-package", line 652, in update_xpos
TypeError: unsupported operand type(s) for *: 'int' and 'NoneType'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 550, in run_
    return self.run(edit, **args)
  File "xactions in /Users/babygau/Library/Application Support/Sublime Text 3/Installed Packages/Vintageous.sublime-package", line 355, in run
  File "state in /Users/babygau/Library/Application Support/Sublime Text 3/Installed Packages/Vintageous.sublime-package", line 655, in update_xpos
AttributeError: 'function' object has no attribute 'error'