phew..

I added the extra couple of lines and all is well again.
I note that I'm now calling a private method (_unlock) -- is this a
hot of the press workaround?

thanks (I'm using the source version)

C

2009/8/26 mdipierro <[email protected]>:
>
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to