From: | Robert van Geel <robert(at)dotdata(dot)nl> |
---|---|
To: | Dave Page <dpage(at)pgadmin(dot)org> |
Cc: | pgAdmin Support <pgadmin-support(at)postgresql(dot)org> |
Subject: | Re: Bug report |
Date: | 2016-11-21 15:46:26 |
Message-ID: | a4cca775-be75-80c7-0c0a-c1487e402065@dotdata.nl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support |
Dave, I've added the main list again in the cc of this mail so people
finding this post will also know the solution.
Your comment:
>Can you please run the registry editor on Windows, and check the value
of the following key?
>
>HKEY_CLASSES_ROOT\.css\Content Type
>
>It should be "text/css" (without the quotes).
Indeed, it was text/plain. I changed it to text/css, then restarted
pgAdmin4. Lo and behold, that helped !
Weird, I vaguely remember Werkzeug (or Flask?) having its own hardcoded
mapping for mime-types but aparantly they get read from here.
You're class!
Robert
On 21-11-2016 10:57, Dave Page wrote:
> Hi
>
> On Sat, Nov 19, 2016 at 7:32 PM, Robert van Geel <robert(at)dotdata(dot)nl
> <mailto:robert(at)dotdata(dot)nl>> wrote:
>
> Hi,
>
> I have an issue getting pgadmin going.
>
> Version: latest (4.1.1)
> Platform: windows 10
> Configuration: out of the box, just install -> start -> symptom
> experienced
> Symptom: the screen looks off, like a web page with no css applied
> or something, I added a screenshot below
> Additional information of interest: I installed it as desktop app,
> de-installed, re-installed to the same effect
> I also installed the python package and ran the tool in the
> browser on http://localhost:5050/ there I get a login screen which
> also seems off. I can see in network that browser.css gets a HTTP
> 303 found with a location of
> http://localhost:5050/login?next=%2Fbrowser%2Fbrowser.css
> <http://localhost:5050/login?next=%2Fbrowser%2Fbrowser.css>. When
> I type that in my address bar I get the login screen again. This
> problem occurs in all browsers (Chrome, IE, FF).
>
> We've had a couple of reports of this, but have been unable to
> reproduce it. This is the first time I've heard of it happening in a
> server mode setup though.
> Can you please try the following for me?
> 1) Create/edit a config_local.py file alongside config.py in the
> python package installation directory, and include the following:
> SERVER_MODE = False
> DEBUG = True
> CONSOLE_LOG_LEVEL = DEBUG
> FILE_LOG_LEVEL = DEBUG
> 2) Remove %APPDATA%\pgadmin if present.
> 3) Start pgAdmin from the command line.
> 4) Clear your browser cache of anything from localhost:5050 and open
> the Developer Tools
> 5) Navigate to http://localhost:5050/
> 6) Send a copy of the pgAdmin log file and the Network tab from the
> Developer Tools (showing all the requests and status codes etc).
> Note that setting SERVER_MODE to false is intentional here - pgAdmin
> will still run in the browser, but that will disable authentication.
> Thanks!
>
> Thank you for your attention.
>
> --
> Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake
> EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL
> Company
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2016-11-21 15:48:32 | Re: Bug report |
Previous Message | Robert van Geel | 2016-11-21 10:52:56 | Re: Bug report |