From: luism.gonzalez <lu...@gm...> - 2005-05-18 13:49:10
|
Thanks for your reply! I tried that and this is what I got: any clue? Spyce exception File: C:/apache2triad/htdocs/spy/scart.spy Message: TypeError: The object is not a PyOVERLAPPED object Stack: scart.spy:1, in (main): import name=session args="'session_dir', 'C:/apache2triad/htdocs/spy', auto=10" C:\apache2triad\Python\Lib\site-packages\spyce\modules\session.py:54, in init: apply(session.autoSession, auto) C:\apache2triad\Python\Lib\site-packages\spyce\modules\session.py:100, in autoSession: self.autoID = self.set(None, self.autoExpire) C:\apache2triad\Python\Lib\site-packages\spyce\modules\session.py:79, in set: return self._handler.set(state, expire, id) C:\apache2triad\Python\Lib\site-packages\spyce\modules\session.py:208, in set: filename, f, id = openUniqueFile(self.dir, self.prefix, ('%d_' % self.childnum)) C:\apache2triad\Python\Lib\site-packages\spyce\modules\session.py:229, in openUniqueFile: filelock.lock(1) C:\apache2triad\Python\Lib\site-packages\spyce\spyceLock.py:106, in lock: if block: file_lock(self.f, LOCK_EX) C:\apache2triad\Python\Lib\site-packages\spyce\spyceLock.py:76, in file_lock: win32file.LockFileEx(hfile, flags, 0, 0xffff0000, __overlapped) ----- Original Message ----- From: "Jonathan Ellis" <jon...@si...> To: "luism.gonzalez" <lui...@gm...> Cc: <spy...@li...> Sent: Wednesday, May 18, 2005 10:14 AM Subject: Re: [Spyce-users] How to set writing permission to /tmp? > In your spyce code your session import looks something like > > [[.import name=session args="'session_dir', '/tmp'"]] > > Change /tmp to a directory that does exist and you can write to. Probably > /windows/temp will work for you. > > -Jonathan > > luism.gonzalez wrote: >> Hi there, >> >> I'm having problems with sessions. >> I got this error: >> >> Spyce exception >> File:C:/apache2triad/htdocs/spy/scart.spy >> Message:session directory '/tmp' does not exist >> >> The code examples say that I have to set writing permissions on this >> directory, but I don't even have it. >> Is it located in any precise location? >> Do I have to create it? Where? >> How do I set the permissions...? |