[web2py] Re: IIS help with permissions

2014-09-29 Thread Tim Richardson
IIS must be doing something which is extension specific and which can't be explained by permissions. Such as locking. It also silently crashes the response thread in a way which does not trigger a python exception (which may explain the 'communication error' messages from the gui code editor as

[web2py] Re: IIS help with permissions

2014-09-29 Thread Leonel Câmara
Have you tried turning off all caching in IIS? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to

[web2py] Re: IIS help with permissions

2014-09-29 Thread Tim Richardson
It was turned on. I disabled it for the site, restarted the site but the same result. On Monday, September 29, 2014 7:19:16 PM UTC+10, Leonel Câmara wrote: Have you tried turning off all caching in IIS? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Re: IIS help with permissions

2014-09-28 Thread Leonel Câmara
Is it possible the files are being locked by IIS? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to

[web2py] Re: IIS help with permissions

2014-09-27 Thread Tim Richardson
On Saturday, September 27, 2014 9:12:45 AM UTC+10, Dave S wrote: On Friday, September 26, 2014 2:01:36 PM UTC-7, Tim Richardson wrote: Through a lot of tedious testing to web2py's logging, it boils down to this: the python tar extraction libary (tarfile.py) dies when trying to extract

[web2py] Re: IIS help with permissions

2014-09-27 Thread Tim Richardson
Also, the built-in code editor doesn't work either. I can not save edits to controllers or models, (fails with communication error). Sometimes the file save actually seems to work and sometimes I get a zero byte file. I assume this is based on the same problem. -- Resources: -

[web2py] Re: IIS help with permissions

2014-09-26 Thread Tim Richardson
That is possible for sure. What timezone are you in? The problem is tar.extractall() is failing to create folders when run by IIS. I have reset everything and IIS is not running as the user DefaultAppPool (which I can verify by inspecting the process). I have made this user the owner of the

[web2py] Re: IIS help with permissions

2014-09-26 Thread Willoughby
Just as a suggestion since I run into this on our corporate windows network, you don't have by chance some security system (i.e. virus scanner or other) that could be preventing the folder creation? Ours seems to block all sorts of things - can't create files over a certain size threshold,

[web2py] Re: IIS help with permissions

2014-09-26 Thread Tim Richardson
Through a lot of tedious testing to web2py's logging, it boils down to this: the python tar extraction libary (tarfile.py) dies when trying to extract a file ending in .py This only happens when IIS owns the process and is not related in any obvious way to file permissions. The script happily

[web2py] Re: IIS help with permissions

2014-09-26 Thread Dave S
On Friday, September 26, 2014 2:01:36 PM UTC-7, Tim Richardson wrote: Through a lot of tedious testing to web2py's logging, it boils down to this: the python tar extraction libary (tarfile.py) dies when trying to extract a file ending in .py Firing from the hip: does the extraction

[web2py] Re: IIS help with permissions

2014-09-25 Thread Tim Richardson
I get the same behaviour even why I tell the application pool to run as me. The create_app code turns the .w2p file into a .tar file. It is supposed to os.unlink(tarname) the tar file but this fails; the .tar remains. I think this may be the first thing which doesn't work. On Thursday,

[web2py] Re: IIS help with permissions

2014-09-25 Thread Niphlod
Given that in real life I'm a Windows system administrator on top of a SQL Server DBA, if we can arrange a remote session I'll be happy to debug with you the issue ;-P On Thursday, September 25, 2014 3:52:38 PM UTC+2, Tim Richardson wrote: I get the same behaviour even why I tell the

[web2py] Re: IIS help with permissions

2014-09-24 Thread Niphlod
to rule out other problems, just give all permissions to everyone . If then it works, we'll start from there ^_^ On Wednesday, September 24, 2014 4:51:46 AM UTC+2, Tim Richardson wrote: With IIS 8, I am trying to get web2py running with wfastcgi.py v2.1RC2, web2py 2.9.11, python 2.7 32 bit

[web2py] Re: IIS help with permissions

2014-09-24 Thread Tim Richardson
On Wednesday, September 24, 2014 6:07:10 PM UTC+10, Niphlod wrote: to rule out other problems, just give all permissions to everyone . If then it works, we'll start from there ^_^ On Wednesday, September 24, 2014 4:51:46 AM UTC+2, Tim Richardson wrote: With IIS 8, I am trying to get

[web2py] Re: IIS help with permissions

2014-09-24 Thread Tim Richardson
Also, the owner of the application folder and the three files are which are created is web2py_production, which is the name of the application pool I created. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: IIS help with permissions

2014-09-24 Thread Niphlod
you don't need an application pool at all. Those are only for .NET apps. On Wednesday, September 24, 2014 11:16:46 AM UTC+2, Tim Richardson wrote: Also, the owner of the application folder and the three files are which are created is web2py_production, which is the name of the application

[web2py] Re: IIS help with permissions

2014-09-24 Thread Tim Richardson
OK. the GUI management tool make a new application pool by default if creating a new site. I deleted that and I'm using the default application pool. I am now back to where I was: it works until it needs to make new files I tried to clean the welcome app from admin and I got a ticket:

[web2py] Re: IIS help with permissions

2014-09-24 Thread Niphlod
access denied you're still having permission problems. On Wednesday, September 24, 2014 2:43:26 PM UTC+2, Tim Richardson wrote: OK. the GUI management tool make a new application pool by default if creating a new site. I deleted that and I'm using the default application pool. I am now