Unix Technical Forum

Bug in Exporter V1.6.X

This is a discussion on Bug in Exporter V1.6.X within the pgsql Interfaces Pgadmin Support forums, part of the PostgreSQL category; --> Hi there, I found a bug in the export routine in both pgAdminIII V 1.6.1 and 1.6.2 My client ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces Pgadmin Support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 07:45 PM
Mathias Durst
 
Posts: n/a
Default Bug in Exporter V1.6.X

Hi there,

I found a bug in the export routine in both pgAdminIII V 1.6.1 and 1.6.2
My client WinXp Home SP2 with all patches up to date
My DB pg Ver. 8.1.5 (UTF-8) running on a Linux Box


After issuing a query , it gets, let's say 145 rows.
When creating a HTML-report, all rows appear.
When exporting to a CSV-file, SOME rows are empty ";;;;;;;;" - only
delimiter is there.
In my case the first few rows from grid (five, three - no real rule
there ) were missing,
but the empty lines are allways on the end of the file.

I tried with different encodings, (UTF-8 vs Latin1), rebooting the PC
etc, same Problem.

I downgraded my PC to pgAdmin1.4.3 - no Problem any more


As I saw, other people have problems with the exporter too.
Probably you guys have missed something in the code,
when intoducing that HTML-report stuff - which, BTW I really like.

Thanks and regards
Mathais Durst


---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-17-2008, 07:45 PM
Dave Page
 
Posts: n/a
Default Re: Bug in Exporter V1.6.X

Mathias Durst wrote:
> Hi there,
>
> I found a bug in the export routine in both pgAdminIII V 1.6.1 and 1.6.2
> My client WinXp Home SP2 with all patches up to date
> My DB pg Ver. 8.1.5 (UTF-8) running on a Linux Box
>
>
> After issuing a query , it gets, let's say 145 rows.
> When creating a HTML-report, all rows appear.
> When exporting to a CSV-file, SOME rows are empty ";;;;;;;;" - only
> delimiter is there.
> In my case the first few rows from grid (five, three - no real rule
> there ) were missing,
> but the empty lines are allways on the end of the file.
>
> I tried with different encodings, (UTF-8 vs Latin1), rebooting the PC
> etc, same Problem.
>
> I downgraded my PC to pgAdmin1.4.3 - no Problem any more


Mathias;

This bug was seen during beta by Mike iirc (CC'd), however I thought
we'd cured it. I've had another idea about the possible cause and have
worked up a test build which can be found at
http://developer.pgadmin.org/~dpage/pgAdmin3.zip - please download it
and give it a try.

Mike; this may well cure the other problem you reported - can you test
as well please?

Thanks, Dave

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-17-2008, 07:45 PM
Dave Page
 
Posts: n/a
Default Re: Bug in Exporter V1.6.X

Mathias Durst wrote:
> Hello Dave,
>
> I downloaded pgAdmin 1.6.2 again (release) - still same Problem
>
> Then I replaced the executable with the one provided in your link -
> Export now OK - great.


Great, thanks for testing. I think it will be more reliable as well, so
I've committed the patch.

> Thanks for your quick response.
>
> OT: the included image shows a cosmetically problem in the German version.
> Since I have a WinXp box I couldn't fix the mo file myself.
> However, it needs to be fixed anyway on the released code.
>
> The line should read: "Die ersten 100 Zeilen anzeigen" - the
> qqqqqqqqqqq are mistakenly there.


Fixing...

Thanks, Dave

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-17-2008, 07:46 PM
mike
 
Posts: n/a
Default Re: Bug in Exporter V1.6.X

Hello,

I have tried the new exe file and it has fixed my issue as well.

Mike

On Wed, 2007-01-10 at 14:09 +0000, Dave Page wrote:
> Mathias Durst wrote:
> > Hi there,
> >
> > I found a bug in the export routine in both pgAdminIII V 1.6.1 and 1.6.2
> > My client WinXp Home SP2 with all patches up to date
> > My DB pg Ver. 8.1.5 (UTF-8) running on a Linux Box
> >
> >
> > After issuing a query , it gets, let's say 145 rows.
> > When creating a HTML-report, all rows appear.
> > When exporting to a CSV-file, SOME rows are empty ";;;;;;;;" - only
> > delimiter is there.
> > In my case the first few rows from grid (five, three - no real rule
> > there ) were missing,
> > but the empty lines are allways on the end of the file.
> >
> > I tried with different encodings, (UTF-8 vs Latin1), rebooting the PC
> > etc, same Problem.
> >
> > I downgraded my PC to pgAdmin1.4.3 - no Problem any more

>
> Mathias;
>
> This bug was seen during beta by Mike iirc (CC'd), however I thought
> we'd cured it. I've had another idea about the possible cause and have
> worked up a test build which can be found at
> http://developer.pgadmin.org/~dpage/pgAdmin3.zip - please download it
> and give it a try.
>
> Mike; this may well cure the other problem you reported - can you test
> as well please?
>
> Thanks, Dave
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings



---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 04-17-2008, 07:46 PM
Dave Page
 
Posts: n/a
Default Re: Bug in Exporter V1.6.X

mike wrote:
> Hello,
>
> I have tried the new exe file and it has fixed my issue as well.


Excellent - thanks for testing.

Regards, Dave

---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at

http://www.postgresql.org/about/donate

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:28 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com