pgadmin server-status does not display

Поиск
Список
Период
Сортировка
Искать

pgadmin server-status does not display

От:
Walter Nordmann <wnordmann@gmx.de>
Дата:

Hi, after using pgadmin3 for more than 3 years, suddenly nothing is displayed in the status monitor exept the logfile.

see:

 

i tried everything including reinstall but nothings helped. The main parts of pgadmin3 gui are running fine.

Regards
walter


Re: pgadmin server-status does not display

От:
Walter Nordmann <wnordmann@gmx.de>
Дата:

Hi, nobody able - or willing - to give me a hint?

i'm really lost. :(

regards

Walter

Am 08.11.2016 um 01:06 schrieb Walter Nordmann:

Hi, after using pgadmin3 for more than 3 years, suddenly nothing is displayed in the status monitor exept the logfile.

see:

 

i tried everything including reinstall but nothings helped. The main parts of pgadmin3 gui are running fine.

Regards
walter



Re: pgadmin server-status does not display

От:
Ashesh Vashi <ashesh.vashi@enterprisedb.com>
Дата:

Hi Walter Nordmann,


I am assuming, you're using the linux.

Please check the log files for the pgAdmin III (i.e. ~/pgadmin.log) for any clue for failure.

The last option is to rename the ~/.pgadmin3 (settings file for pgAdmin III) on any linux environment.

NOTE:

- This file contains the settings for pgAdmin3. You may loose existing server information.

- The latest database server may not work with older version of pgAdmin 3.


-- Ashesh Vashi


On Nov 9, 2016 07:16, "Walter Nordmann" <wnordmann@gmx.de> wrote:

Hi, nobody able - or willing - to give me a hint?

i'm really lost. :(

regards

Walter

Am 08.11.2016 um 01:06 schrieb Walter Nordmann:

Hi, after using pgadmin3 for more than 3 years, suddenly nothing is displayed in the status monitor exept the logfile.

see:

 

i tried everything including reinstall but nothings helped. The main parts of pgadmin3 gui are running fine.

Regards
walter



Re: pgadmin server-status does not display

От:
Melvin Davidson <melvin6925@yahoo.com>
Дата:
Walter,

Thanks for additional details.

I believe Ashesh Vashi has already given you the best advice of renaming the ~/.pgadmin3 file.
Please do not reply directly to me, as I am just another user like you. All replies

Melvin Davidson
    Cell 720-320-0155
I reserve the right to fantasize.  Whether or not you
wish to share my fantasy is entirely up to you.
www.youtube.com/unusedhero/videos
Folk Alley - All Folk - 24 Hours a day
www.folkalley.com




From: Walter Nordmann <wnordmann@gmx.de>
To: Melvin Davidson <melvin6925@yahoo.com>
Sent: Wednesday, November 9, 2016 6:28 AM
Subject: Re: [pgadmin-support] pgadmin server-status does not display

Hi Melvin,
sorry for missing details.
What is the exact version of PgAdmin3?
1.22.1 , but older versions (1.18.? and higher) had the same problem.
What is the O/S?
ubuntu 14.04 server, 16.10 client - but 16.4 had the same problem
What is the vesion of PostgreSQL you are connecting to?
server 9.4.0, client 9.6.0 - but client 9.4(?) and 9.5 had the same problem
What is the username specified in the connection parameters?
postgres
Is that user a superuser?
of course.


Regards
walter


Re: pgadmin server-status does not display

От:
Walter Nordmann <wnordmann@gmx.de>
Дата:

Hi melvin,

Am 09.11.2016 um 15:11 schrieb Melvin Davidson:
Walter,

Thanks for additional details.

I believe Ashesh Vashi has already given you the best advice of renaming the ~/.pgadmin3 file.

deleting ~/ .pgadmin3 did not change anything.

Please do not reply directly to me, as I am just another user like you. All replies

sorry, my fault. hit the wrong reply button :(

regards
walter

Re: pgadmin server-status does not display

От:
Walter Nordmann <wnordmann@gmx.de>
Дата:

Hi Melvin,

sorry for missing details.

What is the exact version of PgAdmin3?
1.22.1 , but older versions (1.18.? and higher) had the same problem.
What is the O/S?
ubuntu 14.04 server, 16.10 client - but 16.4 had the same problem
What is the vesion of PostgreSQL you are connecting to?
server 9.4.0, client 9.6.0 - but client 9.4(?) and 9.5 had the same problem
What is the username specified in the connection parameters?
postgres
Is that user a superuser?
of course.

Regards
walter

-----------------------------------------------------

resent because of wrong reply-address

Re: pgadmin server-status does not display

От:
Melvin Davidson <melvin6925@yahoo.com>
Дата:
>deleting ~/ .pgadmin3 did not change anything.
Did you restart pgadmin3 after deleting?
Did you look at pgadmin3.log to see if there are any obvious related errors?
Just as a wild thought, if you su as root and run pgadmin3 as root, does the problem still occur?


Melvin Davidson
    Cell 720-320-0155
I reserve the right to fantasize.  Whether or not you
wish to share my fantasy is entirely up to you.
www.youtube.com/unusedhero/videos
Folk Alley - All Folk - 24 Hours a day
www.folkalley.com




From: Walter Nordmann <wnordmann@gmx.de>
To: pgadmin-support@postgresql.org
Sent: Wednesday, November 9, 2016 11:12 AM
Subject: Re: [pgadmin-support] pgadmin server-status does not display

Hi melvin,

Am 09.11.2016 um 15:11 schrieb Melvin Davidson:
Walter,

Thanks for additional details.

I believe Ashesh Vashi has already given you the best advice of renaming the ~/.pgadmin3 file.

deleting ~/ .pgadmin3 did not change anything.

Please do not reply directly to me, as I am just another user like you. All replies

sorry, my fault. hit the wrong reply button :(

regards

walter


Re: pgadmin server-status does not display

От:
Dave Page <dpage@pgadmin.org>
Дата:
Further suggestion:

- Set the log level to debug.
- Stop pgAdmin
- Delete the log
- Start pgAdmin, open the status dialogue and wait for a few minutes
- Close pgAdmin and send the log

On Wed, Nov 9, 2016 at 4:34 PM, Melvin Davidson <melvin6925@yahoo.com> wrote:
>deleting ~/ .pgadmin3 did not change anything.
Did you restart pgadmin3 after deleting?
Did you look at pgadmin3.log to see if there are any obvious related errors?
Just as a wild thought, if you su as root and run pgadmin3 as root, does the problem still occur?


Melvin Davidson
    Cell 720-320-0155
I reserve the right to fantasize.  Whether or not you
wish to share my fantasy is entirely up to you.
www.youtube.com/unusedhero/videos
Folk Alley - All Folk - 24 Hours a day
www.folkalley.com




From: Walter Nordmann <wnordmann@gmx.de>
To: pgadmin-support@postgresql.org
Sent: Wednesday, November 9, 2016 11:12 AM
Subject: Re: [pgadmin-support] pgadmin server-status does not display

Hi melvin,

Am 09.11.2016 um 15:11 schrieb Melvin Davidson:
Walter,

Thanks for additional details.

I believe Ashesh Vashi has already given you the best advice of renaming the ~/.pgadmin3 file.

deleting ~/ .pgadmin3 did not change anything.

Please do not reply directly to me, as I am just another user like you. All replies

sorry, my fault. hit the wrong reply button :(

regards

walter





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

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

Re: pgadmin server-status does not display

От:
Walter Nordmann <wnordmann@gmx.de>
Дата:

Hi melvin,

Am 09.11.2016 um 17:34 schrieb Melvin Davidson:
>deleting ~/ .pgadmin3 did not change anything.
Did you restart pgadmin3 after deleting?
of course
Did you look at pgadmin3.log to see if there are any obvious related errors?
yes, but no entries.
Just as a wild thought, if you su as root and run pgadmin3 as root, does the problem still occur?

no difference

regards
walter

btw: checked postgresql log on server side and didn't see any problems too.

Re: pgadmin server-status does not display

От:
Walter Nordmann <wnordmann@gmx.de>
Дата:
Вложения:
Hi dave

good idea -  did'nt know this feature :(


Am 09.11.2016 um 17:38 schrieb Dave Page:
> Further suggestion:
>
> - Set the log level to debug.
> - Stop pgAdmin
> - Delete the log
> - Start pgAdmin, open the status dialogue and wait for a few minutes
> - Close pgAdmin and send the log
>
see log

regards
walter

Re: pgadmin server-status does not display

От:
Dave Page <dpage@pgadmin.org>
Дата:
On Wed, Nov 9, 2016 at 6:00 PM, Walter Nordmann  wrote:
> Hi dave
>
> good idea -  did'nt know this feature :(
>
>
> Am 09.11.2016 um 17:38 schrieb Dave Page:
>>
>> Further suggestion:
>>
>> - Set the log level to debug.
>> - Stop pgAdmin
>> - Delete the log
>> - Start pgAdmin, open the status dialogue and wait for a few minutes
>> - Close pgAdmin and send the log
>>
> see log

OK, that revealed a couple of things:

1) It's running the queries I'd expect to populate the blank lists, so
it's really a display issue.

2) You're running a debug build.

So,

1) Please try selecting the View -> Default View option from the menu,
to reset the layout.

2) Why are you running a debug build?

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

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


Re: pgadmin server-status does not display

От:
Walter Nordmann <wnordmann@gmx.de>
Дата:

Hi dave,

1) Please try selecting the View -> Default View option from the menu,
to reset the layout.
ok, did it many time. but no changes.
2) Why are you running a debug build?
don't think so:



in the log i can't see any result for queries except fetching the pg_log-files. but i'm not 100% shure where to look at.

regards
walter

btw: Still waiting for postgres running on 16.10 yaketty. would like to install the newest version of pgadmin4.

Re: pgadmin server-status does not display

От:
Dave Page <dpage@pgadmin.org>
Дата:
Вложения:
Hi

On Thu, Nov 10, 2016 at 11:51 AM, Walter Nordmann <wnordmann@gmx.de> wrote:

Hi dave,

1) Please try selecting the View -> Default View option from the menu,
to reset the layout.
ok, did it many time. but no changes.
2) Why are you running a debug build?
don't think so:



The log has:

INFO   : 18:54:15: Running a DEBUG build.

and that is only output if the build was done with the WXDEBUG flag set. It shouldn't make any difference here, but isn't the norm.
 

in the log i can't see any result for queries except fetching the pg_log-files. but i'm not 100% shure where to look at.

This query, for example, is used to populate the Activity pane:

SELECT p.pid AS pid, application_name, datname, usename,
CASE WHEN client_port=-1 THEN 'local pipe' WHEN length(client_hostname)>0 THEN client_hostname||':'||client_port ELSE textin(inet_out(client_addr))||':'||client_port END AS client,
date_trunc('second', backend_start) AS backend_start, CASE WHEN state='active' THEN date_trunc('second', query_start)::text ELSE '' END AS query_start,
date_trunc('second', xact_start) AS xact_start, state, date_trunc('second', state_change) AS state_change, backend_xid::text, backend_xmin::text, (SELECT min(l1.pid) FROM pg_locks l1 WHERE GRANTED AND (relation IN (SELECT relation FROM pg_locks l2 WHERE l2.pid=p.pid AND NOT granted) OR transactionid IN (SELECT transactionid FROM pg_locks l3 WHERE l3.pid=p.pid AND NOT granted))) AS blockedby,
query AS query,
CASE WHEN query_start IS NULL OR state<>'active' THEN false ELSE query_start < now() - '10 seconds'::interval END AS slowquery
FROM pg_stat_activity p ORDER BY 1 ASC

If I'm honest, I'm pretty stumped now. I can't see any reason why the data wouldn't be displayed. Anyone else?

btw: Still waiting for postgres running on 16.10 yaketty. would like to install the newest version of pgadmin4.

If we can find a Debian/Ubuntu packager, I'd be happy to oblige. :-/

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

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

Re: pgadmin server-status does not display

От:
Walter Nordmann <wnordmann@gmx.de>
Дата:
Hi dave,

INFO   : 18:54:15: Running a DEBUG build.

and that is only output if the build was done with the WXDEBUG flag set. It shouldn't make any difference here, but isn't the norm
Really strange - but that should not be the problem.

in the log i can't see any result for queries except fetching the pg_log-files. but i'm not 100% shure where to look at.

This query, for example, is used to populate the Activity pane:

SELECT p.pid AS pid, application_name, datname, usename,
CASE WHEN client_port=-1 THEN 'local pipe' WHEN length(client_hostname)>0 THEN client_hostname||':'||client_port ELSE textin(inet_out(client_addr))||':'||client_port END AS client,
date_trunc('second', backend_start) AS backend_start, CASE WHEN state='active' THEN date_trunc('second', query_start)::text ELSE '' END AS query_start,
date_trunc('second', xact_start) AS xact_start, state, date_trunc('second', state_change) AS state_change, backend_xid::text, backend_xmin::text, (SELECT min(l1.pid) FROM pg_locks l1 WHERE GRANTED AND (relation IN (SELECT relation FROM pg_locks l2 WHERE l2.pid=p.pid AND NOT granted) OR transactionid IN (SELECT transactionid FROM pg_locks l3 WHERE l3.pid=p.pid AND NOT granted))) AS blockedby,
query AS query,
CASE WHEN query_start IS NULL OR state<>'active' THEN false ELSE query_start < now() - '10 seconds'::interval END AS slowquery
FROM pg_stat_activity p ORDER BY 1 ASC

If I'm honest, I'm pretty stumped now. I can't see any reason why the data wouldn't be displayed. Anyone else?
Tried the query using psql - and of course it's returning data.

May be you should add an info about returned data in the debug log? something like "77 lines received"

First i'll use a network sniffer (wireshark) to see the answer sent to the client.
Next i'll install pgadmin4 from source (no big problem for me but using packets for such a tool is much easier)

thank's for your patience
Walter

Re: pgadmin server-status does not display

От:
Dave Page <dpage@pgadmin.org>
Дата:
Hi

On Fri, Nov 11, 2016 at 1:14 PM, Walter Nordmann  wrote:
> Hi dave,
>
> INFO   : 18:54:15: Running a DEBUG build.
>
> and that is only output if the build was done with the WXDEBUG flag set. It
> shouldn't make any difference here, but isn't the norm
>
> Really strange - but that should not be the problem.
>>
>>
>> in the log i can't see any result for queries except fetching the
>> pg_log-files. but i'm not 100% shure where to look at.
>
>
> This query, for example, is used to populate the Activity pane:
>
> SELECT p.pid AS pid, application_name, datname, usename,
> CASE WHEN client_port=-1 THEN 'local pipe' WHEN length(client_hostname)>0
> THEN client_hostname||':'||client_port ELSE
> textin(inet_out(client_addr))||':'||client_port END AS client,
> date_trunc('second', backend_start) AS backend_start, CASE WHEN
> state='active' THEN date_trunc('second', query_start)::text ELSE '' END AS
> query_start,
> date_trunc('second', xact_start) AS xact_start, state, date_trunc('second',
> state_change) AS state_change, backend_xid::text, backend_xmin::text,
> (SELECT min(l1.pid) FROM pg_locks l1 WHERE GRANTED AND (relation IN (SELECT
> relation FROM pg_locks l2 WHERE l2.pid=p.pid AND NOT granted) OR
> transactionid IN (SELECT transactionid FROM pg_locks l3 WHERE l3.pid=p.pid
> AND NOT granted))) AS blockedby,
> query AS query,
> CASE WHEN query_start IS NULL OR state<>'active' THEN false ELSE query_start
> < now() - '10 seconds'::interval END AS slowquery
> FROM pg_stat_activity p ORDER BY 1 ASC
>
> If I'm honest, I'm pretty stumped now. I can't see any reason why the data
> wouldn't be displayed. Anyone else?
>
> Tried the query using psql - and of course it's returning data.
>
> May be you should add an info about returned data in the debug log?
> something like "77 lines received"

We've released the last ever version of pgAdmin III now, so that
change won't happen I'm afraid.

> First i'll use a network sniffer (wireshark) to see the answer sent to the
> client.
> Next i'll install pgadmin4 from source (no big problem for me but using
> packets for such a tool is much easier)

OK. Please let us know if that makes a difference. I can't see that it
would - but then, I can't see what would cause this anyway. It's very,
very odd.

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

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


Re: pgadmin server-status does not display

От:
Walter Nordmann <wnordmann@gmx.de>
Дата:
Hi dave,

Am 11.11.2016 um 14:17 schrieb Dave Page:a.
> May be you should add an info about returned data in the debug log?
> something like "77 lines received"
> We've released the last ever version of pgAdmin III now, so that
> change won't happen I'm afraid.
>
Yes, pgadmin3 is closed - talking about pgadmin4 - may be it has been 
done there.
>> First i'll use a network sniffer (wireshark) to see the answer sent to the
>> client.
seeing the ethernet-packes on the network. must be something on MY 
client side :( But i would like to use pgadmin4 anyway.
>> Next i'll install pgadmin4 from source (no big problem for me but using
>> packets for such a tool is much easier)
Problems making pgadmin4

/opt/install/postgresql/pgadmin4/pgadmin4-1.1/runtime$ qmake
Project MESSAGE: Building for QT5+...
Project MESSAGE: Building for Linux/Mac...
Project MESSAGE: Using /usr/bin/python-config
Project MESSAGE: Python2 detected.
walter@server2:/opt/install/postgresql/pgadmin4/pgadmin4-1.1/runtime$ make
g++ -c -m64 -pipe -I/usr/include/python2.7 
-I/usr/include/x86_64-linux-gnu/python2.7 -O2 -Wall -W -D_REENTRANT 
-fPIC -DPYTHON2 -DQT_NO_DEBUG -DQT_WEBKITWIDGETS_LIB -DQT_WIDGETS_LIB 
-DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -isystem 
/usr/include/x86_64-linux-gnu/qt5 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtWebKitWidgets -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtWebKit -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtGui -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. 
-I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o pgAdmin4.o 
pgAdmin4.cpp
...
...
...
g++ -c -m64 -pipe -I/usr/include/python2.7 
-I/usr/include/x86_64-linux-gnu/python2.7 -O2 -Wall -W -D_REENTRANT 
-fPIC -DPYTHON2 -DQT_NO_DEBUG -DQT_WEBKITWIDGETS_LIB -DQT_WIDGETS_LIB 
-DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -isystem 
/usr/include/x86_64-linux-gnu/qt5 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtWebKitWidgets -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtWebKit -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtGui -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. 
-I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o ConfigWindow.o 
ConfigWindow.cpp
In file included from ConfigWindow.cpp:13:0:
ui_ConfigWindow.h:13:25: fatal error: QtGui/QAction: Datei oder 
Verzeichnis nicht gefunden #include                          ^

and make is right. there is no QtGui/Qaction on my system (fresh 
installed qt5 dev packages)

ls -la /usr/include/x86_64-linux-gnu/qt5/QtGui
insgesamt 6656
drwxr-xr-x  2 root root  20480 Nov 11 15:09 .
drwxr-xr-x 23 root root   4096 Nov 11 15:12 ..
-rw-r--r--  1 root root     41 Mai 25 17:46 QAbstractTextDocumentLayout
...
-rw-r--r--  1 root root     25 Mai 25 17:46 QAccessibleTextSelectionEvent
-rw-r--r--  1 root root     25 Mai 25 17:46 QAccessibleTextUpdateEvent
-rw-r--r--  1 root root     25 Mai 25 17:46 QAccessibleValueChangeEvent
-rw-r--r--  1 root root     25 Mai 25 17:46 QAccessibleValueInterface
-rw-r--r--  1 root root     20 Mai 25 17:46 
QActionEvent                             <-----------------------
-rw-r--r--  1 root root     20 Mai 25 17:46 QApplicationStateChangeEvent
-rw-r--r--  1 root root     27 Mai 25 17:46 QBackingStore
-rw-r--r--  1 root root   2749 Mai 25 17:46 qbackingstore.h
...


sorry, if this is not the right place to send making errors.

Regards
walter




Re: pgadmin server-status does not display

От:
Dave Page <dpage@pgadmin.org>
Дата:
Hi

On Fri, Nov 11, 2016 at 2:34 PM, Walter Nordmann  wrote:
>
> Problems making pgadmin4
>
> /opt/install/postgresql/pgadmin4/pgadmin4-1.1/runtime$ qmake
> Project MESSAGE: Building for QT5+...
> Project MESSAGE: Building for Linux/Mac...
> Project MESSAGE: Using /usr/bin/python-config
> Project MESSAGE: Python2 detected.
> walter@server2:/opt/install/postgresql/pgadmin4/pgadmin4-1.1/runtime$ make
> g++ -c -m64 -pipe -I/usr/include/python2.7
> -I/usr/include/x86_64-linux-gnu/python2.7 -O2 -Wall -W -D_REENTRANT -fPIC
> -DPYTHON2 -DQT_NO_DEBUG -DQT_WEBKITWIDGETS_LIB -DQT_WIDGETS_LIB
> -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -isystem
> /usr/include/x86_64-linux-gnu/qt5 -isystem
> /usr/include/x86_64-linux-gnu/qt5/QtWebKitWidgets -isystem
> /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem
> /usr/include/x86_64-linux-gnu/qt5/QtWebKit -isystem
> /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem
> /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem
> /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I.
> -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o pgAdmin4.o
> pgAdmin4.cpp
> ...
> ...
> ...
> g++ -c -m64 -pipe -I/usr/include/python2.7
> -I/usr/include/x86_64-linux-gnu/python2.7 -O2 -Wall -W -D_REENTRANT -fPIC
> -DPYTHON2 -DQT_NO_DEBUG -DQT_WEBKITWIDGETS_LIB -DQT_WIDGETS_LIB
> -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -isystem
> /usr/include/x86_64-linux-gnu/qt5 -isystem
> /usr/include/x86_64-linux-gnu/qt5/QtWebKitWidgets -isystem
> /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem
> /usr/include/x86_64-linux-gnu/qt5/QtWebKit -isystem
> /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem
> /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem
> /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I.
> -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o ConfigWindow.o
> ConfigWindow.cpp
> In file included from ConfigWindow.cpp:13:0:
> ui_ConfigWindow.h:13:25: fatal error: QtGui/QAction: Datei oder Verzeichnis
> nicht gefunden
>  #include 
>                          ^
>
> and make is right. there is no QtGui/Qaction on my system (fresh installed
> qt5 dev packages)

Hmm, I'm not an Ubuntu user, but I grabbed a copy and gave it a try
and found I needed to install the following:

qt5-default
python-dev
libqt5webkit5-dev

That was enough to build the runtime - of course, there's more to do
to get the Python side going, but the README should help with that.

One caveat - for v1.2 we're moving from QtWebKit to QtWebEngine by
default, plus we have some other fixes in the runtime to make it more
stable. Unfortunately it seems that Ubuntu don't yet include
QtWebEngine, though it is on it's way according to
https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1579265/comments/6

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

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


Re: pgadmin server-status does not display

От:
Walter Nordmann <wnordmann@gmx.de>
Дата:

> Hmm, I'm not an Ubuntu user, but I grabbed a copy and gave it a try
> and found I needed to install the following:
>
> qt5-default
> python-dev
> libqt5webkit5-dev
That's what i had to install too. Before the make.
> That was enough to build the runtime - of course, there's more to do
> to get the Python side going, but the README should help with that.
don't think, that's a python problem.

i can't find any package for qt5 with QtGui/QAction. Only QtWidgets/QAction

see

#apt-file search QAction
libqt4-dev: /usr/include/qt4/QtGui/QAction
libqt4-dev: /usr/include/qt4/QtGui/QActionEvent
libqt4-dev: /usr/include/qt4/QtGui/QActionGroup
libqt53drender5-gles: /usr/include/x86_64-linux-gnu/qt5/Qt3DInput/QAction
libqt53drender5-gles: /usr/include/x86_64-linux-gnu/qt5/Qt3DInput/QActionInput
libunity-scopes-qt-dev: /usr/include/unity-scopes-qt-0.2/unity/scopes/qt/QActionMetadata.h
qt3d5-dev: /usr/include/x86_64-linux-gnu/qt5/Qt3DInput/QAction
qt3d5-dev: /usr/include/x86_64-linux-gnu/qt5/Qt3DInput/QActionInput
qtbase5-dev: /usr/include/x86_64-linux-gnu/qt5/QtGui/QActionEvent
qtbase5-dev: /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QAction
qtbase5-dev: /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QActionGroup
qtbase5-gles-dev: /usr/include/x86_64-linux-gnu/qt5/QtGui/QActionEvent
qtbase5-gles-dev: /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QAction
qtbase5-gles-dev: /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QActionGroup
#


i'll wait until somebody created a package for ubuntu 16.10 yaketti :(

Regards
walter


Re: pgadmin server-status does not display

От:
Dave Page <dpage@pgadmin.org>
Дата:
On Sat, Nov 12, 2016 at 9:28 AM, Walter Nordmann  wrote:
>
>> Hmm, I'm not an Ubuntu user, but I grabbed a copy and gave it a try
>> and found I needed to install the following:
>>
>> qt5-default
>> python-dev
>> libqt5webkit5-dev
>
> That's what i had to install too. Before the make.
>>
>> That was enough to build the runtime - of course, there's more to do
>> to get the Python side going, but the README should help with that.
>
> don't think, that's a python problem.
>
> i can't find any package for qt5 with QtGui/QAction. Only QtWidgets/QAction
>
> see
>
> #apt-file search QAction
> libqt4-dev: /usr/include/qt4/QtGui/QAction
> libqt4-dev: /usr/include/qt4/QtGui/QActionEvent
> libqt4-dev: /usr/include/qt4/QtGui/QActionGroup
> libqt53drender5-gles: /usr/include/x86_64-linux-gnu/qt5/Qt3DInput/QAction
> libqt53drender5-gles:
> /usr/include/x86_64-linux-gnu/qt5/Qt3DInput/QActionInput
> libunity-scopes-qt-dev:
> /usr/include/unity-scopes-qt-0.2/unity/scopes/qt/QActionMetadata.h
> qt3d5-dev: /usr/include/x86_64-linux-gnu/qt5/Qt3DInput/QAction
> qt3d5-dev: /usr/include/x86_64-linux-gnu/qt5/Qt3DInput/QActionInput
> qtbase5-dev: /usr/include/x86_64-linux-gnu/qt5/QtGui/QActionEvent
> qtbase5-dev: /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QAction
> qtbase5-dev: /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QActionGroup
> qtbase5-gles-dev: /usr/include/x86_64-linux-gnu/qt5/QtGui/QActionEvent
> qtbase5-gles-dev: /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QAction
> qtbase5-gles-dev: /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QActionGroup
> #

That's basically what I get as well. Note that the file you're having
issues with is ui_ConfigWindow.h which is actually auto-generated. In
the Makefile that's created by qmake, I have the following to create
that. What do you get?

ui_ConfigWindow.h: ConfigWindow.ui       /usr/lib/x86_64-linux-gnu/qt5/bin/uic ConfigWindow.ui -o
ui_ConfigWindow.h

> i'll wait until somebody created a package for ubuntu 16.10 yaketti :(

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

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


Re: pgadmin server-status does not display

От:
Walter Nordmann <wnordmann@gmx.de>
Дата:
Hi dave
> That's basically what I get as well. Note that the file you're having
> issues with is ui_ConfigWindow.h which is actually auto-generated. In
> the Makefile that's created by qmake, I have the following to create
> that. What do you get?
>
> ui_ConfigWindow.h: ConfigWindow.ui
>          /usr/lib/x86_64-linux-gnu/qt5/bin/uic ConfigWindow.ui -o
> ui_ConfigWindow.h
i got the same:

ui_ConfigWindow.h: ConfigWindow.ui    /usr/lib/x86_64-linux-gnu/qt5/bin/uic ConfigWindow.ui -o 
ui_ConfigWindow.h

and of this:

/********************************************************************************
** Form generated from reading UI file 'ConfigWindow.ui'
**
** Created by: Qt User Interface Compiler version 4.8.7
**
** WARNING! All changes made in this file will be lost when recompiling 
UI file!
********************************************************************************/

#ifndef UI_CONFIGWINDOW_H
#define UI_CONFIGWINDOW_H

#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
.....

STRANGE: looks like 4.8.7 and not 5.6 !!  using the wrong compiler? 
4.8.7 plus 5.6 are installed.

i think i should deinstall 4.8.7-dev, ok?

btw: in 4.8 QtGui/QAction does exist.

Regards
walter



Re: pgadmin server-status does not display

От:
Dave Page <dpage@pgadmin.org>
Дата:
On Mon, Nov 14, 2016 at 8:51 PM, Walter Nordmann  wrote:
> Hi dave
>>
>> That's basically what I get as well. Note that the file you're having
>> issues with is ui_ConfigWindow.h which is actually auto-generated. In
>> the Makefile that's created by qmake, I have the following to create
>> that. What do you get?
>>
>> ui_ConfigWindow.h: ConfigWindow.ui
>>          /usr/lib/x86_64-linux-gnu/qt5/bin/uic ConfigWindow.ui -o
>> ui_ConfigWindow.h
>
> i got the same:
>
> ui_ConfigWindow.h: ConfigWindow.ui
>     /usr/lib/x86_64-linux-gnu/qt5/bin/uic ConfigWindow.ui -o
> ui_ConfigWindow.h
>
> and of this:
>
> /********************************************************************************
> ** Form generated from reading UI file 'ConfigWindow.ui'
> **
> ** Created by: Qt User Interface Compiler version 4.8.7
> **
> ** WARNING! All changes made in this file will be lost when recompiling UI
> file!
> ********************************************************************************/
>
> #ifndef UI_CONFIGWINDOW_H
> #define UI_CONFIGWINDOW_H
>
> #include 
> #include 
> #include 
> #include 
> #include 
> #include 
> #include 
> #include 
> #include 
> #include 
> #include 
> .....
>
> STRANGE: looks like 4.8.7 and not 5.6 !!  using the wrong compiler? 4.8.7
> plus 5.6 are installed.
>
> i think i should deinstall 4.8.7-dev, ok?

That would seem like a good possible solution, yes.

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

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


FAQ