Re: pgAdmin 4 v1.3 fails to load

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Peter Johnson <pj(at)acslink(dot)net(dot)au>
Cc: Bruce Peret <bperet(at)pobox(dot)com>, "Campbell, Lance" <lance(at)illinois(dot)edu>, pgAdmin Support <pgadmin-support(at)postgresql(dot)org>
Subject: Re: pgAdmin 4 v1.3 fails to load
Date: 2017-04-04 09:00:37
Message-ID: CA+OCxowmhNYfbbjGenn_YR6v521m_2NWQ4imHkgn59Qfeo6KKQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Thanks Peter. You can adjust the log level by creating a
config_local.py file alongside config.py in your installation. Add the
lines in-between the === marks to the file:

======
from config import *
import logging

CONSOLE_LOG_LEVEL = logging.WARNING
FILE_LOG_LEVEL = logging.WARNING
======

Those are the default settings in current releases though - it's
possible much of your log file is from a much earlier release, before
we dialled down the defaults. You might want to check that in
config.py.

On Tue, Apr 4, 2017 at 9:45 AM, Peter Johnson <pj(at)acslink(dot)net(dot)au> wrote:
> Hi Dave,
>
> So far, so good. I uninstalled & removed everything from previous pgAdmin 4
> and installed your new executable.
> Have started & stoped it 3 or 4 times, & loaded OK each time.
>
> (BTW, in my removal, I found a pgAdmin log file that was big, over 1.3GB.
> Not sure if that's relevant in any way to the to the load issue. There is
> still space on the disk.)
>
> Thanks for your support on this issue. I'll advise if anything changes.
>
>
> Regards,
> Peter Johnson
>
>
> -----Original Message----- From: Dave Page
> Sent: Tuesday, April 04, 2017 6:31 AM
> To: Bruce Peret ; Campbell, Lance ; Peter Johnson
> Cc: pgAdmin Support
>
> Subject: [in] Re: [pgadmin-support] pgAdmin 4 v1.3 fails to load
>
> All,
>
> Please try one of the Mac/Windows test builds at
> https://developer.pgadmin.org/~dpage/. I would strongly advise doing a
> complete uninstall before installing, to ensure no old, unused files
> are left behind.
>
> Thanks.
>
> On Mon, Mar 27, 2017 at 6:40 PM, Bruce Peret <bperet(at)pobox(dot)com> wrote:
>>
>> I just upgraded to 4.1.3 and am having the same issues. Windows 7 pro,
>> x64, Postgres 9.6.2. Prior version of pgadmin 4 worked OK. (I skipped
>> the 4.1.2 upgrade, using pgadmin 3 instead to do what I needed.)
>>
>> Same error; various scripts fail to load. It seems to fail more often if
>> the system is busy with cpu or disk activity already going on.
>>
>> Bruce Peret
>>
>> On 3/26/2017 7:12 PM, Peter Johnson wrote:
>>>
>>> Dave,
>>>
>>> Just to follow up your previous advice: I have done a complete
>>> uninstall of the application, ensured
>>> the installation directory is removed, then re-installed. I tried
>>> starting & stopping pgAdmin 4 a few
>>> times before re-booting & then again after re-booting my system.
>>>
>>> In both cases, before & after re-booting, pgAdmin 4 loaded
>>> successfully about 50% of the time &
>>> didn't load in the other cases. In the unsuccessful load cases, most,
>>> but not all, times there was an error msg.
>>> "Error loading script". But the nominated script varied each time.
>>>
>>> Thanks for your continuing investigations.
>>>
>>> Kind regards,
>>> Peter Johnson
>>>
>>>
>>> -----Original Message----- From: Dave Page
>>> Sent: Friday, March 24, 2017 9:29 PM
>>> To: Campbell, Lance
>>> Cc: Peter Johnson ; pgadmin-support(at)postgresql(dot)org
>>> Subject: [in] Re: [pgadmin-support] pgAdmin 4 v1.3 fails to load
>>>
>>> On Thu, Mar 23, 2017 at 6:08 PM, Campbell, Lance <lance(at)illinois(dot)edu>
>>> wrote:
>>>>
>>>> Dave,
>>>> I did exactly what you said. I totally delete the application.
>>>> Deleted all directories from the file system. Then I reinstalled
>>>> it. It hung on startup. I then had to stop it via task manager.
>>>> Then I loaded it the second time. It then ran. The next time I
>>>> tried to start it the application hung.
>>>>
>>>> I have never ever had any issue with pgAdmin 3. I don't have any of
>>>> these issues with pgAdmin4 v1.1 .
>>>
>>>
>>> I'm still struggling to reproduce the issues myself, but all the
>>> evidence suggests it was the move from QtWekKit to QtWebEngine that
>>> caused it (that happened in 1.2). We did that because of numerous
>>> other bugs in QtWebKit, and because QtWebKit has been deprecated and
>>> removed from current versions of Qt. Unfortunately it seems that
>>> whilst QtWebEngine solves the original problems, it has it's own set.
>>>
>>> We're currently trying a PoC with another option, as well as thinking
>>> through some other ideas...
>>>
>>> Apologies for the inconvenience in the meantime.
>>>
>>
>>
>>
>>
>> --
>> Sent via pgadmin-support mailing list (pgadmin-support(at)postgresql(dot)org)
>> To make changes to your subscription:
>> http://www.postgresql.org/mailpref/pgadmin-support
>
>
>
>
> --
> Dave Page
> Blog: http://pgsnake.blogspot.com
> Twitter: @pgsnake
>
> EnterpriseDB UK: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>
>
> --
> Sent via pgadmin-support mailing list (pgadmin-support(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-support

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

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

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Pierre Racine 2017-04-04 13:59:41 pgAdmin III Total query runtime back in microseconds (repost)
Previous Message Peter Johnson 2017-04-04 08:45:16 Re: pgAdmin 4 v1.3 fails to load