Asif Jan
asif.jan at epfl.ch
Wed Jun 1 09:17:55 EDT 2005
Hi , When I try to use "session" object inside a PSP page I get following error ( I am using Mac OS X 10.3.9 , Python 2.3 (Apple), and mod_python 3.1.4). Is it something specific to Mac OS X ? By the way in my psp page I am doing a very simple thing i.e. if not session.is_new(): # do something else: # do something else Mod_python error: "PythonHandler mod_python.psp" Traceback (most recent call last): File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ python2.3/site-packages/mod_python/apache.py", line 299, in HandlerDispatch result = object(req) File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ python2.3/site-packages/mod_python/psp.py", line 297, in handler p.run() File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ python2.3/site-packages/mod_python/psp.py", line 191, in run session = Session.Session(req) File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ python2.3/site-packages/mod_python/Session.py", line 389, in Session timeout=timeout, lock=lock) File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ python2.3/site-packages/mod_python/Session.py", line 294, in __init__ timeout=timeout, lock=lock) File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ python2.3/site-packages/mod_python/Session.py", line 131, in __init__ self.lock() # lock new sid File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ python2.3/site-packages/mod_python/Session.py", line 215, in lock _apache._global_lock(self._req.server, self._sid) ValueError: Failed to acquire global mutex lock
|