
Comment: An exception occurred in this state: Traceback (most recent call last):

 "/usr/lib/python2.7/dist-packages/salt/state.py", line 1378, in call
**cdata['kwargs'])

 "/usr/lib/python2.7/dist-packages/salt/states/npm.py", line 114, in installed
runas=user

 "/usr/lib/python2.7/dist-packages/salt/modules/npm.py", line 100, in install
while not lines[0].startswith('{') and not lines[0].startswith('['):
IndexError: list index out of range
Changes:


Traceback (most recent call last):


 "/home/allen/.kodi/addons/service.subtitles.zimushe/service.py", line 269, in <module>

subs = Download(params["link"], params["lang"])


 "/home/allen/.kodi/addons/service.subtitles.zimushe/service.py", line 201, in Download

subtitle_list.append(os.path.join(path, list[sel]))

IndexError: list index out of range
