Traceback (most recent call last):


 "C:\Users\tomek\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 193, in _run_module_as_main

"__main__", mod_spec)


 "C:\Users\tomek\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 85, in _run_code

exec(code, run_globals)


 "youtube-dl/youtube-dl\__main__.py", line 19, in <module>

youtube_dl.main()


 "youtube-dl/youtube-dl\youtube_dl\__init__.py", line 474, in main

_real_main(argv)


 "youtube-dl/youtube-dl\youtube_dl\__init__.py", line 462, in _real_main

retcode = ydl.download_with_info_file(expand_path(opts.load_info_filename))


 "youtube-dl/youtube-dl\youtube_dl\YoutubeDL.py", line 2037, in download_with_info_file

self.process_ie_result(info, download=True)


 "youtube-dl/youtube-dl\youtube_dl\YoutubeDL.py", line 862, in process_ie_result

return self.process_video_result(ie_result, download=download)


 "youtube-dl/youtube-dl\youtube_dl\YoutubeDL.py", line 1643, in process_video_result

self.process_info(new_info)


 "youtube-dl/youtube-dl\youtube_dl\YoutubeDL.py", line 1750, in process_info

info_dict['_filename'] = filename = self.prepare_filename(info_dict)


 "youtube-dl/youtube-dl\youtube_dl\YoutubeDL.py", line 710, in prepare_filename

filename = expand_path(outtmpl).replace(sep, '') % template_dict
TypeError: must be real number, not collections.defaultdictlate_dict
Traceback (most recent call last):


 "/usr/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1418, in _inlineCallbacks

result = g.send(result)


 "/usr/local/lib/python2.7/site-packages/scrapy/core/downloader/middleware.py", line 66, in process_exception

spider=spider)


 "/usr/src/app/crawler/crawling/log_retry_middleware.py", line 89, in process_exception

self._log_retry(request, exception, spider)


 "/usr/src/app/crawler/crawling/log_retry_middleware.py", line 102, in _log_retry

self.logger.error('Scraper Retry', extra=extras)


 "/usr/src/app/crawler/scutils/log_factory.py", line 244, in error

extras = self.add_extras(extra, "ERROR")


 "/usr/src/app/crawler/scutils/log_factory.py", line 319, in add_extras

my_copy = copy.deepcopy(dict)


 "/usr/local/lib/python2.7/copy.py", line 163, in deepcopy

y = copier(x, memo)


 "/usr/local/lib/python2.7/copy.py", line 257, in _deepcopy_dict

y[deepcopy(key, memo)] = deepcopy(value, memo)


 "/usr/local/lib/python2.7/copy.py", line 190, in deepcopy

y = _reconstruct(x, rv, 1, memo)


 "/usr/local/lib/python2.7/copy.py", line 334, in _reconstruct

state = deepcopy(state, memo)


 "/usr/local/lib/python2.7/copy.py", line 163, in deepcopy

y = copier(x, memo)


 "/usr/local/lib/python2.7/copy.py", line 257, in _deepcopy_dict

y[deepcopy(key, memo)] = deepcopy(value, memo)


 "/usr/local/lib/python2.7/copy.py", line 163, in deepcopy

y = copier(x, memo)


 "/usr/local/lib/python2.7/copy.py", line 264, in _deepcopy_method

return type(x)(x.im_func, deepcopy(x.im_self, memo), x.im_class)


 "/usr/local/lib/python2.7/copy.py", line 190, in deepcopy

y = _reconstruct(x, rv, 1, memo)


 "/usr/local/lib/python2.7/copy.py", line 334, in _reconstruct

state = deepcopy(state, memo)


 "/usr/local/lib/python2.7/copy.py", line 163, in deepcopy

y = copier(x, memo)


 "/usr/local/lib/python2.7/copy.py", line 257, in _deepcopy_dict

y[deepcopy(key, memo)] = deepcopy(value, memo)


 "/usr/local/lib/python2.7/copy.py", line 190, in deepcopy

y = _reconstruct(x, rv, 1, memo)


 "/usr/local/lib/python2.7/copy.py", line 334, in _reconstruct

state = deepcopy(state, memo)


 "/usr/local/lib/python2.7/copy.py", line 163, in deepcopy

y = copier(x, memo)


 "/usr/local/lib/python2.7/copy.py", line 257, in _deepcopy_dict

y[deepcopy(key, memo)] = deepcopy(value, memo)


 "/usr/local/lib/python2.7/copy.py", line 190, in deepcopy

y = _reconstruct(x, rv, 1, memo)


 "/usr/local/lib/python2.7/copy.py", line 334, in _reconstruct

state = deepcopy(state, memo)


 "/usr/local/lib/python2.7/copy.py", line 163, in deepcopy

y = copier(x, memo)


 "/usr/local/lib/python2.7/copy.py", line 257, in _deepcopy_dict

y[deepcopy(key, memo)] = deepcopy(value, memo)


 "/usr/local/lib/python2.7/copy.py", line 190, in deepcopy

y = _reconstruct(x, rv, 1, memo)


 "/usr/local/lib/python2.7/copy.py", line 334, in _reconstruct

state = deepcopy(state, memo)


 "/usr/local/lib/python2.7/copy.py", line 163, in deepcopy

y = copier(x, memo)


 "/usr/local/lib/python2.7/copy.py", line 257, in _deepcopy_dict

y[deepcopy(key, memo)] = deepcopy(value, memo)


 "/usr/local/lib/python2.7/copy.py", line 163, in deepcopy

y = copier(x, memo)


 "/usr/local/lib/python2.7/copy.py", line 230, in _deepcopy_list

y.append(deepcopy(a, memo))


 "/usr/local/lib/python2.7/copy.py", line 190, in deepcopy

y = _reconstruct(x, rv, 1, memo)


 "/usr/local/lib/python2.7/copy.py", line 334, in _reconstruct

state = deepcopy(state, memo)


 "/usr/local/lib/python2.7/copy.py", line 163, in deepcopy

y = copier(x, memo)


 "/usr/local/lib/python2.7/copy.py", line 257, in _deepcopy_dict

y[deepcopy(key, memo)] = deepcopy(value, memo)


 "/usr/local/lib/python2.7/copy.py", line 190, in deepcopy

y = _reconstruct(x, rv, 1, memo)


 "/usr/local/lib/python2.7/copy.py", line 334, in _reconstruct

state = deepcopy(state, memo)


 "/usr/local/lib/python2.7/copy.py", line 163, in deepcopy

y = copier(x, memo)


 "/usr/local/lib/python2.7/copy.py", line 257, in _deepcopy_dict

y[deepcopy(key, memo)] = deepcopy(value, memo)


 "/usr/local/lib/python2.7/copy.py", line 182, in deepcopy

rv = reductor(2)
TypeError: can't pickle thread.lock objects
