Dear Folks,
I am building proof of concept with Indivohealth on ubuntu 14.10. I have installed both server and UI with Mysql.
[Mon Jan 18 12:48:23.888096 2016] [:error] [pid 28663] [client
54.251.170.124:39138] mod_wsgi (pid=28663): Exception occurred processing WSGI script '/var/www/html/sample/indivo_server/django.wsgi'.
[Mon Jan 18 12:48:23.888199 2016] [:error] [pid 28663] [client
54.251.170.124:39138] Traceback (most recent call last):
[Mon Jan 18 12:48:23.888253 2016] [:error] [pid 28663] [client
54.251.170.124:39138] File "/var/www/html/sample/indivo_server/django.wsgi", line 40, in __call__
[Mon Jan 18 12:48:23.888399 2016] [:error] [pid 28663] [client
54.251.170.124:39138] return self.application(environ, _start_response)
[Mon Jan 18 12:48:23.888435 2016] [:error] [pid 28663] [client
54.251.170.124:39138] File "/var/www/html/sample/indivo_env/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 219, in __call__
[Mon Jan 18 12:48:23.888631 2016] [:error] [pid 28663] [client
54.251.170.124:39138] self.load_middleware()
[Mon Jan 18 12:48:23.888673 2016] [:error] [pid 28663] [client
54.251.170.124:39138] File "/var/www/html/sample/indivo_env/lib/python2.7/site-packages/django/core/handlers/base.py", line 47, in load_middleware
[Mon Jan 18 12:48:23.888950 2016] [:error] [pid 28663] [client
54.251.170.124:39138] raise exceptions.ImproperlyConfigured('Error importing middleware %s: "%s"' % (mw_module, e))
[Mon Jan 18 12:48:23.888998 2016] [:error] [pid 28663] [client
54.251.170.124:39138] ImproperlyConfigured: Error importing middleware indivo_server.indivo.middlewares.authentication: "cannot import name HTTPRequest"
Indivo_server - settings.py ->>
MIDDLEWARE_CLASSES = (
'django.middleware.common.CommonMiddleware',
'indivo_server.indivo.middlewares.authentication.Authentication',
'indivo_server.indivo.middlewares.paramloader.ParamLoader',
'indivo_server.indivo.middlewares.authorization.Authorization',
'indivo_server.indivo.middlewares.audit.AuditWrapper'
)
I have folder indivo i.e. /var/www/html/sample/indivo_server/indivo which holds all the middlewares and other folders.
Issues I am trying to solve:
2. Indivo server issue
I have spent more than 3 days to setup and one day on this issue please help me to fix these .
Highly appreciated your help.