Re: More RHEL 6 build issues

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: More RHEL 6 build issues
Дата
Msg-id CA+OCxoz-yHg-oDHJp3cf85hNjMdufO71Op3huNLUrOK-wMsP_A@mail.gmail.com
обсуждение исходный текст
Ответ на More RHEL 6 build issues  (Devrim Gündüz <devrim@gunduz.org>)
Ответы Re: More RHEL 6 build issues  (Devrim Gündüz <devrim@gunduz.org>)
Re: More RHEL 6 build issues  (Devrim Gündüz <devrim@gunduz.org>)
Список pgadmin-hackers


On Tue, Jul 11, 2017 at 11:21 AM, Devrim Gündüz <devrim@gunduz.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

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

Предыдущее
От: Devrim Gündüz
Дата:
Сообщение: More RHEL 6 build issues
Следующее
От: Dave Page
Дата:
Сообщение: pgAdmin 4 commit: Fix proxy support with Qt 5.9+