Issue2306
Created on 2015-03-31.08:07:33 by jzawila, last changed 2015-03-31.15:08:42 by zyasoft.
msg9741 (view) |
Author: Jaroslaw Zawila (jzawila) |
Date: 2015-03-31.08:07:32 |
|
I am upgrade from jython standalone 2.5.4 to 2.7 release candidate. I could see unexpected behavior with modjy servlet.
I have application.py file which contains:
from django.core.handlers import wsgi
import os
def handler(environ, start_response):
os.putenv("DJANGO_SETTINGS_MODULE", "settings")
h = wsgi.WSGIHandler()
return h(environ, start_response
and the folder structure is as below:
-> webapp
-> application.py
-> WEB-INF
-> lib-python
-> security
-> settings.py
With the previous version of jython-standalone it works fine. After update it stop working with the error "security module cannot be find".
I have tried play with that in different ways but it seems like jython does not add the folder to class path any more.
I am not sure if I am doing something wrong or there is some kind of bug ????
|
msg9742 (view) |
Author: Jaroslaw Zawila (jzawila) |
Date: 2015-03-31.08:08:32 |
|
Sorry there is mistake in the code below it should be security.settings instead of settings
|
msg9743 (view) |
Author: Jaroslaw Zawila (jzawila) |
Date: 2015-03-31.08:20:27 |
|
Please close it or ignore as it just me making mistake
|
msg9744 (view) |
Author: Jim Baker (zyasoft) |
Date: 2015-03-31.15:08:42 |
|
It's not a problem, I will close it out.
|
|
Date |
User |
Action |
Args |
2015-03-31 15:08:42 | zyasoft | set | status: open -> closed resolution: invalid messages:
+ msg9744 nosy:
+ zyasoft |
2015-03-31 08:20:27 | jzawila | set | messages:
+ msg9743 |
2015-03-31 08:08:32 | jzawila | set | messages:
+ msg9742 |
2015-03-31 08:07:33 | jzawila | create | |
|