Re: centos 7 / pgadmin 4.7

Поиск
Список
Период
Сортировка
От Khushboo Vashi
Тема Re: centos 7 / pgadmin 4.7
Дата
Msg-id CAFOhELcS3b=J6yXE_4bNyexvR4-uFMq9W9tC55BUXPWj3i4KRg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: centos 7 / pgadmin 4.7  (Alex Williams <valenceshell@protonmail.com>)
Список pgadmin-support


On Wed, Jun 5, 2019 at 8:16 PM Alex Williams <valenceshell@protonmail.com> wrote:
Hi Khushboo,

Thanks! This is working after the update. I've put two outputs below, the yum update / console output:

Good to hear that everything is working fine.

1. [root@centos7dev output]# yum update
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
epel/x86_64/metalink                                                                                                                                    |  17 kB  00:00:00    
* nux-dextop: mirror.li.nux.ro
adobe-linux-x86_64                                                                                                                                      | 2.9 kB  00:00:00    
base                                                                                                                                                    | 3.6 kB  00:00:00    
epel                                                                                                                                                    | 5.3 kB  00:00:00    
extras                                                                                                                                                  | 3.4 kB  00:00:00    
google-talkplugin                                                                                                                                       |  951 B  00:00:00    
nux-dextop                                                                                                                                              | 2.9 kB  00:00:00    
pgdg10                                                                                                                                                  | 3.6 kB  00:00:00    
pgdg11                                                                                                                                                  | 3.6 kB  00:00:00    
pgdg94                                                                                                                                                  | 3.6 kB  00:00:00    
pgdg95                                                                                                                                                  | 3.6 kB  00:00:00    
pgdg96                                                                                                                                                  | 3.6 kB  00:00:00    
skype-stable                                                                                                                                            | 2.9 kB  00:00:00    
updates                                                                                                                                                 | 3.4 kB  00:00:00    
(1/7): epel/x86_64/updateinfo                                                                                                                           | 974 kB  00:00:00    
(2/7): pgdg94/7/x86_64/primary_db                                                                                                                       | 259 kB  00:00:01    
(3/7): epel/x86_64/primary_db                                                                                                                           | 6.7 MB  00:00:01    
(4/7): pgdg95/7/x86_64/primary_db                                                                                                                       | 247 kB  00:00:00    
(5/7): pgdg10/7/x86_64/primary_db                                                                                                                       | 231 kB  00:00:02    
(6/7): pgdg96/7/x86_64/primary_db                                                                                                                       | 249 kB  00:00:00    
(7/7): pgdg11/7/x86_64/primary_db                                                                                                                       | 187 kB  00:00:02    
Resolving Dependencies
--> Running transaction check
---> Package pgadmin4-python-flask.noarch 1:0.12.4-1.rhel7 will be updated
---> Package pgadmin4-python-flask.noarch 1:1.0.2-1.rhel7 will be an update
---> Package pgadmin4-python-werkzeug.noarch 0:0.11.11-4.rhel7.1 will be updated
---> Package pgadmin4-python-werkzeug.noarch 0:0.15.4-1.rhel7 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

===============================================================================================================================================================================
Package                                              Arch                               Version                                      Repository                          Size
===============================================================================================================================================================================
Updating:
pgadmin4-python-flask                                noarch                             1:1.0.2-1.rhel7                              pgdg10                             149 k
pgadmin4-python-werkzeug                             noarch                             0.15.4-1.rhel7                               pgdg10                             460 k

Transaction Summary
===============================================================================================================================================================================
Upgrade  2 Packages

Total download size: 609 k
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for pgdg10
(1/2): pgadmin4-python-werkzeug-0.15.4-1.rhel7.noarch.rpm                                                                                               | 460 kB  00:00:01    
(2/2): pgadmin4-python-flask-1.0.2-1.rhel7.noarch.rpm                                                                                                   | 149 kB  00:00:00    
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                          476 kB/s | 609 kB  00:00:01    
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : pgadmin4-python-werkzeug-0.15.4-1.rhel7.noarch                                                                                                              1/4
  Updating   : 1:pgadmin4-python-flask-1.0.2-1.rhel7.noarch                                                                                                                2/4
  Cleanup    : 1:pgadmin4-python-flask-0.12.4-1.rhel7.noarch                                                                                                               3/4
  Cleanup    : pgadmin4-python-werkzeug-0.11.11-4.rhel7.1.noarch                                                                                                           4/4
  Verifying  : 1:pgadmin4-python-flask-1.0.2-1.rhel7.noarch                                                                                                                1/4
  Verifying  : pgadmin4-python-werkzeug-0.15.4-1.rhel7.noarch                                                                                                              2/4
  Verifying  : 1:pgadmin4-python-flask-0.12.4-1.rhel7.noarch                                                                                                               3/4
  Verifying  : pgadmin4-python-werkzeug-0.11.11-4.rhel7.1.noarch                                                                                                           4/4

Updated:
  pgadmin4-python-flask.noarch 1:1.0.2-1.rhel7                                         pgadmin4-python-werkzeug.noarch 0:0.15.4-1.rhel7                                       

Complete!



2. Console output on opening pgadmin if FF:
unreachable code after return statement[Learn More]
vendor.js:68:25689
unreachable code after return statement[Learn More]
vendor.js:68:26103
exported wcDocker
vendor.js:93:159528
sprintf() will be removed in the next major release, use the sprintf-js package instead.
vendor.js:155:171936
unreachable code after return statement[Learn More]
vendor.js:68:25689
unreachable code after return statement[Learn More]


Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Wednesday, June 5, 2019 12:16 AM, Khushboo Vashi <khushboo.vashi@enterprisedb.com> wrote:

Hi Alex, 

Can you please test the latest packages released by the packager as mentioned in the RM https://redmine.postgresql.org/issues/4313?

Thanks,
Khushboo

On Tue, Jun 4, 2019 at 10:03 PM Alex Williams <valenceshell@protonmail.com> wrote:
Also, I've updated the ticket with the info below and the solution from Mike is working:

yum downgrade pgadmin4-python-flask



[root@centos7dev output]# yum downgrade pgadmin4-python-flask
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
epel/x86_64/metalink | 19 kB 00:00:00 * base: mirror.atlanticmetro.net * epel: ewr.edge.kernel.org * extras: mirror.atlanticmetro.net * nux-dextop: mirror.li.nux.ro * updates: mirror.atlanticmetro.net
adobe-linux-x86_64 | 2.9 kB 00:00:00
base | 3.6 kB 00:00:00
extras | 3.4 kB 00:00:00
google-talkplugin | 951 B 00:00:00
nux-dextop | 2.9 kB 00:00:00
pgdg10 | 3.6 kB 00:00:00
pgdg11 | 3.6 kB 00:00:00
pgdg94 | 3.6 kB 00:00:00
pgdg95 | 3.6 kB 00:00:00
pgdg96 | 3.6 kB 00:00:00
skype-stable | 2.9 kB 00:00:00
updates | 3.4 kB 00:00:00
Resolving Dependencies
--> Running transaction check
---> Package pgadmin4-python-flask.noarch 1:0.12.4-1.rhel7 will be a downgrade
---> Package pgadmin4-python-flask.noarch 1:1.0.2-1.rhel7 will be erased
--> Finished Dependency Resolution


Dependencies Resolved


===============================================================================================================================================================================
Package Arch Version Repository Size ===============================================================================================================================================================================
Downgrading:
pgadmin4-python-flask noarch 1:0.12.4-1.rhel7 pgdg10 132 k



Transaction Summary ===============================================================================================================================================================================
Downgrade 1 Package



Total download size: 132 k
Is this ok [y/d/N]: y
Downloading packages:
pgadmin4-python-flask-0.12.4-1.rhel7.noarch.rpm | 132 kB 00:00:01
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : 1:pgadmin4-python-flask-0.12.4-1.rhel7.noarch 1/2
Cleanup : 1:pgadmin4-python-flask-1.0.2-1.rhel7.noarch 2/2
Verifying : 1:pgadmin4-python-flask-0.12.4-1.rhel7.noarch 1/2
Verifying : 1:pgadmin4-python-flask-1.0.2-1.rhel7.noarch 2/2



Removed:
pgadmin4-python-flask.noarch 1:1.0.2-1.rhel7



Installed:
pgadmin4-python-flask.noarch 1:0.12.4-1.rhel7



Complete!
[root@centos7dev output]#




Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Tuesday, June 4, 2019 12:20 PM, Alex Williams <valenceshell@protonmail.com> wrote:

Also, if I try to open those javascripts directly, I get the following responses:
require.min.js:
info
""
errormsg
"make_conditional() got an unexpected keyword argument 'accept_ranges'"
data
null
result
null
success
0

vendor.js:
nfo
""
errormsg
"make_conditional() got an unexpected keyword argument 'accept_ranges'"
data
null
result
null
success
0

pgadmin_commons.js:
info
""
errormsg
"make_conditional() got an unexpected keyword argument 'accept_ranges'"
data
null
result
null
success
0

Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Tuesday, June 4, 2019 11:38 AM, Alex Williams <valenceshell@protonmail.com> wrote:

Thank you both....also, here's is the console output when opening pgadmin on the browser:

Loading failed for the <script> with source “http://127.0.0.1:37498/static/vendor/require/require.min.js?ver=40700”.
browser:4
ReferenceError: require is not defined[Learn More]
browser:5:13
Loading failed for the <script> with source “http://127.0.0.1:37498/static/js/generated/vendor.js?ver=40700”.
browser:25
Loading failed for the <script> with source “
browser:25
Loading failed for the <script> with source “http://127.0.0.1:37498/static/js/generated/pgadmin_commons.js?ver=40700”.
browser:25
ReferenceError: require is not defined[Learn More]
browser:48:1
ReferenceError: require is not defined
Stack trace:


Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Tuesday, June 4, 2019 1:37 AM, Fahar Abbas <fahar.abbas@enterprisedb.com> wrote:

Hi Khushboo,

This issue is already reported and attached the pgadmin4.log file:
-----


On Tue, Jun 4, 2019 at 9:42 AM Khushboo Vashi <khushboo.vashi@enterprisedb.com> wrote:


On Mon, Jun 3, 2019 at 9:16 PM Alex Williams <valenceshell@protonmail.com> wrote:
Hi,

I did a yum update yesterday which updated some parts of pgadmin and now when I open the browser to use it, I get:

Loading pgAdmin 4 v4.7...

And nothing else.

This is the updated package list:

[root@centos7dev output]# yum update
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
epel/x86_64/metalink                                                                                                                                    |  17 kB  00:00:00    
* nux-dextop: mirror.li.nux.ro
adobe-linux-x86_64                                                                                                                                      | 2.9 kB  00:00:00    
base                                                                                                                                                    | 3.6 kB  00:00:00    
epel                                                                                                                                                    | 5.3 kB  00:00:00    
extras                                                                                                                                                  | 3.4 kB  00:00:00    
google-talkplugin                                                                                                                                       |  951 B  00:00:00    
nux-dextop                                                                                                                                              | 2.9 kB  00:00:00    
pgdg10                                                                                                                                                  | 3.6 kB  00:00:00    
pgdg11                                                                                                                                                  | 3.6 kB  00:00:00    
pgdg94                                                                                                                                                  | 3.6 kB  00:00:00    
pgdg95                                                                                                                                                  | 3.6 kB  00:00:00    
pgdg96                                                                                                                                                  | 3.6 kB  00:00:00    
skype-stable                                                                                                                                            | 2.9 kB  00:00:00    
updates                                                                                                                                                 | 3.4 kB  00:00:00    
(1/8): pgdg10/7/x86_64/primary_db                                                                                                                       | 230 kB  00:00:00    
(2/8): epel/x86_64/updateinfo                                                                                                                           | 977 kB  00:00:01    
(3/8): pgdg95/7/x86_64/primary_db                                                                                                                       | 247 kB  00:00:00    
(4/8): pgdg94/7/x86_64/primary_db                                                                                                                       | 258 kB  00:00:01    
(5/8): pgdg11/7/x86_64/primary_db                                                                                                                       | 185 kB  00:00:01    
(6/8): epel/x86_64/primary_db                                                                                                                           | 6.7 MB  00:00:02    
(7/8): skype-stable/primary_db                                                                                                                          |  11 kB  00:00:00    
(8/8): pgdg96/7/x86_64/primary_db                                                                                                                       | 248 kB  00:00:02    
Resolving Dependencies
--> Running transaction check
---> Package pgadmin4.x86_64 0:4.7-2.rhel7 will be updated
---> Package pgadmin4.x86_64 0:4.8-1.rhel7 will be an update
---> Package pgadmin4-desktop-common.x86_64 0:4.7-2.rhel7 will be updated
---> Package pgadmin4-desktop-common.x86_64 0:4.8-1.rhel7 will be an update
---> Package pgadmin4-docs.noarch 0:4.7-2.rhel7 will be updated
---> Package pgadmin4-docs.noarch 0:4.8-1.rhel7 will be an update
---> Package pgadmin4-web.noarch 0:4.7-2.rhel7 will be updated
---> Package pgadmin4-web.noarch 0:4.8-1.rhel7 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

===============================================================================================================================================================================
Package                                              Arch                                Version                                    Repository                           Size
===============================================================================================================================================================================
Updating:
pgadmin4                                             x86_64                              4.8-1.rhel7                                pgdg10                               10 k
pgadmin4-desktop-common                              x86_64                              4.8-1.rhel7                                pgdg10                              274 k
pgadmin4-docs                                        noarch                              4.8-1.rhel7                                pgdg10                               29 M
pgadmin4-web                                         noarch                              4.8-1.rhel7                                pgdg10                              5.2 M

Transaction Summary
===============================================================================================================================================================================
Upgrade  4 Packages

Total download size: 34 M
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for pgdg10
(1/4): pgadmin4-4.8-1.rhel7.x86_64.rpm                                                                                                                  |  10 kB  00:00:00    
(2/4): pgadmin4-desktop-common-4.8-1.rhel7.x86_64.rpm                                                                                                   | 274 kB  00:00:00    
(3/4): pgadmin4-web-4.8-1.rhel7.noarch.rpm                                                                                                              | 5.2 MB  00:00:02    
(4/4): pgadmin4-docs-4.8-1.rhel7.noarch.rpm                                                                                                             |  29 MB  00:00:27    
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                          1.2 MB/s |  34 MB  00:00:28    
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : pgadmin4-docs-4.8-1.rhel7.noarch                                                                                                                            1/8
  Updating   : pgadmin4-web-4.8-1.rhel7.noarch                                                                                                                             2/8
  Updating   : pgadmin4-desktop-common-4.8-1.rhel7.x86_64                                                                                                                  3/8
  Updating   : pgadmin4-4.8-1.rhel7.x86_64                                                                                                                                 4/8
  Cleanup    : pgadmin4-4.7-2.rhel7.x86_64                                                                                                                                 5/8
  Cleanup    : pgadmin4-desktop-common-4.7-2.rhel7.x86_64                                                                                                                  6/8
  Cleanup    : pgadmin4-web-4.7-2.rhel7.noarch                                                                                                                             7/8
  Cleanup    : pgadmin4-docs-4.7-2.rhel7.noarch                                                                                                                            8/8
  Verifying  : pgadmin4-desktop-common-4.8-1.rhel7.x86_64                                                                                                                  1/8
  Verifying  : pgadmin4-web-4.8-1.rhel7.noarch                                                                                                                             2/8
  Verifying  : pgadmin4-4.8-1.rhel7.x86_64                                                                                                                                 3/8
  Verifying  : pgadmin4-docs-4.8-1.rhel7.noarch                                                                                                                            4/8
  Verifying  : pgadmin4-4.7-2.rhel7.x86_64                                                                                                                                 5/8
  Verifying  : pgadmin4-docs-4.7-2.rhel7.noarch                                                                                                                            6/8
  Verifying  : pgadmin4-web-4.7-2.rhel7.noarch                                                                                                                             7/8
  Verifying  : pgadmin4-desktop-common-4.7-2.rhel7.x86_64                                                                                                                  8/8

Updated:
  pgadmin4.x86_64 0:4.8-1.rhel7        pgadmin4-desktop-common.x86_64 0:4.8-1.rhel7        pgadmin4-docs.noarch 0:4.8-1.rhel7        pgadmin4-web.noarch 0:4.8-1.rhel7      

Complete!


Any help would be greatly appreciated.

Do you see any error on browser console?
Please clear the cache and run the application.

Thanks,

Alex


Sent with ProtonMail Secure Email.



--
Fahar Abbas
QMG

EnterpriseDB Corporation
Phone Office: +92-51-835-8874
Phone Direct: +92-51-8466803
Mobile: +92-333-5409707
Skype ID: live:fahar.abbas




В списке pgadmin-support по дате отправления:

Предыдущее
От: Aditya Toshniwal
Дата:
Сообщение: Re: BUG #15831: pgadmin bug: add column and comment failure when youalter table
Следующее
От: Dave Page
Дата:
Сообщение: Re: pgAdmin4 4.8 Kubuntu issues