Re: More RHEL 6 build issues

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Devrim Gündüz <devrim(at)gunduz(dot)org>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: More RHEL 6 build issues
Date: 2017-07-11 10:44:37
Message-ID: CA+OCxoz-yHg-oDHJp3cf85hNjMdufO71Op3huNLUrOK-wMsP_A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

On Tue, Jul 11, 2017 at 11:21 AM, Devrim Gündüz <devrim(at)gunduz(dot)org> wrote:

>
> Hi,
>
> I thought we fixed it at some point, but I'm recently getting this again:
>
> in the web/config.py, I changed
> MINIFY_PAGE = True
>
> to False.
>

Never modify config.py! You should be using config_distro.py.

>
> Still getting
>
> sphinx-1.0-build -b html -d _build/doctrees . _build/html
> Making output directory...
> Running Sphinx v1.0.8
>
> Exception occurred:
> File "/usr/lib/python2.6/site-packages/pgadmin4-web/flask_htmlmin.py",
> line 1, in <module>
> from htmlmin.main import minify
> ImportError: No module named main
>

It was fixed in the code:

# HTMLMIN doesn't work with Python 2.6.
if not config.DEBUG and sys.version_info >= (2,7):
HTMLMIN(app)

Though, we do have an unconditional import (both in
web/pgadmin/__init__.py).

Does the app run?

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

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

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2017-07-11 10:48:35 pgAdmin 4 commit: Fix proxy support with Qt 5.9+
Previous Message Devrim Gündüz 2017-07-11 10:21:40 More RHEL 6 build issues