Fwd: [pgadmin-support] 1.15 dev + wxWidgets 2.9.3, properties and index

From: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Fwd: [pgadmin-support] 1.15 dev + wxWidgets 2.9.3, properties and index
Date: 2012-03-05 11:40:49
Message-ID: CANxoLDekvdsgZEtZuuzNR909jfY4ishLMBmX+SZv402q7=wjZA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers pgadmin-support

Hi Dave

Attached is the patch that hopefully will fix the problem that Colin has
faced. Patch also contains some other fixes too. I have tested it on
Windows.
Please review it.

---------- Forwarded message ----------
From: Dave Page <dpage(at)pgadmin(dot)org>
Date: Mon, Mar 5, 2012 at 4:28 PM
Subject: Re: [pgadmin-support] 1.15 dev + wxWidgets 2.9.3, properties and
index
To: Colin Beckingham <colbec(at)start(dot)ca>
Cc: pgadmin-support(at)postgresql(dot)org, Akshay Joshi <
akshay(dot)joshi(at)enterprisedb(dot)com>

Akshay, can you look into this please?

(the "Adding duplicate image handler for 'PNG file'" thing shouldn't
matter - that's expected, though if you can figure out a way to fix
that, it'd be nice).

Thanks!

On Sat, Mar 3, 2012 at 8:01 PM, Colin Beckingham <colbec(at)start(dot)ca> wrote:
> Two more issues with wxWidgets 2.9.3 on opensuse 12.1:
>
> 1. drill down through server, database, schema, public, tables
> 2. right click a specific table to bring up the context menu
> 3. most options work, however two items cause immediate fatal crash of
> pgadmin3:
> 4. click "properties" at bottom of menu
>
> $ /usr/local/pgadmin3/bin/pgadmin3
> 09:56:28 AM: Debug: Adding duplicate image handler for 'PNG file'
> ./src/common/sizer.cpp(1850): assert "m_growableRows[n] < nrows" failed in
> AdjustForGrowables(): invalid growable row index
> Trace/breakpoint trap
>
> 5. open indexes for a table, attempt to add new index:
>
> $ /usr/local/pgadmin3/bin/pgadmin3
> 09:58:24 AM: Debug: Adding duplicate image handler for 'PNG file'
> ./src/common/sizer.cpp(1850): assert "m_growableRows[n] < nrows" failed in
> AdjustForGrowables(): invalid growable row index
> Trace/breakpoint trap
>
> --
> ---
> Colin Beckingham
> 613-454-5369
> http://www.it4gh.com
>
> --
> Sent via pgadmin-support mailing list (pgadmin-support(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-support

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

--
*Akshay Joshi
Senior Software Engineer
EnterpriseDB Corporation
The Enterprise PostgreSQL Company
Phone: +91 20-3058-9522
Mobile: +91 976-788-8246*

Attachment Content-Type Size
Fixed_Issue.patch application/octet-stream 1.7 KB

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Guillaume Lelarge 2012-03-05 12:30:18 Re: Fwd: [pgadmin-support] 1.15 dev + wxWidgets 2.9.3, properties and index
Previous Message Dave Page 2012-03-05 10:58:12 Re: 1.15 dev + wxWidgets 2.9.3, properties and index

Browse pgadmin-support by date

  From Date Subject
Next Message Dave Page 2012-03-05 12:26:42 Re: PG 9.1 Windows 7 64-bit pgAdmin says all pgAgent jobs fail
Previous Message Dave Page 2012-03-05 10:58:12 Re: 1.15 dev + wxWidgets 2.9.3, properties and index