edx/configuration — pull request #207 by antoviaque (2013-08-08 18:18:47+00:00)
Title: ora-virtualenv: Use different virtual envs for ORA and EASE to avoid conflicts

On a single instance, some libraries versions would conflict - like requests==0.14.2 (LMS) vs requests==1.1.0 (ORA)

The symptomatic error would then be:

```
(edx)www-data@edx-sandbox:/opt/edx$ DJANGO_SETTINGS_MODULE=lms.envs.aws SERVICE_VARIANT="lms-xml" /opt/edx/bin/gunicorn --preload -b 127.0.0.1:8030 -w 2 --timeout=300 --pythonpath=/opt/wwc/edx-platform lms.wsgi
[...]
2013-08-08 13:08:31,185 ERROR 5392 [gunicorn.error] glogging.py:190 - Error handling request
Traceback (most recent call last):
File "/opt/edx/local/lib/python2.7/site-packages/gunicorn/workers/sync.py", line 103, in handle_request
respiter = self.wsgi(environ, resp.start_response)
File "/opt/edx/local/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 219, in __call__
self.load_middleware()
File "/opt/edx/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 45, in load_middleware
mod = import_module(mw_module)
File "/opt/edx/local/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
__import__(name)
File "/opt/wwc/edx-platform/lms/djangoapps/course_wiki/course_nav.py", line 9, in
from courseware.courses import get_course_with_access
File "/opt/wwc/edx-platform/lms/djangoapps/courseware/courses.py", line 9, in
from .module_render import get_module
File "/opt/wwc/edx-platform/lms/djangoapps/courseware/module_render.py", line 54, in
requests_auth,
File "/opt/wwc/edx-platform/common/lib/capa/capa/xqueue_interface.py", line 67, in __init__
self.session = requests.session(auth=requests_auth)
TypeError: session() takes no arguments (1 given)
```