Re: pgAdmin Crashes When Opening a *.sql File From Windows Explorer

Lists: pgadmin-hackerspgadmin-support
From: "Russell L(dot) Galyon" <Russell(dot)Galyon(at)centerstoneresearch(dot)org>
To: "pgadmin-support(at)postgresql(dot)org" <pgadmin-support(at)postgresql(dot)org>
Subject: pgAdmin Crashes When Opening a *.sql File From Windows Explorer
Date: 2011-01-04 22:37:28
Message-ID: EB39BE25D510994EB109B811564B2CE0024BB153@CSTNEXMBSVR01.centerstone.lan
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgadmin-hackers pgadmin-support

PGAdmin Version 1.12.2 (Dec 13 2010, REL-1_12_2)
Workstation - Windows XP x64 SP2

When I right click on a *.sql file in Windows Explorer and select Open With pgAdmin III the splash screen is shown followed by the login box. After making login box selections, I receive an error window stating "pgAdmin III - Postgres SQL Tools has encountered a problem and needs to close. We are sorry for the inconvenience."

I am able to open and utilize pgAdmin from the start menu and open *.sql files from the file>open in the sql tool.

Russell Galyon

________________________________
The information contained in this Email message is private and confidential. It may contain Protected Health Information deemed confidential by HIPAA regulations. It is intended only for the use of the individual(s) named above, and the privileges are not waived by virtue of this information having been sent by Email. Any use, dissemination, distribution or copying of this the information contained in this communication is strictly prohibited by anyone except the named individual or that person's agent. If you have received this Email in error, please notify the sender immediately and destroy this Email. Thank You.


From: Dave Page <dpage(at)pgadmin(dot)org>
To: Dhiraj Chawla <dhiraj(dot)chawla(at)enterprisedb(dot)com>
Cc: "pgadmin-support(at)postgresql(dot)org" <pgadmin-support(at)postgresql(dot)org>, "Russell L(dot) Galyon" <Russell(dot)Galyon(at)centerstoneresearch(dot)org>
Subject: Re: pgAdmin Crashes When Opening a *.sql File From Windows Explorer
Date: 2011-01-06 10:25:22
Message-ID: AANLkTimyTS4qAr=CyBZPQCLk2seNSE7Nr5qzyOq64sxd@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgadmin-hackers pgadmin-support

Dhiraj,

Can you take a look at this issue please?

Thanks!

On Tue, Jan 4, 2011 at 10:37 PM, Russell L. Galyon
<Russell(dot)Galyon(at)centerstoneresearch(dot)org> wrote:
> PGAdmin Version 1.12.2 (Dec 13 2010, REL-1_12_2)
>
> Workstation - Windows XP x64 SP2
>
>
>
> When I right click on a *.sql file in Windows Explorer and select Open With
> pgAdmin III the splash screen is shown followed by the login box. After
> making login box selections, I receive an error window stating “pgAdmin III
> – Postgres SQL Tools has encountered a problem and needs to close. We are
> sorry for the inconvenience.”
>
>
>
> I am able to open and utilize pgAdmin from the start menu and open *.sql
> files from the file>open in the sql tool.
>
>
>
>
>
>
>
> Russell Galyon
>
> ________________________________
> The information contained in this Email message is private and confidential.
> It may contain Protected Health Information deemed confidential by HIPAA
> regulations. It is intended only for the use of the individual(s) named
> above, and the privileges are not waived by virtue of this information
> having been sent by Email. Any use, dissemination, distribution or copying
> of this the information contained in this communication is strictly
> prohibited by anyone except the named individual or that person's agent. If
> you have received this Email in error, please notify the sender immediately
> and destroy this Email. Thank You.
>

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

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


From: Dhiraj Chawla <dhiraj(dot)chawla(at)enterprisedb(dot)com>
To: "Russell L(dot) Galyon" <Russell(dot)Galyon(at)centerstoneresearch(dot)org>
Cc: "pgadmin-support(at)postgresql(dot)org" <pgadmin-support(at)postgresql(dot)org>
Subject: Re: pgAdmin Crashes When Opening a *.sql File From Windows Explorer
Date: 2011-01-10 07:52:43
Message-ID: AANLkTik3RNw78dGXOaU0POo7aA95JjfHV9qO5jn-dif9@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgadmin-hackers pgadmin-support

Hi Russell,

I am not able to reproduce this issue on my Windows system with the steps
that you have mentioned below.

I just wanted to ask if you have done any manual file association of *.sql
file with pgadmin3 on your windows system? If so can you share information
about that with us?

Regards,
Dhiraj

On Thu, Jan 6, 2011 at 3:55 PM, Dave Page <dpage(at)pgadmin(dot)org> wrote:

> Dhiraj,
>
> Can you take a look at this issue please?
>
> Thanks!
>
> On Tue, Jan 4, 2011 at 10:37 PM, Russell L. Galyon
> <Russell(dot)Galyon(at)centerstoneresearch(dot)org> wrote:
> > PGAdmin Version 1.12.2 (Dec 13 2010, REL-1_12_2)
> >
> > Workstation - Windows XP x64 SP2
> >
> >
> >
> > When I right click on a *.sql file in Windows Explorer and select Open
> With
> > pgAdmin III the splash screen is shown followed by the login box. After
> > making login box selections, I receive an error window stating “pgAdmin
> III
> > – Postgres SQL Tools has encountered a problem and needs to close. We are
> > sorry for the inconvenience.”
> >
> >
> >
> > I am able to open and utilize pgAdmin from the start menu and open *.sql
> > files from the file>open in the sql tool.
> >
> >
> >
> >
> >
> >
> >
> > Russell Galyon
> >
> > ________________________________
> > The information contained in this Email message is private and
> confidential.
> > It may contain Protected Health Information deemed confidential by HIPAA
> > regulations. It is intended only for the use of the individual(s) named
> > above, and the privileges are not waived by virtue of this information
> > having been sent by Email. Any use, dissemination, distribution or
> copying
> > of this the information contained in this communication is strictly
> > prohibited by anyone except the named individual or that person's agent.
> If
> > you have received this Email in error, please notify the sender
> immediately
> > and destroy this Email. Thank You.
> >
>
>
>
> --
> Dave Page
> Blog: http://pgsnake.blogspot.com
> Twitter: @pgsnake
>
> EnterpriseDB UK: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>


From: "Russell L(dot) Galyon" <Russell(dot)Galyon(at)centerstoneresearch(dot)org>
To: Dhiraj Chawla <dhiraj(dot)chawla(at)enterprisedb(dot)com>
Cc: "pgadmin-support(at)postgresql(dot)org" <pgadmin-support(at)postgresql(dot)org>
Subject: Re: pgAdmin Crashes When Opening a *.sql File From Windows Explorer
Date: 2011-01-10 13:19:50
Message-ID: EB39BE25D510994EB109B811564B2CE00241387D@CSTNEXMBSVR01.centerstone.lan
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgadmin-hackers pgadmin-support

Nothing is wrong with my associations that I am aware of (Windows XP x64, Sophos). I tried this on a co-workers pc (Windows Vista, Sophos) and got the same result. Then because of your note I tried on a non work related laptop (Windows 7, McAfee) and it worked without issue. Given that I am guessing this is either something to do with an Active Directory policy our virus protection. Has anyone had issues with specific policy settings or Sophos?
________________________________________
From: Dhiraj Chawla [dhiraj(dot)chawla(at)enterprisedb(dot)com]
Sent: Monday, January 10, 2011 1:52 AM
To: Russell L. Galyon
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: [pgadmin-support] pgAdmin Crashes When Opening a *.sql File From Windows Explorer

Hi Russell,

I am not able to reproduce this issue on my Windows system with the steps that you have mentioned below.

I just wanted to ask if you have done any manual file association of *.sql file with pgadmin3 on your windows system? If so can you share information about that with us?

Regards,
Dhiraj

On Thu, Jan 6, 2011 at 3:55 PM, Dave Page <dpage(at)pgadmin(dot)org<mailto:dpage(at)pgadmin(dot)org>> wrote:
Dhiraj,

Can you take a look at this issue please?

Thanks!

On Tue, Jan 4, 2011 at 10:37 PM, Russell L. Galyon
<Russell(dot)Galyon(at)centerstoneresearch(dot)org<mailto:Russell(dot)Galyon(at)centerstoneresearch(dot)org>> wrote:
> PGAdmin Version 1.12.2 (Dec 13 2010, REL-1_12_2)
>
> Workstation - Windows XP x64 SP2
>
>
>
> When I right click on a *.sql file in Windows Explorer and select Open With
> pgAdmin III the splash screen is shown followed by the login box. After
> making login box selections, I receive an error window stating “pgAdmin III
> – Postgres SQL Tools has encountered a problem and needs to close. We are
> sorry for the inconvenience.”
>
>
>
> I am able to open and utilize pgAdmin from the start menu and open *.sql
> files from the file>open in the sql tool.
>
>
>
>
>
>
>
> Russell Galyon
>
> ________________________________
> The information contained in this Email message is private and confidential.
> It may contain Protected Health Information deemed confidential by HIPAA
> regulations. It is intended only for the use of the individual(s) named
> above, and the privileges are not waived by virtue of this information
> having been sent by Email. Any use, dissemination, distribution or copying
> of this the information contained in this communication is strictly
> prohibited by anyone except the named individual or that person's agent. If
> you have received this Email in error, please notify the sender immediately
> and destroy this Email. Thank You.
>

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

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

The information contained in this Email message is private and confidential. It may contain Protected Health Information deemed confidential by HIPAA regulations. It is intended only for the use of the individual(s) named above, and the privileges are not waived by virtue of this information having been sent by Email. Any use, dissemination, distribution or copying of this the information contained in this communication is strictly prohibited by anyone except the named individual or that person's agent. If you have received this Email in error, please notify the sender immediately and destroy this Email. Thank You.


From: Dhiraj Chawla <dhiraj(dot)chawla(at)enterprisedb(dot)com>
To: dpage(at)pgadmin(dot)org
Cc: "pgadmin-support(at)postgresql(dot)org" <pgadmin-support(at)postgresql(dot)org>, pgadmin-hackers(at)postgresql(dot)org, "Russell L(dot) Galyon" <Russell(dot)Galyon(at)centerstoneresearch(dot)org>
Subject: Re: [pgadmin-support] pgAdmin Crashes When Opening a *.sql File From Windows Explorer
Date: 2011-01-10 15:21:31
Message-ID: AANLkTimXG5qajeLvdhiMW5wyZVGVaCSm3GrLH2AKpsoG@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgadmin-hackers pgadmin-support

Hi Dave,

I was able to reproduce the issue. Please find attached patches for master
and REL_1_12_PATCHES branches.

Thanks,
Dhiraj

On Mon, Jan 10, 2011 at 6:49 PM, Russell L. Galyon <
Russell(dot)Galyon(at)centerstoneresearch(dot)org> wrote:

> Nothing is wrong with my associations that I am aware of (Windows XP x64,
> Sophos). I tried this on a co-workers pc (Windows Vista, Sophos) and got the
> same result. Then because of your note I tried on a non work related laptop
> (Windows 7, McAfee) and it worked without issue. Given that I am guessing
> this is either something to do with an Active Directory policy our virus
> protection. Has anyone had issues with specific policy settings or Sophos?
> ________________________________________
> From: Dhiraj Chawla [dhiraj(dot)chawla(at)enterprisedb(dot)com]
> Sent: Monday, January 10, 2011 1:52 AM
> To: Russell L. Galyon
> Cc: pgadmin-support(at)postgresql(dot)org
> Subject: Re: [pgadmin-support] pgAdmin Crashes When Opening a *.sql File
> From Windows Explorer
>
> Hi Russell,
>
> I am not able to reproduce this issue on my Windows system with the steps
> that you have mentioned below.
>
> I just wanted to ask if you have done any manual file association of *.sql
> file with pgadmin3 on your windows system? If so can you share information
> about that with us?
>
> Regards,
> Dhiraj
>
> On Thu, Jan 6, 2011 at 3:55 PM, Dave Page <dpage(at)pgadmin(dot)org<mailto:
> dpage(at)pgadmin(dot)org>> wrote:
> Dhiraj,
>
> Can you take a look at this issue please?
>
> Thanks!
>
> On Tue, Jan 4, 2011 at 10:37 PM, Russell L. Galyon
> <Russell(dot)Galyon(at)centerstoneresearch(dot)org<mailto:
> Russell(dot)Galyon(at)centerstoneresearch(dot)org>> wrote:
> > PGAdmin Version 1.12.2 (Dec 13 2010, REL-1_12_2)
> >
> > Workstation - Windows XP x64 SP2
> >
> >
> >
> > When I right click on a *.sql file in Windows Explorer and select Open
> With
> > pgAdmin III the splash screen is shown followed by the login box. After
> > making login box selections, I receive an error window stating “pgAdmin
> III
> > – Postgres SQL Tools has encountered a problem and needs to close. We are
> > sorry for the inconvenience.”
> >
> >
> >
> > I am able to open and utilize pgAdmin from the start menu and open *.sql
> > files from the file>open in the sql tool.
> >
> >
> >
> >
> >
> >
> >
> > Russell Galyon
> >
> > ________________________________
> > The information contained in this Email message is private and
> confidential.
> > It may contain Protected Health Information deemed confidential by HIPAA
> > regulations. It is intended only for the use of the individual(s) named
> > above, and the privileges are not waived by virtue of this information
> > having been sent by Email. Any use, dissemination, distribution or
> copying
> > of this the information contained in this communication is strictly
> > prohibited by anyone except the named individual or that person's agent.
> If
> > you have received this Email in error, please notify the sender
> immediately
> > and destroy this Email. Thank You.
> >
>
>
>
> --
> Dave Page
> Blog: http://pgsnake.blogspot.com
> Twitter: @pgsnake
>
> EnterpriseDB UK: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>
>
> The information contained in this Email message is private and
> confidential. It may contain Protected Health Information deemed
> confidential by HIPAA regulations. It is intended only for the use of the
> individual(s) named above, and the privileges are not waived by virtue of
> this information having been sent by Email. Any use, dissemination,
> distribution or copying of this the information contained in this
> communication is strictly prohibited by anyone except the named individual
> or that person's agent. If you have received this Email in error, please
> notify the sender immediately and destroy this Email. Thank You.
>

--
regards,
Dhiraj

Attachment Content-Type Size
CrashReport_OpeningSQL_Directly_master.patch application/octet-stream 404 bytes
CrashReport_OpeningSQL_Directly_REL_1_12.patch application/octet-stream 404 bytes

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Dhiraj Chawla <dhiraj(dot)chawla(at)enterprisedb(dot)com>
Cc: dpage(at)pgadmin(dot)org, "pgadmin-support(at)postgresql(dot)org" <pgadmin-support(at)postgresql(dot)org>, pgadmin-hackers(at)postgresql(dot)org, "Russell L(dot) Galyon" <Russell(dot)Galyon(at)centerstoneresearch(dot)org>
Subject: Re: Re: [pgadmin-support] pgAdmin Crashes When Opening a *.sql File From Windows Explorer
Date: 2011-01-10 15:38:52
Message-ID: 4D2B280C.4060804@lelarge.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgadmin-hackers pgadmin-support

Le 10/01/2011 16:21, Dhiraj Chawla a écrit :
> Hi Dave,
>
> I was able to reproduce the issue. Please find attached patches for master
> and REL_1_12_PATCHES branches.
>

Oh, clever. If the query tool is opened from a file, there is no
browser, meaning mainForm is NULL.

Good catch.

Thanks, Dhiraj.

--
Guillaume
http://www.postgresql.fr
http://dalibo.com


From: Dave Page <dpage(at)pgadmin(dot)org>
To: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
Cc: Dhiraj Chawla <dhiraj(dot)chawla(at)enterprisedb(dot)com>, "pgadmin-support(at)postgresql(dot)org" <pgadmin-support(at)postgresql(dot)org>, pgadmin-hackers(at)postgresql(dot)org, "Russell L(dot) Galyon" <Russell(dot)Galyon(at)centerstoneresearch(dot)org>
Subject: Re: Re: [pgadmin-support] pgAdmin Crashes When Opening a *.sql File From Windows Explorer
Date: 2011-01-10 17:24:07
Message-ID: AANLkTiksfkvoKF13dMDNx1gKN3G48EHBFN3exCahBqjt@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgadmin-hackers pgadmin-support

On Mon, Jan 10, 2011 at 3:38 PM, Guillaume Lelarge
<guillaume(at)lelarge(dot)info> wrote:
> Le 10/01/2011 16:21, Dhiraj Chawla a écrit :
>> Hi Dave,
>>
>> I was able to reproduce the issue. Please find attached patches for master
>> and REL_1_12_PATCHES branches.
>>
>
> Oh, clever. If the query tool is opened from a file, there is no
> browser, meaning mainForm is NULL.
>
> Good catch.
>
> Thanks, Dhiraj.

Yes - thanks Dhiraj. Patch applied to both trunk, and the 1.12 branch.

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

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