Re: Error Exporting to CSV

From: Khushboo Vashi <khushboo(dot)vashi(at)enterprisedb(dot)com>
To: Isaias Sanchez <isaias(dot)sanchez(dot)l(at)gmail(dot)com>
Cc: "pgadmin-support lists(dot)postgresql(dot)org" <pgadmin-support(at)lists(dot)postgresql(dot)org>
Subject: Re: Error Exporting to CSV
Date: 2019-03-18 08:40:34
Message-ID: CAFOhELddHogSwCGBCAcH0cyk7V3ZfaV3p0_yPBBNPkXYBufeyg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hi,

Please log this issue @ https://redmine.postgresql.org/projects/pgadmin4
Also, mention the OS details, Browser details, and the sample query to
reproduce this issue.

Thanks,
Khushboo

On Mon, Mar 18, 2019 at 1:57 PM Isaias Sanchez <isaias(dot)sanchez(dot)l(at)gmail(dot)com>
wrote:

> Hi,
>
> Is this caused by any version of flask or so?
>
> Regards,
>
> Isaias S.
>
> On 14/3/19 12:21, Isaias Sanchez wrote:
> >
> > Hi,
> >
> > I am getting error even in Chromium when exporting to CSV it says
> > [Object Blob] and in the log I can see this:
> >
> > 2019-03-14 12:16:27,375: ERROR pgadmin: object of type
> > 'set_iterator' has no len()
> > Traceback (most recent call last):
> > File "/usr/local/lib/python3.6/site-packages/flask/app.py", line
> > 1612, in full_dispatch_request
> > rv = self.dispatch_request()
> > File "/usr/local/lib/python3.6/site-packages/flask/app.py", line
> > 1598, in dispatch_request
> > return self.view_functions[rule.endpoint](**req.view_args)
> > File "/usr/local/lib/python3.6/site-packages/flask_login.py", line
> > 792, in decorated_view
> > return func(*args, **kwargs)
> > File
> >
> "/usr/local/lib/python3.6/site-packages/pgadmin4/pgadmin/tools/sqleditor/__init__.py",
>
> > line 1350, in start_query_download_tool
> > data = request.values if request.values else None
> > File
> > "/usr/local/lib/python3.6/site-packages/werkzeug/datastructures.py",
> > line 1409, in __len__
> > return len(self.keys())
> > TypeError: object of type 'set_iterator' has no len()
> >
> > I have pgAdmin4 v4.3
> >
> > Regards,
> >
> > Isaias S.
> >
>
>

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Dave Page 2019-03-18 09:57:27 Re: Default order on displaying data without order clause
Previous Message Isaias Sanchez 2019-03-18 08:27:44 Error Exporting to CSV