In you app... in default.py
do you have?
def call():
session.forget()
session._unlock(response)
return service()
If not give it a try.
Windows, mac or source version?
Massimo
On Aug 26, 6:47 am, Carl <[email protected]> wrote:
> hi,
>
> I'm using pyjamas to build the UI of my app and calling web2py with
> functions decorated @service.jsonrpc
>
> web2py receives several jsonrpc and I reckon it receives a call while
> it's cleaning up after the previous call...
>
> Traceback (most recent call last):
> File "G:\My Documents\Carl\projects\TestOrbit\web2py\gluon\main.py",
> line 412, in wsgibase
> session._try_store_on_disk(request, response)
> File "G:\My Documents\Carl\projects\TestOrbit\web2py\gluon
> \globals.py", line 366, in _try_store_on_disk
> self._unlock(response)
> File "G:\My Documents\Carl\projects\TestOrbit\web2py\gluon
> \globals.py", line 374, in _unlock
> response.session_file.close()
> IOError: [Errno 13] Permission denied
>
> I'm using sqlite. I've reproduced the behaviour with web2py 1.66.2 and
> 1.65.5.
>
> Anyone any ideas/thoughts?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---