Message9741

Author jzawila
Recipients jzawila
Date 2015-03-31.08:07:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1427789253.79.0.978830507339.issue2306@psf.upfronthosting.co.za>
In-reply-to
Content
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 ????
History
Date User Action Args
2015-03-31 08:07:33jzawilasetrecipients: + jzawila
2015-03-31 08:07:33jzawilasetmessageid: <1427789253.79.0.978830507339.issue2306@psf.upfronthosting.co.za>
2015-03-31 08:07:33jzawilalinkissue2306 messages
2015-03-31 08:07:32jzawilacreate