Re: [pgAdmin4][Patch]: RM #1513 - Unable to do max selection to drop tables/sequences/functions

2018-11-01 Thread Khushboo Vashi
Please find attached patch to fix the test case for the resource groups.

On Wed, Oct 31, 2018 at 5:07 PM Dave Page  wrote:

> Ahh - ignore my previous email :-)
>
> Patch committed!
>
> On Wed, Oct 31, 2018 at 11:09 AM Khushboo Vashi <
> khushboo.va...@enterprisedb.com> wrote:
>
>> Please find the patch to fix the test cases.
>> As I can not reproduce the issue, I have fixed as per the logs.
>>
>>
>>
>> On Wed, Oct 31, 2018 at 4:01 PM Dave Page  wrote:
>>
>>> Thanks - patch applied!
>>>
>>> On Wed, Oct 31, 2018 at 10:05 AM Khushboo Vashi <
>>> khushboo.va...@enterprisedb.com> wrote:
>>>
 Hi,

 Please find the attached updated patch.

 Thanks,
 Khushboo

 On Mon, Oct 22, 2018 at 6:15 PM Akshay Joshi <
 akshay.jo...@enterprisedb.com> wrote:

> Hi Khushboo
>
> Following are the review comments:
>
>1. There is difference in the colour of the two icons for Drop and
>Drop Cascade when both the button are disabled. Please refer 
> Disabled_Icons.
>png.
>
> This will be taken care in the design changes.

>
>1. Delete/Drop and Drop Cascade button should not be enabled if
>none of the object is selected.
>
> Provided alert messages.

>
>1.
>2. Databases:
>   - When select all the databases including maintenance database
>   it throws an error "Connection to the server has been lost". Please 
> refer
>   Database_Error.png
>   - Checkbox should be disabled for maintenance database (if
>   possible)
>
> Done

>
>1. Catalogs:
>   - This feature should not be applicable to *Catalogs* and all
>   there child nodes.
>
> Done

>
>-
>1. Roles:
>   - When select all the roles and try to delete it, it throws an
>   error "Current user can not be dropped". Can we specify the name of 
> the
>   current user in the error message? Please refer Role_Error.png
>   - Checkbox should be disabled for current user (if possible)
>   - When select all the roles except the current user, for some
>   reason pgAdmin4 unable to delete one role then, rest of the roles 
> are not
>   deleted. Is this expected behaviour?
>2. pgAgent Jobs:
>   - Unable to Delete/Drop pgAgent Jobs. Please refer pgAgent_Jobs.
>   png
>
> Done

>
>1. Document changes not included in the patch.
>
> Missed to attach in the previous patch. attached now.

>
>1. Following API test cases were failing:
>   - EventTriggerMultipleDeleteTestCase (Fetch Event Trigger Node
>   URL)
>   - SchemaDeleteMultipleTestCase (Check Schema Node URL)
>   - DatabaseMultipleDeleteTestCase (Check Databases Node URL)
>   - ExtensionsDeleteMultipleTestCase (Check Extension Node)
>   - CollationDeleteMultipleTestCase (Fetch collation Node URL)
>
> Error:-  " flask.debughelpers.FormDataRoutingRedirect: b'A request
> was sent to this URL (http://localhost/browser/database/obj/1/5) but
> a redirect was issued automatically by the routing system to "http://
> localhost/browser/database/obj/1/5/".  The URL was defined with a
> trailing slash so Flask will automatically redirect to the URL with the
> trailing slash if it was accessed without one.  Make sure to directly send
> your DELETE-request to this URL since we can\'t make browsers or HTTP
> clients redirect with form data reliably or without user interaction.\n\
> nNote: this exception is only raised in debug mode".
>
>
> Can not reproduce at my end.

>
> On Mon, Oct 22, 2018 at 11:36 AM Khushboo Vashi <
> khushboo.va...@enterprisedb.com> wrote:
>
>> Hi,
>>
>> Please find the attached updated patch.
>>
>> On Wed, Oct 17, 2018 at 7:58 PM Dave Page  wrote:
>>
>>> Hi
>>>
>>> Some relatively minor details to fix please:
>>>
>>> - There's no doc update.
>>>
>>> Done.
>>
>>> - I think fa-trash-alt might be better for the Drop icon.
>>>
>>> Done.
>>
>>> - I don't like the Drop Cascade icon. Maybe have Chethana create one
>>> based on fa-trash-alt, shrunken a little with a downwards pointing 
>>> arrow on
>>> the bottom right.
>>>
>>> Done.
>>
>>> Thanks!
>>>
>>> Thanks,
>> Khushboo
>>
>>> On Tue, Oct 16, 2018 at 10:23 AM Khushboo Vashi <
>>> khushboo.va...@enterprisedb.com> wrote:
>>>
 Hi,

 Please find the attached updated patch with the following changes.
 1. Introduced header buttons for Drop and Drop Cascade
 2. Fixed checkbox alignment issue
 3. Refresh the grid on the error

 Currently I have removed multi delete table-space test case. I hav

pgAdmin 4 commit: Fix resource group multi-drop test.

2018-11-01 Thread Dave Page
Fix resource group multi-drop test.

Branch
--
master

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=628f0d254ed144bd0bf5ab59d0072059a496e9d1

Modified Files
--
.../tests/test_resource_groups_delete_multiple.py  | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)



Re: [pgAdmin4][Patch]: RM #1513 - Unable to do max selection to drop tables/sequences/functions

2018-11-01 Thread Dave Page
Thanks, applied.

On Thu, Nov 1, 2018 at 7:32 AM Khushboo Vashi <
khushboo.va...@enterprisedb.com> wrote:

> Please find attached patch to fix the test case for the resource groups.
>
> On Wed, Oct 31, 2018 at 5:07 PM Dave Page  wrote:
>
>> Ahh - ignore my previous email :-)
>>
>> Patch committed!
>>
>> On Wed, Oct 31, 2018 at 11:09 AM Khushboo Vashi <
>> khushboo.va...@enterprisedb.com> wrote:
>>
>>> Please find the patch to fix the test cases.
>>> As I can not reproduce the issue, I have fixed as per the logs.
>>>
>>>
>>>
>>> On Wed, Oct 31, 2018 at 4:01 PM Dave Page  wrote:
>>>
 Thanks - patch applied!

 On Wed, Oct 31, 2018 at 10:05 AM Khushboo Vashi <
 khushboo.va...@enterprisedb.com> wrote:

> Hi,
>
> Please find the attached updated patch.
>
> Thanks,
> Khushboo
>
> On Mon, Oct 22, 2018 at 6:15 PM Akshay Joshi <
> akshay.jo...@enterprisedb.com> wrote:
>
>> Hi Khushboo
>>
>> Following are the review comments:
>>
>>1. There is difference in the colour of the two icons for Drop
>>and Drop Cascade when both the button are disabled. Please refer
>>Disabled_Icons.png.
>>
>> This will be taken care in the design changes.
>
>>
>>1. Delete/Drop and Drop Cascade button should not be enabled if
>>none of the object is selected.
>>
>> Provided alert messages.
>
>>
>>1.
>>2. Databases:
>>   - When select all the databases including maintenance database
>>   it throws an error "Connection to the server has been lost". 
>> Please refer
>>   Database_Error.png
>>   - Checkbox should be disabled for maintenance database (if
>>   possible)
>>
>> Done
>
>>
>>1. Catalogs:
>>   - This feature should not be applicable to *Catalogs* and all
>>   there child nodes.
>>
>> Done
>
>>
>>-
>>1. Roles:
>>   - When select all the roles and try to delete it, it throws an
>>   error "Current user can not be dropped". Can we specify the name 
>> of the
>>   current user in the error message? Please refer Role_Error.png
>>   - Checkbox should be disabled for current user (if possible)
>>   - When select all the roles except the current user, for some
>>   reason pgAdmin4 unable to delete one role then, rest of the roles 
>> are not
>>   deleted. Is this expected behaviour?
>>2. pgAgent Jobs:
>>   - Unable to Delete/Drop pgAgent Jobs. Please refer pgAgent
>>   _Jobs.png
>>
>> Done
>
>>
>>1. Document changes not included in the patch.
>>
>> Missed to attach in the previous patch. attached now.
>
>>
>>1. Following API test cases were failing:
>>   - EventTriggerMultipleDeleteTestCase (Fetch Event Trigger Node
>>   URL)
>>   - SchemaDeleteMultipleTestCase (Check Schema Node URL)
>>   - DatabaseMultipleDeleteTestCase (Check Databases Node URL)
>>   - ExtensionsDeleteMultipleTestCase (Check Extension Node)
>>   - CollationDeleteMultipleTestCase (Fetch collation Node URL)
>>
>> Error:-  " flask.debughelpers.FormDataRoutingRedirect: b'A request
>> was sent to this URL (http://localhost/browser/database/obj/1/5) but
>> a redirect was issued automatically by the routing system to "http://
>> localhost/browser/database/obj/1/5/".  The URL was defined with a
>> trailing slash so Flask will automatically redirect to the URL with the
>> trailing slash if it was accessed without one.  Make sure to directly 
>> send
>> your DELETE-request to this URL since we can\'t make browsers or HTTP
>> clients redirect with form data reliably or without user interaction.\n\
>> nNote: this exception is only raised in debug mode".
>>
>>
>> Can not reproduce at my end.
>
>>
>> On Mon, Oct 22, 2018 at 11:36 AM Khushboo Vashi <
>> khushboo.va...@enterprisedb.com> wrote:
>>
>>> Hi,
>>>
>>> Please find the attached updated patch.
>>>
>>> On Wed, Oct 17, 2018 at 7:58 PM Dave Page  wrote:
>>>
 Hi

 Some relatively minor details to fix please:

 - There's no doc update.

 Done.
>>>
 - I think fa-trash-alt might be better for the Drop icon.

 Done.
>>>
 - I don't like the Drop Cascade icon. Maybe have Chethana create
 one based on fa-trash-alt, shrunken a little with a downwards pointing
 arrow on the bottom right.

 Done.
>>>
 Thanks!

 Thanks,
>>> Khushboo
>>>
 On Tue, Oct 16, 2018 at 10:23 AM Khushboo Vashi <
 khushboo.va...@enterprisedb.com> wrote:

> Hi,
>
> Please find the attached updated patch with the 

Jenkins build is back to normal : pgadmin4-master-python35 #792

2018-11-01 Thread pgAdmin 4 Jenkins
See 





Jenkins build is back to normal : pgadmin4-master-python37 #39

2018-11-01 Thread pgAdmin 4 Jenkins
See 





Jenkins build is back to normal : pgadmin4-master-python27 #805

2018-11-01 Thread pgAdmin 4 Jenkins
See 





Jenkins build is back to normal : pgadmin4-master-python26 #935

2018-11-01 Thread pgAdmin 4 Jenkins
See 





Jenkins build is back to normal : pgadmin4-master-python36 #794

2018-11-01 Thread pgAdmin 4 Jenkins
See 





Fedora 29 startup issue

2018-11-01 Thread Devrim Gündüz

Hi,

Fedora 29, Python 3.7. When I run:

/usr/pgadmin4/runtime/pgAdmin4

Getting:

An error occurred initialising the application server:
Failed to locate pgAdmin4.py, terminating server thread.

$ cat /etc/xdg/pgadmin/pgadmin4.conf 
ApplicationPath="/usr/lib/python3.7/site-packages/pgadmin4-web/"
PythonPath="/usr/lib/python3.7/site-packages:/usr/lib64/python3.7/site-packages"


What am I missing?

Regards,
-- 
Devrim Gündüz
EnterpriseDB: https://www.enterprisedb.com
PostgreSQL Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR


signature.asc
Description: This is a digitally signed message part


Re: Fedora 29 startup issue

2018-11-01 Thread Dave Page
On Thu, Nov 1, 2018 at 9:58 AM Devrim Gündüz  wrote:

>
> Hi,
>
> Fedora 29, Python 3.7. When I run:
>
> /usr/pgadmin4/runtime/pgAdmin4
>
> Getting:
>
> An error occurred initialising the application server:
> Failed to locate pgAdmin4.py, terminating server thread.
>
> $ cat /etc/xdg/pgadmin/pgadmin4.conf
> ApplicationPath="/usr/lib/python3.7/site-packages/pgadmin4-web/"
>
> PythonPath="/usr/lib/python3.7/site-packages:/usr/lib64/python3.7/site-packages"
>
>
> What am I missing?
>

What does the startup log say? Look for ~/.pgAdmin4.startup.log

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

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


Re: Fedora 29 startup issue

2018-11-01 Thread Fahar Abbas
Hi Dave,

On Thu, Nov 1, 2018 at 3:04 PM Dave Page  wrote:

>
>
> On Thu, Nov 1, 2018 at 9:58 AM Devrim Gündüz  wrote:
>
>>
>> Hi,
>>
>> Fedora 29, Python 3.7. When I run:
>>
>> /usr/pgadmin4/runtime/pgAdmin4
>>
>> Getting:
>>
>> An error occurred initialising the application server:
>> Failed to locate pgAdmin4.py, terminating server thread.
>>
>> $ cat /etc/xdg/pgadmin/pgadmin4.conf
>> ApplicationPath="/usr/lib/python3.7/site-packages/pgadmin4-web/"
>>
>> PythonPath="/usr/lib/python3.7/site-packages:/usr/lib64/python3.7/site-packages"
>>
>>
>> What am I missing?
>>
>
> What does the startup log say? Look for ~/.pgAdmin4.startup.log
>
01.11.2018 15:05:55 Checking for system tray...
01.11.2018 15:05:55 Starting pgAdmin4 server...
01.11.2018 15:05:55 Creating server object, port:55183,
key:b3ef7ca8-a755-4284-8b8d-2d82b810ef30,
logfile:/root/.pgAdmin4.5793612742908622588.log
01.11.2018 15:05:55 Python Path:
/usr/lib/python2.7/site-packages:/usr/lib64/python2.7/site-packages
01.11.2018 15:05:55 Python Home:
01.11.2018 15:05:55 Initializing Python...
01.11.2018 15:05:55 Python initialized.
01.11.2018 15:05:55 Adding new additional path elements
01.11.2018 15:05:55 Redirecting stderr...
01.11.2018 15:05:55 stderr redirected successfully.
01.11.2018 15:05:55 Initializing server...
01.11.2018 15:05:55 Webapp Path:
/usr/lib/python2.7/site-packages/pgadmin4-web/pgAdmin4.py
01.11.2018 15:05:55 Server initialized.
01.11.2018 15:05:55 Starting Server Thread...
01.11.2018 15:05:55 Open the application code and run it.
01.11.2018 15:05:55 Set the port number, key and force SERVER_MODE off
01.11.2018 15:05:55 PyRun_SimpleFile launching application server...
01.11.2018 15:05:56 Application Server URL:
http://127.0.0.1:55183/?key=b3ef7ca8-a755-4284-8b8d-2d82b810ef30
01.11.2018 15:05:56 The server should be up, we'll attempt to connect and
get a response. Ping the server
01.11.2018 15:06:04 Failed to launch the application server, server thread
exiting.
01.11.2018 15:06:26 Attempt to connect one more time in case of a long
network timeout while looping

>
> --
> Dave Page
> Blog: http://pgsnake.blogspot.com
> Twitter: @pgsnake
>
> EnterpriseDB UK: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>


-- 
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*
Website: www.enterprisedb.com


Jenkins build is back to normal : pgadmin4-master-python34 #792

2018-11-01 Thread pgAdmin 4 Jenkins
See 





Re: Fedora 29 startup issue

2018-11-01 Thread Dave Page
On Thu, Nov 1, 2018 at 10:08 AM Fahar Abbas 
wrote:

> Hi Dave,
>
> On Thu, Nov 1, 2018 at 3:04 PM Dave Page  wrote:
>
>>
>>
>> On Thu, Nov 1, 2018 at 9:58 AM Devrim Gündüz  wrote:
>>
>>>
>>> Hi,
>>>
>>> Fedora 29, Python 3.7. When I run:
>>>
>>> /usr/pgadmin4/runtime/pgAdmin4
>>>
>>> Getting:
>>>
>>> An error occurred initialising the application server:
>>> Failed to locate pgAdmin4.py, terminating server thread.
>>>
>>> $ cat /etc/xdg/pgadmin/pgadmin4.conf
>>> ApplicationPath="/usr/lib/python3.7/site-packages/pgadmin4-web/"
>>>
>>> PythonPath="/usr/lib/python3.7/site-packages:/usr/lib64/python3.7/site-packages"
>>>
>>>
>>> What am I missing?
>>>
>>
>> What does the startup log say? Look for ~/.pgAdmin4.startup.log
>>
> 01.11.2018 15:05:55 Checking for system tray...
> 01.11.2018 15:05:55 Starting pgAdmin4 server...
> 01.11.2018 15:05:55 Creating server object, port:55183,
> key:b3ef7ca8-a755-4284-8b8d-2d82b810ef30,
> logfile:/root/.pgAdmin4.5793612742908622588.log
> 01.11.2018 15:05:55 Python Path:
> /usr/lib/python2.7/site-packages:/usr/lib64/python2.7/site-packages
> 01.11.2018 15:05:55 Python Home:
> 01.11.2018 15:05:55 Initializing Python...
> 01.11.2018 15:05:55 Python initialized.
> 01.11.2018 15:05:55 Adding new additional path elements
> 01.11.2018 15:05:55 Redirecting stderr...
> 01.11.2018 15:05:55 stderr redirected successfully.
> 01.11.2018 15:05:55 Initializing server...
> 01.11.2018 15:05:55 Webapp Path:
> /usr/lib/python2.7/site-packages/pgadmin4-web/pgAdmin4.py
> 01.11.2018 15:05:55 Server initialized.
> 01.11.2018 15:05:55 Starting Server Thread...
> 01.11.2018 15:05:55 Open the application code and run it.
> 01.11.2018 15:05:55 Set the port number, key and force SERVER_MODE off
> 01.11.2018 15:05:55 PyRun_SimpleFile launching application server...
> 01.11.2018 15:05:56 Application Server URL:
> http://127.0.0.1:55183/?key=b3ef7ca8-a755-4284-8b8d-2d82b810ef30
> 01.11.2018 15:05:56 The server should be up, we'll attempt to connect and
> get a response. Ping the server
> 01.11.2018 15:06:04 Failed to launch the application server, server thread
> exiting.
> 01.11.2018 15:06:26 Attempt to connect one more time in case of a long
> network timeout while looping
>

The PythonPath and WebappPath don't match what Devrim says he's using. Is
that from the same system?

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

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


Re: Fedora 29 startup issue

2018-11-01 Thread Fahar Abbas
I am facing issue on Centos 7.4(by default python is 2.7) while Devrim
facing issue on Fedora 29 with Python 3.7.

On Thu, Nov 1, 2018 at 3:09 PM Dave Page  wrote:

>
>
> On Thu, Nov 1, 2018 at 10:08 AM Fahar Abbas 
> wrote:
>
>> Hi Dave,
>>
>> On Thu, Nov 1, 2018 at 3:04 PM Dave Page  wrote:
>>
>>>
>>>
>>> On Thu, Nov 1, 2018 at 9:58 AM Devrim Gündüz  wrote:
>>>

 Hi,

 Fedora 29, Python 3.7. When I run:

 /usr/pgadmin4/runtime/pgAdmin4

 Getting:

 An error occurred initialising the application server:
 Failed to locate pgAdmin4.py, terminating server thread.

 $ cat /etc/xdg/pgadmin/pgadmin4.conf
 ApplicationPath="/usr/lib/python3.7/site-packages/pgadmin4-web/"

 PythonPath="/usr/lib/python3.7/site-packages:/usr/lib64/python3.7/site-packages"


 What am I missing?

>>>
>>> What does the startup log say? Look for ~/.pgAdmin4.startup.log
>>>
>> 01.11.2018 15:05:55 Checking for system tray...
>> 01.11.2018 15:05:55 Starting pgAdmin4 server...
>> 01.11.2018 15:05:55 Creating server object, port:55183,
>> key:b3ef7ca8-a755-4284-8b8d-2d82b810ef30,
>> logfile:/root/.pgAdmin4.5793612742908622588.log
>> 01.11.2018 15:05:55 Python Path:
>> /usr/lib/python2.7/site-packages:/usr/lib64/python2.7/site-packages
>> 01.11.2018 15:05:55 Python Home:
>> 01.11.2018 15:05:55 Initializing Python...
>> 01.11.2018 15:05:55 Python initialized.
>> 01.11.2018 15:05:55 Adding new additional path elements
>> 01.11.2018 15:05:55 Redirecting stderr...
>> 01.11.2018 15:05:55 stderr redirected successfully.
>> 01.11.2018 15:05:55 Initializing server...
>> 01.11.2018 15:05:55 Webapp Path:
>> /usr/lib/python2.7/site-packages/pgadmin4-web/pgAdmin4.py
>> 01.11.2018 15:05:55 Server initialized.
>> 01.11.2018 15:05:55 Starting Server Thread...
>> 01.11.2018 15:05:55 Open the application code and run it.
>> 01.11.2018 15:05:55 Set the port number, key and force SERVER_MODE off
>> 01.11.2018 15:05:55 PyRun_SimpleFile launching application server...
>> 01.11.2018 15:05:56 Application Server URL:
>> http://127.0.0.1:55183/?key=b3ef7ca8-a755-4284-8b8d-2d82b810ef30
>> 01.11.2018 15:05:56 The server should be up, we'll attempt to connect and
>> get a response. Ping the server
>> 01.11.2018 15:06:04 Failed to launch the application server, server
>> thread exiting.
>> 01.11.2018 15:06:26 Attempt to connect one more time in case of a long
>> network timeout while looping
>>
>
> The PythonPath and WebappPath don't match what Devrim says he's using. Is
> that from the same system?
>
> --
> Dave Page
> Blog: http://pgsnake.blogspot.com
> Twitter: @pgsnake
>
> EnterpriseDB UK: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>


-- 
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*
Website: www.enterprisedb.com


Re: Fedora 29 startup issue

2018-11-01 Thread Dave Page
On Thu, Nov 1, 2018 at 10:17 AM Fahar Abbas 
wrote:

> I am facing issue on Centos 7.4(by default python is 2.7) while Devrim
> facing issue on Fedora 29 with Python 3.7.
>

OK, well I need Devrim's logs to try to solve Devrim's problem. Yours may
be entirely different.

If you try to run pgAdmin.py from the command line, what is the output?


>
> On Thu, Nov 1, 2018 at 3:09 PM Dave Page  wrote:
>
>>
>>
>> On Thu, Nov 1, 2018 at 10:08 AM Fahar Abbas 
>> wrote:
>>
>>> Hi Dave,
>>>
>>> On Thu, Nov 1, 2018 at 3:04 PM Dave Page  wrote:
>>>


 On Thu, Nov 1, 2018 at 9:58 AM Devrim Gündüz  wrote:

>
> Hi,
>
> Fedora 29, Python 3.7. When I run:
>
> /usr/pgadmin4/runtime/pgAdmin4
>
> Getting:
>
> An error occurred initialising the application server:
> Failed to locate pgAdmin4.py, terminating server thread.
>
> $ cat /etc/xdg/pgadmin/pgadmin4.conf
> ApplicationPath="/usr/lib/python3.7/site-packages/pgadmin4-web/"
>
> PythonPath="/usr/lib/python3.7/site-packages:/usr/lib64/python3.7/site-packages"
>
>
> What am I missing?
>

 What does the startup log say? Look for ~/.pgAdmin4.startup.log

>>> 01.11.2018 15:05:55 Checking for system tray...
>>> 01.11.2018 15:05:55 Starting pgAdmin4 server...
>>> 01.11.2018 15:05:55 Creating server object, port:55183,
>>> key:b3ef7ca8-a755-4284-8b8d-2d82b810ef30,
>>> logfile:/root/.pgAdmin4.5793612742908622588.log
>>> 01.11.2018 15:05:55 Python Path:
>>> /usr/lib/python2.7/site-packages:/usr/lib64/python2.7/site-packages
>>> 01.11.2018 15:05:55 Python Home:
>>> 01.11.2018 15:05:55 Initializing Python...
>>> 01.11.2018 15:05:55 Python initialized.
>>> 01.11.2018 15:05:55 Adding new additional path elements
>>> 01.11.2018 15:05:55 Redirecting stderr...
>>> 01.11.2018 15:05:55 stderr redirected successfully.
>>> 01.11.2018 15:05:55 Initializing server...
>>> 01.11.2018 15:05:55 Webapp Path:
>>> /usr/lib/python2.7/site-packages/pgadmin4-web/pgAdmin4.py
>>> 01.11.2018 15:05:55 Server initialized.
>>> 01.11.2018 15:05:55 Starting Server Thread...
>>> 01.11.2018 15:05:55 Open the application code and run it.
>>> 01.11.2018 15:05:55 Set the port number, key and force SERVER_MODE off
>>> 01.11.2018 15:05:55 PyRun_SimpleFile launching application server...
>>> 01.11.2018 15:05:56 Application Server URL:
>>> http://127.0.0.1:55183/?key=b3ef7ca8-a755-4284-8b8d-2d82b810ef30
>>> 01.11.2018 15:05:56 The server should be up, we'll attempt to connect
>>> and get a response. Ping the server
>>> 01.11.2018 15:06:04 Failed to launch the application server, server
>>> thread exiting.
>>> 01.11.2018 15:06:26 Attempt to connect one more time in case of a long
>>> network timeout while looping
>>>
>>
>> The PythonPath and WebappPath don't match what Devrim says he's using. Is
>> that from the same system?
>>
>> --
>> Dave Page
>> Blog: http://pgsnake.blogspot.com
>> Twitter: @pgsnake
>>
>> EnterpriseDB UK: http://www.enterprisedb.com
>> The Enterprise PostgreSQL Company
>>
>
>
> --
> 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*
> Website: www.enterprisedb.com
>


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

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


Re: Fedora 29 startup issue

2018-11-01 Thread Devrim Gündüz

Hi,

On Thu, 2018-11-01 at 10:03 +, Dave Page wrote:
> What does the startup log say? Look for ~/.pgAdmin4.startup.log

Weird. Where does "3.6" come from? This is definitely 3.7...

01.11.2018 09:56:23 Checking for system tray...
01.11.2018 09:56:23 System tray not found, creating floating window...
01.11.2018 09:56:23 Starting pgAdmin4 server...
01.11.2018 09:56:23 Creating server object, port:33817, 
key:1c82f5ad-c110-4d76-b977-ac971c97b18d, 
logfile:/home/devrim/.pgAdmin4.5793612742908622588.log
01.11.2018 09:56:23 Python Path: 
/usr/lib/python3.6/site-packages:/usr/lib64/python3.6/site-packages
01.11.2018 09:56:23 Python Home: 
01.11.2018 09:56:23 Initializing Python...
01.11.2018 09:56:23 Python initialized.
01.11.2018 09:56:23 Adding new additional path elements
01.11.2018 09:56:23 Redirecting stderr...
01.11.2018 09:56:23 stderr redirected successfully.
01.11.2018 09:56:23 Initializing server...
01.11.2018 09:56:23 Failed to locate pgAdmin4.py, terminating server thread.
01.11.2018 09:57:09 An error occurred initialising the application server:


-- 
Devrim Gündüz
EnterpriseDB: https://www.enterprisedb.com
PostgreSQL Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR


signature.asc
Description: This is a digitally signed message part


Re: Fedora 29 startup issue

2018-11-01 Thread Fahar Abbas
On Thu, Nov 1, 2018 at 3:23 PM Dave Page  wrote:

>
>
> On Thu, Nov 1, 2018 at 10:17 AM Fahar Abbas 
> wrote:
>
>> I am facing issue on Centos 7.4(by default python is 2.7) while Devrim
>> facing issue on Fedora 29 with Python 3.7.
>>
>
> OK, well I need Devrim's logs to try to solve Devrim's problem. Yours may
> be entirely different.
>
> If you try to run pgAdmin.py from the command line, what is the output?
>
[root@localhost bin]# pwd
/usr/pgadmin4/bin
[root@localhost bin]# ./pgadmin4-web-setup.sh
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/pgadmin4-web/setup.py", line 15,
in 
from pgadmin.model import db, Version, SCHEMA_VERSION as
CURRENT_SCHEMA_VERSION
  File "/usr/lib/python2.7/site-packages/pgadmin4-web/pgadmin/__init__.py",
line 33, in 
from pgadmin.utils.session import create_session_interface,
pga_unauthorised
  File
"/usr/lib/python2.7/site-packages/pgadmin4-web/pgadmin/utils/session.py",
line 26, in 
import config
  File "/usr/lib/python2.7/site-packages/pgadmin4-web/config.py", line 121,
in 
if builtins.SERVER_MODE is None:
AttributeError: 'module' object has no attribute 'SERVER_MODE'
Error setting up server mode. Please examine the output above.


>
>
>>
>> On Thu, Nov 1, 2018 at 3:09 PM Dave Page  wrote:
>>
>>>
>>>
>>> On Thu, Nov 1, 2018 at 10:08 AM Fahar Abbas <
>>> fahar.ab...@enterprisedb.com> wrote:
>>>
 Hi Dave,

 On Thu, Nov 1, 2018 at 3:04 PM Dave Page  wrote:

>
>
> On Thu, Nov 1, 2018 at 9:58 AM Devrim Gündüz 
> wrote:
>
>>
>> Hi,
>>
>> Fedora 29, Python 3.7. When I run:
>>
>> /usr/pgadmin4/runtime/pgAdmin4
>>
>> Getting:
>>
>> An error occurred initialising the application server:
>> Failed to locate pgAdmin4.py, terminating server thread.
>>
>> $ cat /etc/xdg/pgadmin/pgadmin4.conf
>> ApplicationPath="/usr/lib/python3.7/site-packages/pgadmin4-web/"
>>
>> PythonPath="/usr/lib/python3.7/site-packages:/usr/lib64/python3.7/site-packages"
>>
>>
>> What am I missing?
>>
>
> What does the startup log say? Look for ~/.pgAdmin4.startup.log
>
 01.11.2018 15:05:55 Checking for system tray...
 01.11.2018 15:05:55 Starting pgAdmin4 server...
 01.11.2018 15:05:55 Creating server object, port:55183,
 key:b3ef7ca8-a755-4284-8b8d-2d82b810ef30,
 logfile:/root/.pgAdmin4.5793612742908622588.log
 01.11.2018 15:05:55 Python Path:
 /usr/lib/python2.7/site-packages:/usr/lib64/python2.7/site-packages
 01.11.2018 15:05:55 Python Home:
 01.11.2018 15:05:55 Initializing Python...
 01.11.2018 15:05:55 Python initialized.
 01.11.2018 15:05:55 Adding new additional path elements
 01.11.2018 15:05:55 Redirecting stderr...
 01.11.2018 15:05:55 stderr redirected successfully.
 01.11.2018 15:05:55 Initializing server...
 01.11.2018 15:05:55 Webapp Path:
 /usr/lib/python2.7/site-packages/pgadmin4-web/pgAdmin4.py
 01.11.2018 15:05:55 Server initialized.
 01.11.2018 15:05:55 Starting Server Thread...
 01.11.2018 15:05:55 Open the application code and run it.
 01.11.2018 15:05:55 Set the port number, key and force SERVER_MODE off
 01.11.2018 15:05:55 PyRun_SimpleFile launching application server...
 01.11.2018 15:05:56 Application Server URL:
 http://127.0.0.1:55183/?key=b3ef7ca8-a755-4284-8b8d-2d82b810ef30
 01.11.2018 15:05:56 The server should be up, we'll attempt to connect
 and get a response. Ping the server
 01.11.2018 15:06:04 Failed to launch the application server, server
 thread exiting.
 01.11.2018 15:06:26 Attempt to connect one more time in case of a long
 network timeout while looping

>>>
>>> The PythonPath and WebappPath don't match what Devrim says he's using.
>>> Is that from the same system?
>>>
>>> --
>>> Dave Page
>>> Blog: http://pgsnake.blogspot.com
>>> Twitter: @pgsnake
>>>
>>> EnterpriseDB UK: http://www.enterprisedb.com
>>> The Enterprise PostgreSQL Company
>>>
>>
>>
>> --
>> 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*
>> Website: www.enterprisedb.com
>>
>
>
> --
> Dave Page
> Blog: http://pgsnake.blogspot.com
> Twitter: @pgsnake
>
> EnterpriseDB UK: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>


-- 
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*
Website: www.enterprisedb.com


Re: pgAdmin4 v3.5 candidate builds

2018-11-01 Thread Fahar Abbas
Hi Akshay,

One round of testing has been done, Can you please publish these builds on
https://www.pgadmin.org/ website ?

Kind Regards

On Wed, Oct 31, 2018 at 2:29 PM Akshay Joshi 
wrote:

> Hi Hackers,
>
> Issue has been resolved and new candidate builds and source can be found
> at https://developer.pgadmin.org/builds/2018-10-31-2 .
>
> @Fahar, Can you please verify it.
>
> On Wed, Oct 31, 2018 at 12:25 PM Akshay Joshi <
> akshay.jo...@enterprisedb.com> wrote:
>
>> Hi Hackers,
>>
>> I have googled and found the similar issue
>> https://github.com/plotly/dash/issues/257 in another project, so it
>> looks like Flask==1.0.2 creates the problem. We will have to downgrade
>> the Flask back to 0.12.2
>>
>> @Fahar meanwhile can you please uninstall the Flask and reinstall the
>> v0.12.2. Please follow the commands that I did on my windows machine (Refer
>> attached screenshot)
>>
>> On Wed, Oct 31, 2018 at 10:30 AM Fahar Abbas <
>> fahar.ab...@enterprisedb.com> wrote:
>>
>>> Hi,
>>>
>>> Here is the showstopper issue for pgAdmin4 3.5 Release:
>>> https://redmine.postgresql.org/issues/3730
>>>
>>> Kind Regards,
>>>
>>> On Mon, Oct 29, 2018 at 11:19 PM Akshay Joshi <
>>> akshay.jo...@enterprisedb.com> wrote:
>>>
 Hi All,

 pgAdmin4 v3.5 candidate builds and source can be found at
 https://developer.pgadmin.org/builds/2018-10-29-1/

 Fahar, can you please verify it for release on Thursday.

 --
 *Akshay Joshi*

 *Sr. Software Architect *



 *Phone: +91 20-3058-9517Mobile: +91 976-788-8246*

>>>
>>>
>>> --
>>> 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*
>>> Website: www.enterprisedb.com
>>>
>>
>>
>> --
>> *Akshay Joshi*
>>
>> *Sr. Software Architect *
>>
>>
>>
>> *Phone: +91 20-3058-9517Mobile: +91 976-788-8246*
>>
>
>
> --
> *Akshay Joshi*
>
> *Sr. Software Architect *
>
>
>
> *Phone: +91 20-3058-9517Mobile: +91 976-788-8246*
>


-- 
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*
Website: www.enterprisedb.com


Re: Fedora 29 startup issue

2018-11-01 Thread Dave Page
On Thu, Nov 1, 2018 at 10:28 AM Fahar Abbas 
wrote:

>
>
> On Thu, Nov 1, 2018 at 3:23 PM Dave Page  wrote:
>
>>
>>
>> On Thu, Nov 1, 2018 at 10:17 AM Fahar Abbas 
>> wrote:
>>
>>> I am facing issue on Centos 7.4(by default python is 2.7) while Devrim
>>> facing issue on Fedora 29 with Python 3.7.
>>>
>>
>> OK, well I need Devrim's logs to try to solve Devrim's problem. Yours may
>> be entirely different.
>>
>> If you try to run pgAdmin.py from the command line, what is the output?
>>
> [root@localhost bin]# pwd
> /usr/pgadmin4/bin
> [root@localhost bin]# ./pgadmin4-web-setup.sh
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/pgadmin4-web/setup.py", line 15,
> in 
> from pgadmin.model import db, Version, SCHEMA_VERSION as
> CURRENT_SCHEMA_VERSION
>   File
> "/usr/lib/python2.7/site-packages/pgadmin4-web/pgadmin/__init__.py", line
> 33, in 
> from pgadmin.utils.session import create_session_interface,
> pga_unauthorised
>   File
> "/usr/lib/python2.7/site-packages/pgadmin4-web/pgadmin/utils/session.py",
> line 26, in 
> import config
>   File "/usr/lib/python2.7/site-packages/pgadmin4-web/config.py", line
> 121, in 
> if builtins.SERVER_MODE is None:
> AttributeError: 'module' object has no attribute 'SERVER_MODE'
> Error setting up server mode. Please examine the output above.
>

Did this system have an older version installed?


>
>
>>
>>
>>>
>>> On Thu, Nov 1, 2018 at 3:09 PM Dave Page  wrote:
>>>


 On Thu, Nov 1, 2018 at 10:08 AM Fahar Abbas <
 fahar.ab...@enterprisedb.com> wrote:

> Hi Dave,
>
> On Thu, Nov 1, 2018 at 3:04 PM Dave Page  wrote:
>
>>
>>
>> On Thu, Nov 1, 2018 at 9:58 AM Devrim Gündüz 
>> wrote:
>>
>>>
>>> Hi,
>>>
>>> Fedora 29, Python 3.7. When I run:
>>>
>>> /usr/pgadmin4/runtime/pgAdmin4
>>>
>>> Getting:
>>>
>>> An error occurred initialising the application server:
>>> Failed to locate pgAdmin4.py, terminating server thread.
>>>
>>> $ cat /etc/xdg/pgadmin/pgadmin4.conf
>>> ApplicationPath="/usr/lib/python3.7/site-packages/pgadmin4-web/"
>>>
>>> PythonPath="/usr/lib/python3.7/site-packages:/usr/lib64/python3.7/site-packages"
>>>
>>>
>>> What am I missing?
>>>
>>
>> What does the startup log say? Look for ~/.pgAdmin4.startup.log
>>
> 01.11.2018 15:05:55 Checking for system tray...
> 01.11.2018 15:05:55 Starting pgAdmin4 server...
> 01.11.2018 15:05:55 Creating server object, port:55183,
> key:b3ef7ca8-a755-4284-8b8d-2d82b810ef30,
> logfile:/root/.pgAdmin4.5793612742908622588.log
> 01.11.2018 15:05:55 Python Path:
> /usr/lib/python2.7/site-packages:/usr/lib64/python2.7/site-packages
> 01.11.2018 15:05:55 Python Home:
> 01.11.2018 15:05:55 Initializing Python...
> 01.11.2018 15:05:55 Python initialized.
> 01.11.2018 15:05:55 Adding new additional path elements
> 01.11.2018 15:05:55 Redirecting stderr...
> 01.11.2018 15:05:55 stderr redirected successfully.
> 01.11.2018 15:05:55 Initializing server...
> 01.11.2018 15:05:55 Webapp Path:
> /usr/lib/python2.7/site-packages/pgadmin4-web/pgAdmin4.py
> 01.11.2018 15:05:55 Server initialized.
> 01.11.2018 15:05:55 Starting Server Thread...
> 01.11.2018 15:05:55 Open the application code and run it.
> 01.11.2018 15:05:55 Set the port number, key and force SERVER_MODE off
> 01.11.2018 15:05:55 PyRun_SimpleFile launching application server...
> 01.11.2018 15:05:56 Application Server URL:
> http://127.0.0.1:55183/?key=b3ef7ca8-a755-4284-8b8d-2d82b810ef30
> 01.11.2018 15:05:56 The server should be up, we'll attempt to connect
> and get a response. Ping the server
> 01.11.2018 15:06:04 Failed to launch the application server, server
> thread exiting.
> 01.11.2018 15:06:26 Attempt to connect one more time in case of a long
> network timeout while looping
>

 The PythonPath and WebappPath don't match what Devrim says he's using.
 Is that from the same system?

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

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

>>>
>>>
>>> --
>>> 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*
>>> Website: www.enterprisedb.com
>>>
>>
>>
>> --
>> Dave Page
>> Blog: http://pgsnake.blogspot.com
>> Twitter: @pgsnake
>>
>> EnterpriseDB UK: http://www.enterprisedb.com
>> The Enterprise PostgreSQL Company
>>
>
>
> --
> 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*
> Website: www.enterprisedb.com
>


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

EnterpriseDB 

Re: Fedora 29 startup issue

2018-11-01 Thread Fahar Abbas
On Thu, Nov 1, 2018 at 4:25 PM Dave Page  wrote:

>
>
> On Thu, Nov 1, 2018 at 10:28 AM Fahar Abbas 
> wrote:
>
>>
>>
>> On Thu, Nov 1, 2018 at 3:23 PM Dave Page  wrote:
>>
>>>
>>>
>>> On Thu, Nov 1, 2018 at 10:17 AM Fahar Abbas <
>>> fahar.ab...@enterprisedb.com> wrote:
>>>
 I am facing issue on Centos 7.4(by default python is 2.7) while Devrim
 facing issue on Fedora 29 with Python 3.7.

>>>
>>> OK, well I need Devrim's logs to try to solve Devrim's problem. Yours
>>> may be entirely different.
>>>
>>> If you try to run pgAdmin.py from the command line, what is the output?
>>>
>> [root@localhost bin]# pwd
>> /usr/pgadmin4/bin
>> [root@localhost bin]# ./pgadmin4-web-setup.sh
>> Traceback (most recent call last):
>>   File "/usr/lib/python2.7/site-packages/pgadmin4-web/setup.py", line 15,
>> in 
>> from pgadmin.model import db, Version, SCHEMA_VERSION as
>> CURRENT_SCHEMA_VERSION
>>   File
>> "/usr/lib/python2.7/site-packages/pgadmin4-web/pgadmin/__init__.py", line
>> 33, in 
>> from pgadmin.utils.session import create_session_interface,
>> pga_unauthorised
>>   File
>> "/usr/lib/python2.7/site-packages/pgadmin4-web/pgadmin/utils/session.py",
>> line 26, in 
>> import config
>>   File "/usr/lib/python2.7/site-packages/pgadmin4-web/config.py", line
>> 121, in 
>> if builtins.SERVER_MODE is None:
>> AttributeError: 'module' object has no attribute 'SERVER_MODE'
>> Error setting up server mode. Please examine the output above.
>>
>
> Did this system have an older version installed?
>
nope it's a fresh system.

>
>
>>
>>
>>>
>>>

 On Thu, Nov 1, 2018 at 3:09 PM Dave Page  wrote:

>
>
> On Thu, Nov 1, 2018 at 10:08 AM Fahar Abbas <
> fahar.ab...@enterprisedb.com> wrote:
>
>> Hi Dave,
>>
>> On Thu, Nov 1, 2018 at 3:04 PM Dave Page  wrote:
>>
>>>
>>>
>>> On Thu, Nov 1, 2018 at 9:58 AM Devrim Gündüz 
>>> wrote:
>>>

 Hi,

 Fedora 29, Python 3.7. When I run:

 /usr/pgadmin4/runtime/pgAdmin4

 Getting:

 An error occurred initialising the application server:
 Failed to locate pgAdmin4.py, terminating server thread.

 $ cat /etc/xdg/pgadmin/pgadmin4.conf
 ApplicationPath="/usr/lib/python3.7/site-packages/pgadmin4-web/"

 PythonPath="/usr/lib/python3.7/site-packages:/usr/lib64/python3.7/site-packages"


 What am I missing?

>>>
>>> What does the startup log say? Look for ~/.pgAdmin4.startup.log
>>>
>> 01.11.2018 15:05:55 Checking for system tray...
>> 01.11.2018 15:05:55 Starting pgAdmin4 server...
>> 01.11.2018 15:05:55 Creating server object, port:55183,
>> key:b3ef7ca8-a755-4284-8b8d-2d82b810ef30,
>> logfile:/root/.pgAdmin4.5793612742908622588.log
>> 01.11.2018 15:05:55 Python Path:
>> /usr/lib/python2.7/site-packages:/usr/lib64/python2.7/site-packages
>> 01.11.2018 15:05:55 Python Home:
>> 01.11.2018 15:05:55 Initializing Python...
>> 01.11.2018 15:05:55 Python initialized.
>> 01.11.2018 15:05:55 Adding new additional path elements
>> 01.11.2018 15:05:55 Redirecting stderr...
>> 01.11.2018 15:05:55 stderr redirected successfully.
>> 01.11.2018 15:05:55 Initializing server...
>> 01.11.2018 15:05:55 Webapp Path:
>> /usr/lib/python2.7/site-packages/pgadmin4-web/pgAdmin4.py
>> 01.11.2018 15:05:55 Server initialized.
>> 01.11.2018 15:05:55 Starting Server Thread...
>> 01.11.2018 15:05:55 Open the application code and run it.
>> 01.11.2018 15:05:55 Set the port number, key and force SERVER_MODE off
>> 01.11.2018 15:05:55 PyRun_SimpleFile launching application server...
>> 01.11.2018 15:05:56 Application Server URL:
>> http://127.0.0.1:55183/?key=b3ef7ca8-a755-4284-8b8d-2d82b810ef30
>> 01.11.2018 15:05:56 The server should be up, we'll attempt to connect
>> and get a response. Ping the server
>> 01.11.2018 15:06:04 Failed to launch the application server, server
>> thread exiting.
>> 01.11.2018 15:06:26 Attempt to connect one more time in case of a
>> long network timeout while looping
>>
>
> The PythonPath and WebappPath don't match what Devrim says he's using.
> Is that from the same system?
>
> --
> Dave Page
> Blog: http://pgsnake.blogspot.com
> Twitter: @pgsnake
>
> EnterpriseDB UK: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>


 --
 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*
 Website: www.enterprisedb.com

>>>
>>>
>>> --
>>> Dave Page
>>> Blog: http://pgsnake.blogspot.com
>>> Twitter: @pgsnake
>>>
>>> EnterpriseDB UK: http://www.enterprisedb.com
>>> The Enterprise PostgreSQL Company
>>>
>>
>>
>> --
>> Faha

Re: Fedora 29 startup issue

2018-11-01 Thread Dave Page
On Thu, Nov 1, 2018 at 10:24 AM Devrim Gündüz  wrote:

>
> Hi,
>
> On Thu, 2018-11-01 at 10:03 +, Dave Page wrote:
> > What does the startup log say? Look for ~/.pgAdmin4.startup.log
>
> Weird. Where does "3.6" come from? This is definitely 3.7...
>
> 01.11.2018 09:56:23 Checking for system tray...
> 01.11.2018 09:56:23 System tray not found, creating floating window...
> 01.11.2018 09:56:23 Starting pgAdmin4 server...
> 01.11.2018 09:56:23 Creating server object, port:33817,
> key:1c82f5ad-c110-4d76-b977-ac971c97b18d,
> logfile:/home/devrim/.pgAdmin4.5793612742908622588.log
> 01.11.2018 09:56:23 Python Path:
> /usr/lib/python3.6/site-packages:/usr/lib64/python3.6/site-packages
> 01.11.2018 09:56:23 Python Home:
> 01.11.2018 09:56:23 Initializing Python...
> 01.11.2018 09:56:23 Python initialized.
> 01.11.2018 09:56:23 Adding new additional path elements
> 01.11.2018 09:56:23 Redirecting stderr...
> 01.11.2018 09:56:23 stderr redirected successfully.
> 01.11.2018 09:56:23 Initializing server...
> 01.11.2018 09:56:23 Failed to locate pgAdmin4.py, terminating server
> thread.
> 01.11.2018 09:57:09 An error occurred initialising the application server:
>

Either there's a config file around overriding the one you've created, or
that's not being found at all and it's defaulting to system paths.

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

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


Re: Fedora 29 startup issue

2018-11-01 Thread Devrim Gündüz

Hi,

On Thu, 2018-11-01 at 11:58 +, Dave Page wrote:
> Either there's a config file around overriding the one you've created, or
> that's not being found at all and it's defaulting to system paths.

I'd say the latter -- but not sure. Please note that the default is 3.7, not
3.6.

That said, on RHEL, I just bumped up the version in the spec file and rebuilt
the package. We had no issues with pgAdmin 3.4 RPMs with the same spec file.

Regards,
-- 
Devrim Gündüz
EnterpriseDB: https://www.enterprisedb.com
PostgreSQL Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR


signature.asc
Description: This is a digitally signed message part


pgAdmin 4 v3.5 released

2018-11-01 Thread Akshay Joshi
The pgAdmin Development Team are pleased to announce pgAdmin 4 version 3.5.
This release of pgAdmin 4 includes over 11 bug fixes and new features. For
more details please see the release notes at:

https://www.pgadmin.org/docs/pgadmin4/dev/release_notes_3_5.html.

pgAdmin is the leading Open Source graphical management tool for
PostgreSQL. For more information, please see:

https://www.pgadmin.org/

Notable changes in this release include:

* Migrate from Bootstrap 3 to Bootstrap 4.
* Save the treeview state periodically, and restore it automatically when
reconnecting.
* Support to stop the utility processes (Backup/Restore/Maintenance...).

Builds for Windows and macOS are available now, along with a Python Wheel,
Docker Container and source code tarball from:

https://www.pgadmin.org/download/

RPM and DEB packages are expected to be available on the postgresql.org
repositories within the next few days.

--
Akshay Joshi
pgAdmin Project


pgAdmin 4 commit: Tag REL-3_5 has been created.

2018-11-01 Thread Akshay Joshi
Tag REL-3_5 has been created.
View: https://git.postgresql.org/gitweb?p=pgadmin4.git;a=tag;h=refs/tags/REL-3_5

Log Message
---
Tag v3.5