Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexError: tuple index out of range #30

Closed
ghost opened this issue Feb 19, 2014 · 1 comment
Closed

IndexError: tuple index out of range #30

ghost opened this issue Feb 19, 2014 · 1 comment

Comments

@ghost
Copy link

ghost commented Feb 19, 2014

On searching for 'final fantasy 6 ost':

Exception in thread Thread-4:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 808, in *bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 761, in run
self.__target(_self.__args, _self.__kwargs)
File "/usr/local/bin/mpsyt", line 1586, in preload
song['pafy'] = get_streams(song, future=True)
File "/usr/local/bin/mpsyt", line 1053, in get_streams
p = pafy.new(song['link'])
File "/usr/local/lib/python2.7/dist-packages/pafy.py", line 260, in new
return Pafy(url, callback=callback)
File "/usr/local/lib/python2.7/dist-packages/pafy.py", line 559, in __init

self.streams_ad = [Stream(sm, self.title, js) for sm in smap_adpt]
File "/usr/local/lib/python2.7/dist-packages/pafy.py", line 297, in init
self.notes = g.itags[self.itag][3]
IndexError: tuple index out of range

@np1
Copy link
Contributor

np1 commented Feb 19, 2014

Thanks for this. Fix applied to develop branch of pafy.

@np1 np1 added the resolved label Feb 23, 2014
@np1 np1 closed this as completed Feb 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant