[mod_python] Observing issue in mod_python.publisher on ARM 64 bit machine
Amit Mehra (Gur)
amit2.mehra at aricent.com
Fri Feb 27 04:32:50 UTC 2015
We are using the following configurations on ARM 64 bit machine
Apache Version:- 2.4.10
Python Version:- 2.7.4
And we are observing the following error in mod_python.publisher while running our application
Mod_python error: "PythonHandler mod_python.publisher"
Traceback (most recent call last):
File "/usr/bin/lib/python2.7/site-packages/mod_python/apache.py", line 421, in HandlerDispatch
result = obj(req)
File "/usr/bin/lib/python2.7/site-packages/mod_python/publisher.py", line 128, in handler
path,module_name = os.path.split(req.filename)
File "/usr/bin/lib/python2.7/posixpath.py", line 92, in split
i = p.rfind('/') + 1
AttributeError: 'NoneType' object has no attribute 'rfind'
However, mod_python.testhandler is working fine and its output is showing mod_python.publisher as available.
Apache threaded MPM
Yes, maximum 25 threads / process
Apache forked MPM
Yes, maximum 16 processes
Apache server root
Apache document root
Apache error log
/var/apache2/logs/error_log (view last 100 lines<https://10.3.10.228/python/framework/ems_session_mgmt.py/ems_recv_n_verify_user_name?view_log=1>)
2.7.4 (default, Feb 11 2015, 10:04:28) [GCC 4.9.3 20141031 (prerelease)]
Python interpreter name
I came across the following link wherein it has suggested to make "_server" and "_interpreter" as public. I tried but it didn't work.
Do we have to use any particular version of Apache or Python on ARM 64 bit server or are we missing on any step in our current set-up? Please suggest
Note:- We also tried with another version of mod_python(i.e. 3.4.1)
"DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus."
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mod_python