From 42ea24a116c271e1483251fa46ab2481477fe1a3 Mon Sep 17 00:00:00 2001 From: dporru Date: Wed, 14 May 2014 12:38:58 +0200 Subject: [PATCH] Add url to the Libaries installation issues in the installation section. --- djangocms_installer/install/__init__.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/djangocms_installer/install/__init__.py b/djangocms_installer/install/__init__.py index 0842a1a..4f365f2 100644 --- a/djangocms_installer/install/__init__.py +++ b/djangocms_installer/install/__init__.py @@ -27,29 +27,29 @@ def check_install(config_data): im.thumbnail(size) except IOError as e: #errors.append(e.strerror) - errors.append("Pillow is not compiled with PNG support, see 'Libraries installation issues' documentation section.") + errors.append("Pillow is not compiled with PNG support, see 'Libraries installation issues' documentation section: http://djangocms-installer.readthedocs.org/en/latest/libraries.html.") try: im = Image.open(os.path.join(os.path.dirname(__file__), "../share/test_image.jpg")) im.thumbnail(size) except IOError as e: #errors.append(e.strerror) - errors.append("Pillow is not compiled with JPEG support, see 'Libraries installation issues' documentation section.") + errors.append("Pillow is not compiled with JPEG support, see 'Libraries installation issues' documentation section: http://djangocms-installer.readthedocs.org/en/latest/libraries.html") except ImportError: - errors.append("Pillow is not installed check for installation errors and see 'Libraries installation issues' documentation section.") + errors.append("Pillow is not installed check for installation errors and see 'Libraries installation issues' documentation section: http://djangocms-installer.readthedocs.org/en/latest/libraries.html") # PostgreSQL test if config_data.db_driver == 'psycopg2' and not config_data.no_db_driver: # pragma: no cover try: import psycopg2 except ImportError: - errors.append("PostgreSQL driver is not installed, but you configured a PostgreSQL database, please check your installation and see 'Libraries installation issues' documentation section.") + errors.append("PostgreSQL driver is not installed, but you configured a PostgreSQL database, please check your installation and see 'Libraries installation issues' documentation section: http://djangocms-installer.readthedocs.org/en/latest/libraries.html") # MySQL test if config_data.db_driver == 'MySQL-python' and not config_data.no_db_driver: # pragma: no cover try: import MySQLdb except ImportError: - errors.append("MySQL driver is not installed, but you configured a MySQL database, please check your installation and see 'Libraries installation issues' documentation section.") + errors.append("MySQL driver is not installed, but you configured a MySQL database, please check your installation and see 'Libraries installation issues' documentation section: http://djangocms-installer.readthedocs.org/en/latest/libraries.html") if errors: raise EnvironmentError("\n".join(errors))