Traceback (most recent call last):


 "C:\Users\heaths\AppData\Local\Programs\Pytho...s\powerline\segment.py", line 173, in process_segment

contents = segment['contents_func'](pl, segment_info)


 "C:\Users\heaths\AppData\Local\Programs\Pytho...packages\powerline\segment.py", line 412, in <lambda>

contents_func = lambda pl, segment_info: _contents_func(pl=pl, segment_info=segment_info, **args)


 "C:\Users\heaths\AppData\Local\Programs\Pytho...gments\vim\__init__.py", line 558, in file_vcs_status

status = repo.status(os.path.relpath(name, repo.directory))


 "C:\Users\heaths\AppData\Local\Programs\Pytho...ackages\powerline\lib\vcs\git.py", line 82, in status

extra_ignore_files=tuple(join(gitd, x) for x in ('logs/HEAD', 'info/exclude')),


 "C:\Users\heaths\AppData\Local\Programs\Pytho...ne\lib\vcs\__init__.py", line 131, in get_file_status

file_status_cache[keypath] = ans = get_func(directory, file_path)


 "C:\Users\heaths\AppData\Local\Programs\Pytho...ges\powerline\lib\vcs\git.py", line 187, in do_status

return next(self._gitcmd(directory, 'status', '--porcelain', '--ignored', '--', path))[:2]


 "C:\Users\heaths\AppData\Local\Programs\Pytho...ckages\powerline\lib\shell.py", line 58, in readlines

p = Popen(cmd, shell=False, stdout=PIPE, stderr=PIPE, cwd=cwd)


 "C:\Users\heaths\AppData\Local\Programs\Python\Python37-32\Lib\subprocess.py", line 800, in __init__

restore_signals, start_new_session)


 "C:\Users\heaths\AppData\Local\Programs\Pytho...7-32\Lib\subprocess.py", line 1148, in _execute_child

args = list2cmdline(args)


 "C:\Users\heaths\AppData\Local\Programs\Pytho...on37-32\Lib\subprocess.py", line 555, in list2cmdline

needquote = (" " in arg) or ("\t" in arg) or not arg
TypeError: a bytes-like object is required, not 'str'

Traceback (most recent call last):


 "faceswap.py", line 33, in <module>

arguments.func(arguments)


 "/home/kixlab3/Documents/shik/faceswap/lib/cli.py", line 162, in process_arguments

self.process()


 "/home/kixlab3/Documents/shik/faceswap/scripts/convert.py", line 191, in process

self.convert(converter, item)


 "/home/kixlab3/Documents/shik/faceswap/scripts/convert.py", line 229, in convert

image = converter.patch_image(image, face, 64 if "128" not in self.arguments.trainer else 128)


 "/home/kixlab3/Documents/shik/faceswap/plugins/Convert_Masked.py", line 42, in patch_image

return self.apply_new_face(image, new_face, image_mask, mat, image_size, size)


 "/home/kixlab3/Documents/shik/faceswap/plugins/Convert_Masked.py", line 50, in apply_new_face

if "bsharpen" in self.sharpen_image:
TypeError: argument of type 'NoneType' is not iterable
