Traceback (most recent call last):



 "/usr/bin/mpsyt", line 11, in <module>

load_entry_point('mps-youtube==0.2.7.1', 'console_scripts', 'mpsyt')()


 "/usr/lib/python3/dist-packages/mps_youtube/main.py", line 141, in main

if matchfunction(i.function, i.regex, userinput):


 "/usr/lib/python3/dist-packages/mps_youtube/main.py", line 64, in matchfunction

func(*matches)


 "/usr/lib/python3/dist-packages/mps_youtube/commands/play.py", line 85, in play

play_range(songlist, shuffle, repeat, override)


 "/usr/lib/python3/dist-packages/mps_youtube/player.py", line 41, in play_range

returncode = _playsong(song, override=override)


 "/usr/lib/python3/dist-packages/mps_youtube/player.py", line 148, in _playsong

streams.get(song, force=failcount, callback=screen.writestatus)


 "/usr/lib/python3/dist-packages/mps_youtube/streams.py", line 51, in get

p = util.get_pafy(vid, force=force, callback=callback)


 "/usr/lib/python3/dist-packages/mps_youtube/util.py", line 201, in get_pafy

p = pafy.new(ytid, callback=callback_fn)


 "/usr/lib/python3/dist-packages/pafy/pafy.py", line 122, in new

return Pafy(url, basic, gdata, size, callback, ydl_opts)


 "/usr/lib/python3/dist-packages/pafy/backend_youtube_dl.py", line 29, in __init__

super(YtdlPafy, self).__init__(*args, **kwargs)


 "/usr/lib/python3/dist-packages/pafy/backend_shared.py", line 95, in __init__

self._fetch_basic()


 "/usr/lib/python3/dist-packages/pafy/backend_youtube_dl.py", line 53, in _fetch_basic

self._category = self._ydl_info['categories'][0]
TypeError: 'NoneType' object is not subscriptable

Traceback (most recent call last):


 "train.py", line 77, in <module>

images, masks, guides, config=config)


 "/home/kjm/Desktop/inpainting/GatedConvolution/inpaint_model_gc.py", line 161, in build_graph_with_losses

batch_incomplete, batch_mask, batch_mask, config, reuse=reuse, training=training, padding=config.PADDING)


 "/home/kjm/Desktop/inpainting/GatedConvolution/inpaint_model_gc.py", line 114, in build_inpaint_net

x, offset_flow = contextual_attention(x, x, mask_s, 3, 1, rate=2)


 "/home/kjm/Desktop/inpainting/GatedConvolution/inpaint_ops.py", line 512, in contextual_attention

offset = tf.argmax(yi, axis=3, output_type=tf.int32)
TypeError: argmax() got an unexpected keyword argument 'output_type'
