0 down vote favorite I have been using "PgAdmin 4" and i am unable to restore the backup file. it gives me an error "object of type 'bool' has no len() pgadmin restore" My Log file detail is given below :
2018-08-01 11:06:38,943: ERROR pgadmin: object of type 'bool' has no len() Traceback (most recent call last): File "C:\Program Files\PostgreSQL\10\pgAdmin 4\web\pgadmin\tools\restore\__init__.py", line 327, in create_restore_job *args File "C:\Program Files\PostgreSQL\10\pgAdmin 4\web\pgadmin\tools\restore\__init__.py", line 84, in __init__ if arg and len(arg) >= 2 and arg[:2] == '--': TypeError: object of type 'bool' has no len() 2018-08-01 11:08:58,861: ERROR pgadmin: object of type 'bool' has no len() Traceback (most recent call last): File "C:\Program Files\PostgreSQL\10\pgAdmin 4\web\pgadmin\tools\restore\__init__.py", line 327, in create_restore_job *args File "C:\Program Files\PostgreSQL\10\pgAdmin 4\web\pgadmin\tools\restore\__init__.py", line 84, in __init__ if arg and len(arg) >= 2 and arg[:2] == '--': TypeError: object of type 'bool' has no len()