﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
24717	Unit test model_regress.test_pickle.ModelPickleTestCase fails on RHEL6 SCL	David D. Riddle	David D. Riddle	"We are running RHEL6 with Python 2.7 running in a Software Collection. To use Python 2.7 on RHEL6 it is necessary to use RedHat Software Collections. This bug effects both the master branch and version 1.8. Here is the error message I am receiving:

{{{
~/Django-1.8/tests$ scl enable python27 bash
~/Django-1.8/tests$ PYTHONPATH=..:$PYTHONPATH ./runtests.py model_regress.test_pickle
Testing against Django installed in '/services/scratch/ddriddle/tmp/Django-1.8/django'
Creating test database for alias 'default'...
Creating test database for alias 'other'...
./opt/rh/python27/root/usr/bin/python: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
F.
======================================================================
FAIL: test_unpickling_when_appregistrynotready (model_regress.test_pickle.ModelPickleTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ""/services/scratch/ddriddle/tmp/Django-1.8/tests/model_regress/test_pickle.py"", line 100, in test_unpickling_when_appregistrynotready
    self.fail(""Unable to reload model pickled data"")
AssertionError: Unable to reload model pickled data

----------------------------------------------------------------------
Ran 3 tests in 0.017s

FAILED (failures=1)
Destroying test database for alias 'default'...
Destroying test database for alias 'other'...
}}}"	Bug	closed	Testing framework	1.8	Normal	fixed			Accepted	1	0	0	1	0	0
