[web2py] Re: IIS help with permissions

2014-09-25 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 ent

[web2py] Re: search with like/contains & case sensitive

2014-09-25 Thread Vladimir Makarov
*For cyrillic types I mean for example words in russian language.* On Thursday, September 25, 2014 9:44:31 PM UTC+3, Niphlod wrote: > > what do "cyrillyc types" mean ? > > On Thursday, September 25, 2014 8:27:55 PM UTC+2, Vladimir Makarov wrote: >> >> Give me a clue of how to set my search case i

[web2py] Edit previous/next record from /edit view in sqlform.grid after update

2014-09-25 Thread D.P.
I have a large table with large amounts of text that is displayed through sqlform.grid. I want to be able to click the 'edit' link for a record from the sqlform.grid, update the record, and then go to the next record in the 'edit' view without returning to the sqlform.grid table after submit.

[web2py] Bug? request.vars not set by routes_in query string.

2014-09-25 Thread Jim Karsten
I am setting a query string in routes_in but the request.vars is not getting set. To replicate: In routes.py routes_in = ( (BASE + '/$anything', '/welcome/default/index?aaa=111&bbb=222'), ...

[web2py] Re: search with like/contains & case sensitive

2014-09-25 Thread Niphlod
what do "cyrillyc types" mean ? On Thursday, September 25, 2014 8:27:55 PM UTC+2, Vladimir Makarov wrote: > > Give me a clue of how to set my search case insensitive for all kind > types?!? > > def search(): > lname = request.vars.name #form field > q = db.tbl.l_name.like('%'+str(lname)+

[web2py] search with like/contains & case sensitive

2014-09-25 Thread Vladimir Makarov
Give me a clue of how to set my search case insensitive for all kind types?!? def search(): lname = request.vars.name #form field q = db.tbl.l_name.like('%'+str(lname)+'%', case_sensitive=False) grid = _grid(q) return locals() This grid returns me all records regardless of case:

[web2py] Re: How to alter attributes of multiple elements with the same prefix, in a form

2014-09-25 Thread Mark Li
So this little bit of code solved my problem: elements_with_auth_user_ids = login_form.elements(_id=re.compile( '^auth_user')) for x in elements_with_auth_user_ids: x['_id']= "login_" + x['_id'] Using regex with the elements method, found all the ID's starting with "auth_user", and added a "

[web2py] Re: Deploy Web2py on Windows Server 2008 VPS on godaddy

2014-09-25 Thread Cliff Kachinske
Viren, There are better hosting solutions available. Pythonanywhere, for example, supports Webg2py out of the box. On Thursday, September 25, 2014 10:41:21 AM UTC-4, Viren Patel wrote: > > Hi all, > > i have bought the Windows server 2008 to deploy my Web2py application > > Wanted to know follow

[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 applica

[web2py] Deploy Web2py on Windows Server 2008 VPS on godaddy

2014-09-25 Thread Viren Patel
Hi all, i have bought the Windows server 2008 to deploy my Web2py application Wanted to know following Can i run on server using the Rocket server itself Do i need to have Apache running to host Web2py application There is just one Root Directory, where and how do i place my web2py applicaiton h

[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, Septemb

[web2py] Language selection and routing with pattern based router

2014-09-25 Thread Robin Manoli
Hey, I wonder if the feature for parameter based routing is also available or possible to implement with pattern based routing. As from what I can read, it does the following: - routes /app/lang/ctrl/func to /app/ctrl/func - sets request.uri_language to lang - routes /lang/static/file (shouldn't