afterdesign / termX

MacTerminal is a SublimeText plugin. It opens new Terminal tab (on current or new window if necessary). It's working with Terminal and iTerm.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Could not open a new terminal

orsenthil opened this issue · comments

Traceback (most recent call last):
  File "./sublime_plugin.py", line 362, in run_
  File "./open_mac_terminal.py", line 55, in run
TypeError: object of type 'NoneType' has no len()
Traceback (most recent call last):
  File "./sublime_plugin.py", line 362, in run_
  File "./open_mac_terminal.py", line 55, in run
TypeError: object of type 'NoneType' has no len()
no command for selector: noop:

I have these settings


{
   "terminal"   :  "iterm",
   "debug": true
}

@orsenthil how did you try to open terminal ? Because it looks like there is no option to get filename.
This can happen when you're trying to open the file but focus is not in main window.

Thanks for the quick response. I had my cursor in the file.

https://www.dropbox.com/s/k3x4csf6q33hxri/Screenshot%202014-01-30%2011.26.35.png

And then I pressed control + command + t

FWIW, I have a vim bindings set. (Could it be interfering).

@orsenthil the "Package Control Messages" is not a file on your disk. This is a new tab that is created by package manager ;)
Can you try it on another file that you've opened from your disk ?

🎱

Okay, that was it. It works properly! 👍

Awesome to hear it :)