gornostal / Modific

Highlight lines changed since the last commit (supports Git, SVN, Bazaar, Mercurial and TFS) / ST2(3) plugin
614 stars 44 forks source link

TypeError: 'NoneType' object is not iterable #7

Closed n1k0 closed 12 years ago

n1k0 commented 12 years ago

Just installed Modific on latest stable ST2 build (2181) through Package Control/Mac OSX 10.7, having hg available in my PATH:

$ which hg
/opt/local/bin/hg
$ echo $PATH
/opt/local/bin:/opt/local/sbin:/usr/local/narwhal/bin:/opt/local/lib/postgresql90/bin:/Users/nperriault/bin:/usr/local/bin:/usr/local/share/php/bin:/usr/local/bin:/usr/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/local/bin/node:/usr/local/bin/npm:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin

I get this stack in ST's console:

Traceback (most recent call last):
  File "./sublime_plugin.py", line 350, in run_
  File "./Modific.py", line 199, in run
  File "./Modific.py", line 214, in hg_diff_command
  File "./Modific.py", line 205, in get_user_command
TypeError: 'NoneType' object is not iterable
gornostal commented 12 years ago

thanks for reporting I will fix it in few minutes

gornostal commented 12 years ago

try to restart ST2

gornostal commented 12 years ago

and run ctrl+shift+p -> Package Control: Update Package -> Modific

brunobord commented 12 years ago

works for me now

gornostal commented 12 years ago

@n1k0 if it doesn't work for you, reopen this issue

n1k0 commented 12 years ago

@gornostal works perfectly now, thank you!