Traceback (most recent call last):


 "/usr/bin/pi-manage", line 1254, in <module>

manager.run()


 "/opt/privacyidea/lib/python3.6/site-packages/flask_script/__init__.py", line 417, in run

result = self.handle(argv[0], argv[1:])


 "/opt/privacyidea/lib/python3.6/site-packages/flask_script/__init__.py", line 386, in handle

res = handle(*args, **config)


 "/opt/privacyidea/lib/python3.6/site-packages/flask_script/commands.py", line 216, in __call__

return self.run(*args, **kwargs)


 "/usr/bin/pi-manage", line 352, in restore

for line in std_out.split(r"\n"):
TypeError: <flask_script.commands.Command object at 0x7f8b3c29bc18>: a bytes-like object is required, not 'str'

Traceback (most recent call last):


 "/Users/pgali/PycharmProjects/del/venv1/lib/python3.7/site-packages/pandas/core/nanops.py", line 1415, in _ensure_numeric

x = x.astype(np.complex128)
TypeError: must be real number, not NAType
