Thread: Query Tool Initialization Error

Query Tool Initialization Error

From
Chris Cowan
Date:
I have encountered a problem with loading the Query Tool with Postgres 10 and 9.6.  I have uninstalled/reinstalled and tried different versions, but I am unable to clear this problem.  Unless there is a known solution I will need to switch to another db.

Let me know if this is a known problem with a solution.

Re: Query Tool Initialization Error

From
Murtuza Zabuawala
Date:
Hi,

Could you provide more details like,

- What is your pgAdmin4 version?
- How did you installed it?
- On which OS you are trying to run pgAdmin4?
- Could you please provide pgAdmin4.log file with debug mode on.
For more information check: https://www.pgadmin.org/faq/#8
(Rename/delete your previous log file, once you set the debug mode, try to reproduce the issue in pgAdmin4 again and send us the log file)
- If you are running the latest version of pgAdmin4(v3.0) then also provide a screenshot of browser's console window.



--
Regards,
Murtuza Zabuawala
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


On Thu, May 17, 2018 at 2:28 AM, Chris Cowan <chriscowanuk@gmail.com> wrote:
I have encountered a problem with loading the Query Tool with Postgres 10 and 9.6.  I have uninstalled/reinstalled and tried different versions, but I am unable to clear this problem.  Unless there is a known solution I will need to switch to another db.

Let me know if this is a known problem with a solution.

Re: Query Tool Initialization Error

From
Jan Birk
Date:

Hi,

I have seen the same error when renaming the alias.

In /etc/httpd/conf.d/pgadmin4-30.conf

renaming the alias from:

WSGIScriptAlias /pgadmin4-30 /usr/lib/python2.7/site-packages/pgadmin4-30-web/pgAdmin4.wsgi

to

WSGIScriptAlias /pgadmin4 /usr/lib/python2.7/site-packages/pgadmin4-30-web/pgAdmin4.wsgi

will give the Query Tool Initialization Error

Best and thanks for a nice product

/Jan




On 17-05-2018 10:13, Murtuza Zabuawala wrote:
Hi,

Could you provide more details like,

- What is your pgAdmin4 version?
- How did you installed it?
- On which OS you are trying to run pgAdmin4?
- Could you please provide pgAdmin4.log file with debug mode on.
For more information check: https://www.pgadmin.org/faq/#8
(Rename/delete your previous log file, once you set the debug mode, try to reproduce the issue in pgAdmin4 again and send us the log file)
- If you are running the latest version of pgAdmin4(v3.0) then also provide a screenshot of browser's console window.



--
Regards,
Murtuza Zabuawala
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


On Thu, May 17, 2018 at 2:28 AM, Chris Cowan <chriscowanuk@gmail.com> wrote:
I have encountered a problem with loading the Query Tool with Postgres 10 and 9.6.  I have uninstalled/reinstalled and tried different versions, but I am unable to clear this problem.  Unless there is a known solution I will need to switch to another db.

Let me know if this is a known problem with a solution.


Re: Query Tool Initialization Error

From
Chris Cowan
Date:
Ok, will do, but will be late today (UK time).

Chris
sent from iPhone

From: Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com>
Sent: Thursday, May 17, 2018 9:13:57 AM
To: Chris Cowan
Cc: pgAdmin Support
Subject: Re: Query Tool Initialization Error
 
Hi,

Could you provide more details like,

- What is your pgAdmin4 version?
- How did you installed it?
- On which OS you are trying to run pgAdmin4?
- Could you please provide pgAdmin4.log file with debug mode on.
For more information check: https://www.pgadmin.org/faq/#8
(Rename/delete your previous log file, once you set the debug mode, try to reproduce the issue in pgAdmin4 again and send us the log file)
- If you are running the latest version of pgAdmin4(v3.0) then also provide a screenshot of browser's console window.



--
Regards,
Murtuza Zabuawala
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


On Thu, May 17, 2018 at 2:28 AM, Chris Cowan <chriscowanuk@gmail.com> wrote:
I have encountered a problem with loading the Query Tool with Postgres 10 and 9.6.  I have uninstalled/reinstalled and tried different versions, but I am unable to clear this problem.  Unless there is a known solution I will need to switch to another db.

Let me know if this is a known problem with a solution.

Re: Query Tool Initialization Error

From
"Chris @ Home"
Date:
I decided to switch to SQL Server. Life is too short to debug open source database tools!

Sent from iPhone

On 17 May 2018, at 09:13, Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com> wrote:

Hi,

Could you provide more details like,

- What is your pgAdmin4 version?
- How did you installed it?
- On which OS you are trying to run pgAdmin4?
- Could you please provide pgAdmin4.log file with debug mode on.
For more information check: https://www.pgadmin.org/faq/#8
(Rename/delete your previous log file, once you set the debug mode, try to reproduce the issue in pgAdmin4 again and send us the log file)
- If you are running the latest version of pgAdmin4(v3.0) then also provide a screenshot of browser's console window.



--
Regards,
Murtuza Zabuawala
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


On Thu, May 17, 2018 at 2:28 AM, Chris Cowan <chriscowanuk@gmail.com> wrote:
I have encountered a problem with loading the Query Tool with Postgres 10 and 9.6.  I have uninstalled/reinstalled and tried different versions, but I am unable to clear this problem.  Unless there is a known solution I will need to switch to another db.

Let me know if this is a known problem with a solution.

Re: Query Tool Initialization Error

From
Patrick Headley
Date:

Apparently life isn't too short to wait for Windows product updates and troubleshoot bugs in MS products.

On 05/19/2018 07:14 AM, Chris @ Home wrote:
I decided to switch to SQL Server. Life is too short to debug open source database tools!

Sent from iPhone

On 17 May 2018, at 09:13, Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com> wrote:

Hi,

Could you provide more details like,

- What is your pgAdmin4 version?
- How did you installed it?
- On which OS you are trying to run pgAdmin4?
- Could you please provide pgAdmin4.log file with debug mode on.
For more information check: https://www.pgadmin.org/faq/#8
(Rename/delete your previous log file, once you set the debug mode, try to reproduce the issue in pgAdmin4 again and send us the log file)
- If you are running the latest version of pgAdmin4(v3.0) then also provide a screenshot of browser's console window.



--
Regards,
Murtuza Zabuawala
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


On Thu, May 17, 2018 at 2:28 AM, Chris Cowan <chriscowanuk@gmail.com> wrote:
I have encountered a problem with loading the Query Tool with Postgres 10 and 9.6.  I have uninstalled/reinstalled and tried different versions, but I am unable to clear this problem.  Unless there is a known solution I will need to switch to another db.

Let me know if this is a known problem with a solution.


Re: Query Tool Initialization Error

From
"David G. Johnston"
Date:
On Sat, May 19, 2018 at 6:14 AM, Chris @ Home <chriscowanuk@gmail.com> wrote:
I decided to switch to SQL Server. Life is too short to debug open source database tools!


​Just for the record pgAdmin is a third-party tool unaffiliated with the PostgreSQL Database Server project (for better and worse there isn't an official GUI application)​.

I'm sure you can find a different open source or commercial tool that will serve your needs and allow you to realize whatever advantages you imagined when you initially choose to use the PostgreSQL Server.

David J.