From eb18648a665cb8dbc2b1540140e7a01f0baf4676 Mon Sep 17 00:00:00 2001 From: bagechashu Date: Sun, 25 Feb 2018 20:07:26 +0800 Subject: [PATCH 1/2] ubuntu16.04 deb_requirements.txt update (#1007) --- requirements/deb_requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements/deb_requirements.txt b/requirements/deb_requirements.txt index 93709db9e..a0ddb7642 100644 --- a/requirements/deb_requirements.txt +++ b/requirements/deb_requirements.txt @@ -1 +1 @@ -libtiff4-dev libjpeg8-dev zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev tcl8.5-dev tk8.5-dev python-tk +libtiff5-dev libjpeg8-dev zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev tcl8.5-dev tk8.5-dev python-tk python-dev openssl libssl-dev libldap2-dev libsasl2-dev sqlite gcc automake From 5193ba2e393bfcd1ac7a1e7d6e26f94f35ab3f1d Mon Sep 17 00:00:00 2001 From: calmzhu Date: Sun, 25 Feb 2018 20:09:15 +0800 Subject: [PATCH 2/2] Update run server.py (#915) Fix for not callable error when config.py not exists --- run_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_server.py b/run_server.py index 1a389e5eb..011453a0c 100644 --- a/run_server.py +++ b/run_server.py @@ -13,7 +13,7 @@ from apps import __version__ try: from config import config as CONFIG except ImportError: - CONFIG = type('_', (), {'__getattr__': None})() + CONFIG = type('_', (), {'__getattr__': lambda *arg: None})() os.environ["PYTHONIOENCODING"] = "UTF-8"