Traceback (most recent call last):


 "/home/smln/.medusa/<a href="../blob/77b20916ab577b82112ebc624f816054788c63f2/medusa/search/queue.py#L263">medusa/search/queue.py</a>", line 263, in run

found_results = search_for_needed_episodes(force=self.force)


 "/home/smln/.medusa/<a href="../blob/77b20916ab577b82112ebc624f816054788c63f2/medusa/search/core.py#L492">medusa/search/core.py</a>", line 492, in search_for_needed_episodes

if delay_search(best_result):


 "/home/smln/.medusa/<a href="../blob/77b20916ab577b82112ebc624f816054788c63f2/medusa/search/core.py#L523">medusa/search/core.py</a>", line 523, in delay_search

results['found_items'].sort(key=lambda d: int(d['date_added']))


 "/home/smln/.medusa/<a href="../blob/77b20916ab577b82112ebc624f816054788c63f2/medusa/search/core.py#L523">medusa/search/core.py</a>", line 523, in <lambda>

results['found_items'].sort(key=lambda d: int(d['date_added']))
TypeError: int() argument must be a string or a number, not 'datetime.datetime'

Traceback (most recent call last):


 "F:\software\PY\lib\runpy.py", line 193, in _run_module_as_main

"__main__", mod_spec)


 "F:\software\PY\lib\runpy.py", line 85, in _run_code

exec(code, run_globals)


 "G:\Py\venv\Scripts\pyinstaller.exe\__main__.py", line 9, in <module>


 "g:\py\venv\lib\site-packages\PyInstaller\__main__.py", line 111, in run

run_build(pyi_config, spec_file, **vars(args))


 "g:\py\venv\lib\site-packages\PyInstaller\__main__.py", line 63, in run_build

PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)


 "g:\py\venv\lib\site-packages\PyInstaller\building\build_main.py", line 838, in main

build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))


 "g:\py\venv\lib\site-packages\PyInstaller\building\build_main.py", line 784, in build

exec(text, spec_namespace)


 "<string>", line 29, in <module>


 "g:\py\venv\lib\site-packages\PyInstaller\building\api.py", line 424, in __init__

strip_binaries=self.strip, upx_binaries=self.upx,


 "g:\py\venv\lib\site-packages\PyInstaller\building\api.py", line 196, in __init__

self.__postinit__()


 "g:\py\venv\lib\site-packages\PyInstaller\building\datastruct.py", line 158, in __postinit__

self.assemble()


 "g:\py\venv\lib\site-packages\PyInstaller\building\api.py", line 273, in assemble

pylib_name = os.path.basename(bindepend.get_python_library_path())


 "F:\software\PY\lib\ntpath.py", line 218, in basename

return split(p)[1]


 "F:\software\PY\lib\ntpath.py", line 185, in split

p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not NoneType`
