Bug 1192568

Summary: Django quickstart with python 3.3 gives an error on create
Product: OpenShift Online Reporter: Corey Daley <cdaley>
Component: TemplatesAssignee: Vu Dinh <vdinh>
Status: CLOSED NOTABUG QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: jokerman, mmccomas, vdinh, xiuwang
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-01-20 14:32:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Corey Daley 2015-02-13 17:56:07 UTC
Description of problem:
When creating a drupal application from the web console, and selecting python 3.3, an error is given instead of the application being created successfully.

Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1. Go to drupal quickstart in web console
2. select python 3.3
3. select scale with web traffic
4. click create

Actual results:
The initial build for the application failed: Shell command '/sbin/runuser -s /bin/sh 54de38e55973ca6b4800009d -c "exec /usr/bin/runcon 'unconfined_u:system_r:openshift_t:s0:c4,c543' /bin/sh -c \"gear postreceive --init >> /tmp/initial-build.log 2>&1\""' returned an error. rc=255 .Last 10 kB of build output: ca6b4800009d/app-root/runtime/dependencies/python/virtenv/venv/lib/python3.3/site-packages/Django-1.4-py3.3.egg/django/contrib/gis/db/backends/oracle/introspection.py", line 19 except Exception, msg: ^ SyntaxError: invalid syntax File "/var/lib/openshift/54de38e55973ca6b4800009d/app-root/runtime/dependencies/python/virtenv/venv/lib/python3.3/site-packages/Django-1.4-py3.3.egg/django/contrib/gis/db/backends/spatialite/base.py", line 59 except Exception, msg: ^ SyntaxError: invalid syntax File "/var/lib/openshift/54de38e55973ca6b4800009d/app-root/runtime/dependencies/python/virtenv/venv/lib/python3.3/site-packages/Django-1.4-py3.3.egg/django/contrib/gis/db/backends/spatialite/creation.py", line 27 print "Creating test database for alias '%s'%s..." % (self.connection.alias, test_db_repr) ^ SyntaxError: invalid syntax File "/var/lib/openshift/54de38e55973ca6b4800009d/app-root/runtime/dependencies/python/virtenv/venv/lib/python3.3/site-packages/Django-1.4-py3.3.egg/django/contrib/gis/db/backends/spatialite/operations.py", line 125 except Exception, msg: ^ SyntaxError: invalid syntax File "/var/lib/openshift/54de38e55973ca6b4800009d/app-root/runtime/dependencies/python/virtenv/venv/lib/python3.3/site-packages/Django-1.4-py3.3.egg/django/contrib/gis/db/backends/postgis/operations.py", line 110 except Exception, e: ^ SyntaxError: invalid syntax File "/var/lib/openshift/54de38e55973ca6b4800009d/app-root/runtime/dependencies/python/virtenv/venv/lib/python3.3/site-packages/Django-1.4-py3.3.egg/django/contrib/gis/gdal/tests/test_geom.py", line 237 print "\nBEGIN - expecting IllegalArgumentException; safe to ignore.\n" ^ SyntaxError: invalid syntax File "/var/lib/openshift/54de38e55973ca6b4800009d/app-root/runtime/dependencies/python/virtenv/venv/lib/python3.3/site-packages/Django-1.4-py3.3.egg/django/contrib/gis/gdal/tests/test_ds.py", line 62 print "\nBEGIN - expecting out of range feature id error; safe to ignore.\n" ^ SyntaxError: invalid syntax File "/var/lib/openshift/54de38e55973ca6b4800009d/app-root/runtime/dependencies/python/virtenv/venv/lib/python3.3/site-packages/Django-1.4-py3.3.egg/django/contrib/markup/tests.py", line 90 except AssertionError, e: ^ SyntaxError: invalid syntax File "/var/lib/openshift/54de38e55973ca6b4800009d/app-root/runtime/dependencies/python/virtenv/venv/lib/python3.3/site-packages/Django-1.4-py3.3.egg/django/contrib/contenttypes/management.py", line 42 print "Adding content type '%s | %s'" % (ct.app_label, ct.model) ^ SyntaxError: invalid syntax Adding Django 1.4 to easy-install.pth file Installing django-admin.py script to /var/lib/openshift/54de38e55973ca6b4800009d/python/virtenv/venv/bin Installed /var/lib/openshift/54de38e55973ca6b4800009d/app-root/runtime/dependencies/python/virtenv/venv/lib/python3.3/site-packages/Django-1.4-py3.3.egg Finished processing dependencies for YourAppName==1.0 File "/var/lib/openshift/54de38e55973ca6b4800009d/app-root/runtime/dependencies/python/virtenv/venv/lib/python3.3/site-packages/Django-1.4-py3.3.egg/django/contrib/messages/storage/__init__.py", line 18 except ImportError, e: ^ SyntaxError: invalid syntax File "/var/lib/openshift/54de38e55973ca6b4800009d/app-root/runtime/dependencies/python/virtenv/venv/lib/python3.3/site-packages/Django-1.4-py3.3.egg/django/contrib/admindocs/views.py", line 321 except template.InvalidTemplateLibrary, e: ^ SyntaxError: invalid syntax File "/var/lib/openshift/54de38e55973ca6b4800009d/app-root/runtime/dependencies/python/virtenv/venv/lib/python3.3/site-packages/Django-1.4-py3.3.egg/django/contrib/sessions/backends/file.py", line 93 except OSError, e: ^ SyntaxError: invalid syntax File "/var/lib/openshift/54de38e55973ca6b4800009d/app-root/runtime/dependencies/python/virtenv/venv/lib/python3.3/site-packages/Django-1.4-py3.3.egg/django/contrib/sites/management.py", line 21 print "Creating example.com Site object" ^ SyntaxError: invalid syntax File "/var/lib/openshift/54de38e55973ca6b4800009d/app-root/runtime/dependencies/python/virtenv/venv/lib/python3.3/site-packages/Django-1.4-py3.3.egg/django/db/utils.py", line 25 except ImportError, e_user: ^ SyntaxError: invalid syntax File "/var/lib/openshift/54de38e55973ca6b4800009d/app-root/runtime/dependencies/python/virtenv/venv/lib/python3.3/site-packages/Django-1.4-py3.3.egg/django/db/backends/creation.py", line 29 return '%x' % (abs(hash(args)) % 4294967296L) # 2**32 ^ SyntaxError: invalid syntax File "/var/lib/openshift/54de38e55973ca6b4800009d/app-root/runtime/dependencies/python/virtenv/venv/lib/python3.3/site-packages/Django-1.4-py3.3.egg/django/db/backends/oracle/base.py", line 21 except ImportError, e: ^ SyntaxError: invalid syntax File "/var/lib/openshift/54de38e55973ca6b4800009d/app-root/runtime/dependencies/python/virtenv/venv/lib/python3.3/site-packages/Django-1.4-py3.3.egg/django/db/backends/oracle/creation.py", line 65 except Exception, e: ^ SyntaxError: invalid syntax File "/var/lib/openshift/54de38e55973ca6b4800009d/app-root/runtime/dependencies/python/virtenv/venv/lib/python3.3/site-packages/Django-1.4-py3.3.egg/django/db/backends/mysql/base.py", line 14 except ImportError, e: ^ SyntaxError: invalid syntax File "/var/lib/openshift/54de38e55973ca6b4800009d/app-root/runtime/dependencies/python/virtenv/venv/lib/python3.3/site-packages/Django-1.4-py3.3.egg/django/db/backends/postgresql_psycopg2/base.py", line 23 except ImportError, e: ^ SyntaxError: invalid syntax File "/var/lib/openshift/54de38e55973ca6b4800009d/app-root/runtime/dependencies/python/virtenv/venv/lib/python3.3/site-packages/Django-1.4-py3.3.egg/django/db/backends/sqlite3/base.py", line 27 except ImportError, e1: ^ SyntaxError: invalid syntax File "/var/lib/openshift/54de38e55973ca6b4800009d/app-root/runtime/dependencies/python/virtenv/venv/lib/python3.3/site-packages/Django-1.4-py3.3.egg/django/db/backends/sqlite3/creation.py", line 53 print "Destroying old test database '%s'..." % self.connection.alias ^ SyntaxError: invalid syntax File "/var/lib/openshift/54de38e55973ca6b4800009d/app-root/runtime/dependencies/python/virtenv/venv/lib/python3.3/site-packages/Django-1.4-py3.3.egg/django/db/models/base.py", line 804 except ValidationError, e: ^ SyntaxError: invalid syntax File "/var/lib/openshift/54de38e55973ca6b4800009d/app-root/runtime/dependencies/python/virtenv/venv/lib/python3.3/site-packages/Django-1.4-py3.3.egg/django/db/models/query.py", line 208 except self.model.DoesNotExist, e: ^ SyntaxError: invalid syntax File "/var/lib/openshift/54de38e55973ca6b4800009d/app-root/runtime/dependencies/python/virtenv/venv/lib/python3.3/site-packages/Django-1.4-py3.3.egg/django/db/models/fields/__init__.py", line 155 except exceptions.ValidationError, e: ^ SyntaxError: invalid syntax File "/var/lib/openshift/54de38e55973ca6b4800009d/app-root/runtime/dependencies/python/virtenv/venv/lib/python3.3/site-packages/Django-1.4-py3.3.egg/django/db/models/sql/query.py", line 1123 except MultiJoin, e: ^ SyntaxError: invalid syntax File "/var/lib/openshift/54de38e55973ca6b4800009d/app-root/runtime/dependencies/python/virtenv/venv/lib/python3.3/site-packages/Django-1.4-py3.3.egg/django/http/multipartparser.py", line 199 except Exception, e: ^ SyntaxError: invalid syntax File "/var/lib/openshift/54de38e55973ca6b4800009d/app-root/runtime/dependencies/python/virtenv/venv/lib/python3.3/site-packages/Django-1.4-py3.3.egg/django/http/__init__.py", line 329 except IOError, e: ^ SyntaxError: invalid syntax Preparing build for deployment Deployment id is 3a62f8fc Activating deployment HAProxy already running HAProxy instance is started /var/lib/openshift/54de38e55973ca6b4800009d/app-root/runtime/repo/.openshift/action_hooks/deploy: line 7: /var/lib/openshift/54de38e55973ca6b4800009d//python/virtenv/bin/activate: No such file or directory Copying /var/lib/openshift/54de38e55973ca6b4800009d/app-root/runtime/repo//wsgi/openshift/sqlite3.db to /var/lib/openshift/54de38e55973ca6b4800009d/app-root/data/ File "/var/lib/openshift/54de38e55973ca6b4800009d/app-root/runtime/repo/.openshift/action_hooks/secure_db.py", line 42 print "Django application credentials:\n\tuser: admin\n\t" + new_pass ^ SyntaxError: invalid syntax Executing 'python /var/lib/openshift/54de38e55973ca6b4800009d/app-root/runtime/repo//wsgi/openshift/manage.py collectstatic --noinput' Traceback (most recent call last): File "/var/lib/openshift/54de38e55973ca6b4800009d/app-root/runtime/repo/wsgi/openshift/manage.py", line 2, in <module> from django.core.management import execute_manager File "/var/lib/openshift/54de38e55973ca6b4800009d/python/virtenv/venv/lib/python3.3/site-packages/Django-1.4-py3.3.egg/django/core/management/__init__.py", line 54 except ImportError,e: ^ SyntaxError: invalid syntax ------------------------- Git Post-Receive Result: failure Activation status: failure Activation failed for the following gears: 54de38e55973ca6b4800009d (Error activating gear: CLIENT_ERROR: Failed to execute action hook 'deploy' for 54de38e55973ca6b4800009d application python #<IO:0x00000001d4a2a0> #<IO:0x00000001d4a228> ) Deployment completed with status: failure postreceive failed 

Expected results:
The application should create successfully

Additional info:

Comment 1 Ben Parees 2015-02-13 18:33:34 UTC
python bug for you, Maciej.. :)

Comment 2 Mike 2015-02-13 21:39:26 UTC
There's an error in the Description.

It's a Django related , not a Drupal error.

Comment 3 Mike 2015-02-14 15:39:22 UTC
The solution to this problem:

The error is because the Git link in the web console application is only for a django python for 2.6

Using a git quick start made for Python 3 , django 1.6 works.

However, the password needed is never displayed in the web form (known bug).

The fix is to have the web form select the proper git version based on python version, and capture the password.

Comment 4 XiuJuan Wang 2015-04-10 09:16:15 UTC
Failed to create django with python-2.6 too

remote: Installed /var/lib/openshift/55272df85cc2a24e160001c6/app-root/runtime/repo
remote: Processing dependencies for YourAppName==1.0
remote: Searching for Django<=1.8
remote: Reading http://mirror1.ops.rhcloud.com/mirror/python/web/simple/Django/
remote: Best match: Django 1.7.3
remote: Downloading http://mirror1.ops.rhcloud.com/mirror/python/web/packages/source/D/Django/Django-1.7.3.tar.gz#md5=ea9a3fe7eca2280b233938a98c4a35a0
remote: Processing Django-1.7.3.tar.gz
remote: Writing /tmp/easy_install-vJEsXT/Django-1.7.3/setup.cfg
remote: Running Django-1.7.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-vJEsXT/Django-1.7.3/egg-dist-tmp-838dqX
remote: warning: no previously-included files matching '__pycache__' found under directory '*'
remote: warning: no previously-included files matching '*.py[co]' found under directory '*'
remote: SyntaxError: ('invalid syntax', ('build/bdist.linux-x86_64/egg/django/template/loader_tags.py', 145, 19, ' for name, var in six.iteritems(self.extra_context)\n'))
remote:
remote: SyntaxError: ('invalid syntax', ('build/bdist.linux-x86_64/egg/django/core/management/commands/makemessages.py', 347, 44, " dir_suffixes = {'%s*' % path_sep for path_sep in {'/', os.sep}}\n"))
remote:
remote: SyntaxError: ('invalid syntax', ('build/bdist.linux-x86_64/egg/django/core/management/__init__.py', 68, 39, " commands = {name: 'django.core' for name in find_commands(__path__[0])}\n"))
remote:
remote: SyntaxError: ('invalid syntax', ('build/bdist.linux-x86_64/egg/django/contrib/formtools/tests/wizard/wizardtests/tests.py', 128, 40, " with open(THIS_FILE, 'rb') as f, temp_storage.open(UPLOADED_FILE_NAME) as f2:\n"))
remote:
remote: SyntaxError: ('invalid syntax', ('build/bdist.linux-x86_64/egg/django/contrib/formtools/tests/wizard/namedwizardtests/tests.py', 160, 40, " with open(THIS_FILE, 'rb') as f, temp_storage.open(UPLOADED_FILE_NAME) as f2:\n"))
remote:
remote: SyntaxError: ('invalid syntax', ('build/bdist.linux-x86_64/egg/django/contrib/auth/tests/test_forms.py', 123, 42, " with self.settings(USE_I18N=True), translation.override('pt-br', deactivate=True):\n"))
remote:
remote: SyntaxError: ('invalid syntax', ('build/bdist.linux-x86_64/egg/django/contrib/gis/db/backends/postgis/operations.py', 79, 34, " valid_aggregates = {'Collect', 'Extent', 'Extent3D', 'MakeLine', 'Union'}\n"))
remote:
remote: SyntaxError: ('invalid syntax', ('build/bdist.linux-x86_64/egg/django/contrib/gis/db/backends/oracle/operations.py', 86, 32, " valid_aggregates = {'Union', 'Extent'}\n"))
remote:
remote: SyntaxError: ('invalid syntax', ('build/bdist.linux-x86_64/egg/django/contrib/gis/db/backends/spatialite/operations.py', 68, 33, " valid_aggregates = {'Extent', 'Union'}\n"))
remote:
remote: SyntaxError: ('invalid syntax', ('build/bdist.linux-x86_64/egg/django/contrib/gis/db/models/constants.py', 4, 17, " 'bbcontains', 'bboverlaps', 'contained', 'contains',\n"))
remote:
remote: SyntaxError: ('invalid syntax', ('build/bdist.linux-x86_64/egg/django/contrib/humanize/tests.py', 95, 40, " with translation.override('ja'), self.settings(USE_L10N=True):\n"))
remote:
remote: SyntaxError: ('invalid syntax', ('build/bdist.linux-x86_64/egg/django/db/backends/mysql/schema.py', 39, 61, " return field.db_type(self.connection) in {'longtext', 'longblob'}\n"))
remote:
remote: SyntaxError: ('invalid syntax', ('build/bdist.linux-x86_64/egg/django/db/migrations/writer.py', 304, 50, ' return value_repr, {"import datetime"}\n'))
remote:
remote: SyntaxError: ('invalid syntax', ('build/bdist.linux-x86_64/egg/django/db/models/sql/query.py', 833, 36, ' for alias in self.external_aliases}\n'))
remote:
remote: SyntaxError: ('invalid syntax', ('build/bdist.linux-x86_64/egg/django/db/models/fields/__init__.py', 639, 21, " 'iexact', 'contains', 'icontains',\n"))
remote:
remote: SyntaxError: ('invalid syntax', ('build/bdist.linux-x86_64/egg/django/db/utils.py', 190, 44, ' TEST_SETTING_RENAMES_REVERSE = {v: k for k, v in TEST_SETTING_RENAMES.items()}\n'))
remote:
remote: SyntaxError: ('invalid syntax', ('build/bdist.linux-x86_64/egg/django/test/signals.py', 103, 41, " if kwargs['setting'] in {'LANGUAGES', 'LANGUAGE_CODE', 'LOCALE_PATHS'}:\n"))
remote:
remote: SyntaxError: ('invalid syntax', ('build/bdist.linux-x86_64/egg/django/utils/lru_cache.py', 28, 34, ' fasttypes = {int, str, frozenset, type(None)},\n'))
remote:
remote: SyntaxError: ('invalid syntax', ('build/bdist.linux-x86_64/egg/django/forms/utils.py', 57, 34, ' return {f: e.as_data() for f, e in self.items()}\n'))
remote:
remote: SyntaxError: ('invalid syntax', ('/var/lib/openshift/55272df85cc2a24e160001c6/app-root/runtime/dependencies/python/virtenv/lib/python2.6/site-packages/Django-1.7.3-py2.6.egg/django/template/loader_tags.py', 145, 19, ' for name, var in six.iteritems(self.extra_context)\n'))
remote:
remote: SyntaxError: ('invalid syntax', ('/var/lib/openshift/55272df85cc2a24e160001c6/app-root/runtime/dependencies/python/virtenv/lib/python2.6/site-packages/Django-1.7.3-py2.6.egg/django/core/management/__init__.py', 68, 39, " commands = {name: 'django.core' for name in find_commands(__path__[0])}\n"))
remote:
remote: SyntaxError: ('invalid syntax', ('/var/lib/openshift/55272df85cc2a24e160001c6/app-root/runtime/dependencies/python/virtenv/lib/python2.6/site-packages/Django-1.7.3-py2.6.egg/django/core/management/commands/makemessages.py', 347, 44, " dir_suffixes = {'%s*' % path_sep for path_sep in {'/', os.sep}}\n"))
remote:
remote: SyntaxError: ('invalid syntax', ('/var/lib/openshift/55272df85cc2a24e160001c6/app-root/runtime/dependencies/python/virtenv/lib/python2.6/site-packages/Django-1.7.3-py2.6.egg/django/contrib/formtools/tests/wizard/wizardtests/tests.py', 128, 40, " with open(THIS_FILE, 'rb') as f, temp_storage.open(UPLOADED_FILE_NAME) as f2:\n"))
remote:
remote: SyntaxError: ('invalid syntax', ('/var/lib/openshift/55272df85cc2a24e160001c6/app-root/runtime/dependencies/python/virtenv/lib/python2.6/site-packages/Django-1.7.3-py2.6.egg/django/contrib/formtools/tests/wizard/namedwizardtests/tests.py', 160, 40, " with open(THIS_FILE, 'rb') as f, temp_storage.open(UPLOADED_FILE_NAME) as f2:\n"))
remote:
remote: SyntaxError: ('invalid syntax', ('/var/lib/openshift/55272df85cc2a24e160001c6/app-root/runtime/dependencies/python/virtenv/lib/python2.6/site-packages/Django-1.7.3-py2.6.egg/django/contrib/auth/tests/test_forms.py', 123, 42, " with self.settings(USE_I18N=True), translation.override('pt-br', deactivate=True):\n"))
remote:
remote: SyntaxError: ('invalid syntax', ('/var/lib/openshift/55272df85cc2a24e160001c6/app-root/runtime/dependencies/python/virtenv/lib/python2.6/site-packages/Django-1.7.3-py2.6.egg/django/contrib/gis/db/backends/postgis/operations.py', 79, 34, " valid_aggregates = {'Collect', 'Extent', 'Extent3D', 'MakeLine', 'Union'}\n"))
remote:
remote: SyntaxError: ('invalid syntax', ('/var/lib/openshift/55272df85cc2a24e160001c6/app-root/runtime/dependencies/python/virtenv/lib/python2.6/site-packages/Django-1.7.3-py2.6.egg/django/contrib/gis/db/backends/oracle/operations.py', 86, 32, " valid_aggregates = {'Union', 'Extent'}\n"))
remote:
remote: SyntaxError: ('invalid syntax', ('/var/lib/openshift/55272df85cc2a24e160001c6/app-root/runtime/dependencies/python/virtenv/lib/python2.6/site-packages/Django-1.7.3-py2.6.egg/django/contrib/gis/db/backends/spatialite/operations.py', 68, 33, " valid_aggregates = {'Extent', 'Union'}\n"))
remote:
remote: SyntaxError: ('invalid syntax', ('/var/lib/openshift/55272df85cc2a24e160001c6/app-root/runtime/dependencies/python/virtenv/lib/python2.6/site-packages/Django-1.7.3-py2.6.egg/django/contrib/gis/db/models/constants.py', 4, 17, " 'bbcontains', 'bboverlaps', 'contained', 'contains',\n"))
remote:
remote: SyntaxError: ('invalid syntax', ('/var/lib/openshift/55272df85cc2a24e160001c6/app-root/runtime/dependencies/python/virtenv/lib/python2.6/site-packages/Django-1.7.3-py2.6.egg/django/contrib/humanize/tests.py', 95, 40, " with translation.override('ja'), self.settings(USE_L10N=True):\n"))
remote:
remote: SyntaxError: ('invalid syntax', ('/var/lib/openshift/55272df85cc2a24e160001c6/app-root/runtime/dependencies/python/virtenv/lib/python2.6/site-packages/Django-1.7.3-py2.6.egg/django/db/utils.py', 190, 44, ' TEST_SETTING_RENAMES_REVERSE = {v: k for k, v in TEST_SETTING_RENAMES.items()}\n'))
remote:
remote: SyntaxError: ('invalid syntax', ('/var/lib/openshift/55272df85cc2a24e160001c6/app-root/runtime/dependencies/python/virtenv/lib/python2.6/site-packages/Django-1.7.3-py2.6.egg/django/db/backends/mysql/schema.py', 39, 61, " return field.db_type(self.connection) in {'longtext', 'longblob'}\n"))
remote:
remote: SyntaxError: ('invalid syntax', ('/var/lib/openshift/55272df85cc2a24e160001c6/app-root/runtime/dependencies/python/virtenv/lib/python2.6/site-packages/Django-1.7.3-py2.6.egg/django/db/migrations/writer.py', 304, 50, ' return value_repr, {"import datetime"}\n'))
remote:
remote: SyntaxError: ('invalid syntax', ('/var/lib/openshift/55272df85cc2a24e160001c6/app-root/runtime/dependencies/python/virtenv/lib/python2.6/site-packages/Django-1.7.3-py2.6.egg/django/db/models/sql/query.py', 833, 36, ' for alias in self.external_aliases}\n'))
remote:
remote: SyntaxError: ('invalid syntax', ('/var/lib/openshift/55272df85cc2a24e160001c6/app-root/runtime/dependencies/python/virtenv/lib/python2.6/site-packages/Django-1.7.3-py2.6.egg/django/db/models/fields/__init__.py', 639, 21, " 'iexact', 'contains', 'icontains',\n"))
remote:
remote: SyntaxError: ('invalid syntax', ('/var/lib/openshift/55272df85cc2a24e160001c6/app-root/runtime/dependencies/python/virtenv/lib/python2.6/site-packages/Django-1.7.3-py2.6.egg/django/test/signals.py', 103, 41, " if kwargs['setting'] in {'LANGUAGES', 'LANGUAGE_CODE', 'LOCALE_PATHS'}:\n"))
remote:
remote: SyntaxError: ('invalid syntax', ('/var/lib/openshift/55272df85cc2a24e160001c6/app-root/runtime/dependencies/python/virtenv/lib/python2.6/site-packages/Django-1.7.3-py2.6.egg/django/utils/lru_cache.py', 28, 34, ' fasttypes = {int, str, frozenset, type(None)},\n'))
remote:
remote: SyntaxError: ('invalid syntax', ('/var/lib/openshift/55272df85cc2a24e160001c6/app-root/runtime/dependencies/python/virtenv/lib/python2.6/site-packages/Django-1.7.3-py2.6.egg/django/forms/utils.py', 57, 34, ' return {f: e.as_data() for f, e in self.items()}\n'))
remote:
remote: Adding Django 1.7.3 to easy-install.pth file
remote: Installing django-admin.py script to /var/lib/openshift/55272df85cc2a24e160001c6/python/virtenv/bin
remote: Installing django-admin script to /var/lib/openshift/55272df85cc2a24e160001c6/python/virtenv/bin
remote:
remote: Installed /var/lib/openshift/55272df85cc2a24e160001c6/app-root/runtime/dependencies/python/virtenv/lib/python2.6/site-packages/Django-1.7.3-py2.6.egg
remote: Finished processing dependencies for YourAppName==1.0
remote: Script /var/lib/openshift/55272df85cc2a24e160001c6/python//virtenv/bin/activate.csh cannot be made relative (it's not a normal script that starts with #!/var/lib/openshift/55272df85cc2a24e160001c6/python/virtenv/bin/python)
remote: Script /var/lib/openshift/55272df85cc2a24e160001c6/python//virtenv/bin/activate.fish cannot be made relative (it's not a normal script that starts with #!/var/lib/openshift/55272df85cc2a24e160001c6/python/virtenv/bin/python)
remote: Preparing build for deployment
remote: Deployment id is 8377b1d6
remote: Activating deployment
remote: Script /var/lib/openshift/55272df85cc2a24e160001c6/python//virtenv/bin/activate.csh cannot be made relative (it's not a normal script that starts with #!/var/lib/openshift/55272df85cc2a24e160001c6/python/virtenv/bin/python)
remote: Script /var/lib/openshift/55272df85cc2a24e160001c6/python//virtenv/bin/activate.fish cannot be made relative (it's not a normal script that starts with #!/var/lib/openshift/55272df85cc2a24e160001c6/python/virtenv/bin/python)
remote: Copying /var/lib/openshift/55272df85cc2a24e160001c6/app-root/runtime/repo//wsgi/myproject/db.sqlite3 to /var/lib/openshift/55272df85cc2a24e160001c6/app-root/data/
remote: Traceback (most recent call last):
remote: File "/var/lib/openshift/55272df85cc2a24e160001c6/app-root/runtime/repo/.openshift/action_hooks/secure_db.py", line 7, in <module>
remote: modinfo = imp.find_module('openshiftlibs', [lib_path])
remote: ImportError: No module named openshiftlibs
remote: Executing 'python /var/lib/openshift/55272df85cc2a24e160001c6/app-root/runtime/repo//wsgi/myproject/manage.py collectstatic --noinput'
remote: Traceback (most recent call last):
remote: File "/var/lib/openshift/55272df85cc2a24e160001c6/app-root/runtime/repo/wsgi/myproject/manage.py", line 9, in <module>
remote: from django.core.management import execute_from_command_line
remote: File "/var/lib/openshift/55272df85cc2a24e160001c6/python/virtenv/lib/python2.6/site-packages/Django-1.7.3-py2.6.egg/django/core/management/__init__.py", line 68
remote: commands = {name: 'django.core' for name in find_commands(__path__[0])}

Comment 5 XiuJuan Wang 2015-04-10 10:04:37 UTC
Sorry, I don't notice Django don't support python-2.6 any more

Comment 6 XiuJuan Wang 2015-09-22 05:43:12 UTC
Could create django quickstart using python-3.3 without error in devenv-5642

Comment 7 Vu Dinh 2016-01-19 20:51:56 UTC
Hi,

According to comment #6, the issue is already fixed. Would you mind verifying this so we can close out the bug?

Thanks,
Vu

Comment 8 XiuJuan Wang 2016-01-20 03:06:12 UTC
As comment #6, move this bug to verified.