Traceback (most recent call last):


 "/Library/Python/2.7/site-packages/bottle.py", line 862, in _handle

return route.call(**args)


 "/Library/Python/2.7/site-packages/bottle.py", line 1740, in wrapper

rv = callback(*a, **ka)


 "bazarr.py", line 276, in wanted_search_missing_subtitles_list

wanted_search_missing_subtitles()


 "/Users/USER/bazarr/bazarr/get_subtitle.py", line 108, in wanted_search_missing_subtitles

wanted_download_subtitles(episode[0])


 "/Users/USER/bazarr/bazarr/get_subtitle.py", line 92, in wanted_download_subtitles

message = download_subtitle(path_replace(episode[0]), str(pycountry.languages.lookup(language).alpha_3), episode[4], providers_list, providers_auth)


 "/Users/USER/bazarr/bazarr/get_subtitle.py", line 19, in download_subtitle

video = scan_video(path)


 "/Library/Python/2.7/site-packages/subliminal/core.py", line 374, in scan_video

raise ValueError('%r is not a valid video extension' % os.path.splitext(path)[1])
ValueError: u'.WMV' is not a valid video extension

Traceback (most recent call last):


 "/home/david/research/keras_bug/save_resave.py", line 45, in <module>

model = load_model('a{}.h5'.format(i))


 "/home/david/.virtualenvs/py36/lib/python3.6/site-packages/keras/engine/saving.py", line 263, in load_model

load_weights_from_hdf5_group(f['model_weights'], model.layers)


 "/home/david/.virtualenvs/py36/lib/python3.6/site-packages/keras/engine/saving.py", line 915, in load_weights_from_hdf5_group

reshape=reshape)


 "/home/david/.virtualenvs/py36/lib/python3.6/site-packages/keras/engine/saving.py", line 556, in preprocess_weights_for_loading

weights = convert_nested_model(weights)


 "/home/david/.virtualenvs/py36/lib/python3.6/site-packages/keras/engine/saving.py", line 544, in convert_nested_model

original_backend=original_backend))


 "/home/david/.virtualenvs/py36/lib/python3.6/site-packages/keras/engine/saving.py", line 556, in preprocess_weights_for_loading

weights = convert_nested_model(weights)


 "/home/david/.virtualenvs/py36/lib/python3.6/site-packages/keras/engine/saving.py", line 532, in convert_nested_model

original_backend=original_backend))


 "/home/david/.virtualenvs/py36/lib/python3.6/site-packages/keras/engine/saving.py", line 674, in preprocess_weights_for_loading

weights[0] = np.transpose(weights[0], (3, 2, 0, 1))


 "/home/david/.virtualenvs/py36/lib/python3.6/site-packages/numpy/core/fromnumeric.py", line 575, in transpose

return _wrapfunc(a, 'transpose', axes)


 "/home/david/.virtualenvs/py36/lib/python3.6/site-packages/numpy/core/fromnumeric.py", line 52, in _wrapfunc

return getattr(obj, method)(*args, **kwds)
ValueError: axes don't match array
