Thread: Unable to Restore the Backup File in PgAdmin4
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() Thanks -- Sent from: http://www.postgresql-archive.org/PostgreSQL-pgadmin-support-f2191615.html
Hi,
What is your pgAdmin4 version?
Could you please try again with latest version of pgAdmin4 v3.1?
On Thu, 2 Aug 2018, 06:10 abbi, <mudassar.lhr@gmail.com> wrote:
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()
Thanks
--
Sent from: http://www.postgresql-archive.org/PostgreSQL-pgadmin-support-f2191615.html