Thread: BUG #15056: restore error

BUG #15056: restore error

From
PG Bug reporting form
Date:
The following bug has been logged on the website:

Bug reference:      15056
Logged by:          heemin.kim
Email address:      siarta@naver.com
PostgreSQL version: 10.1
Operating system:   win10,64bit
Description:

My restore job failed with below error log... and it apeared same as
restoring with other backup files.

#error log#
---------------------------------------
2018-02-09 16:11:07,099: 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 83, in __init__
    if arg and len(arg) >= 2 and arg[:2] == '--':
TypeError: object of type 'bool' has no len()
----------------------------------------

Thank you.


Re: BUG #15056: restore error

From
Michael Paquier
Date:
On Fri, Feb 09, 2018 at 07:26:39AM +0000, PG Bug reporting form wrote:
> #error log#
> ---------------------------------------
> 2018-02-09 16:11:07,099: 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 83, in __init__
>     if arg and len(arg) >= 2 and arg[:2] == '--':
> TypeError: object of type 'bool' has no len()
> ----------------------------------------

As this comes from PGAdmin, I would suggest requesting directly help
from their support channel here:
https://www.pgadmin.org/support/list/
--
Michael

Attachment