[web2py] mysql db connections

2013-05-25 Thread Saba
Hi, I have a question please regarding db connections and connection pooling in web2py. In models/db.py, I have a connect string like this: db=DAL('mysql...',pool_size=5) does model files get executed for every request? If so, then does it create the above db connection for every reques

Re: [web2py] Re: Testing your app using py.test

2013-05-25 Thread Massimo Di Pierro
Hello Arnon, let me explain how we operate. First of all we all volunteers so we try not to commit to promises we cannot maintain. For the same reason we do not feel like putting pressure on those volunteers. web2py evolves more like natural evolution than by intelligent design. If a feature i

Re: [web2py] Re: Testing your app using py.test

2013-05-25 Thread Anthony
On Saturday, May 25, 2013 4:25:39 PM UTC-4, Arnon Marcus wrote: > I think that 140 charcters is more than sufficient for announcements. Only for announcements that include links to the real announcement. > I also think that one may be able to demostrate that the tweeter-community > at large

Re: [web2py] Re: Testing your app using py.test

2013-05-25 Thread Anthony
> > Ok, I get it now. But still, the most efficient way would be that the > people with the most experience in a given area, would be the ones to > maintain it. You are putting a restriction on scgedule that does not apply > here. Within a time-frame that is smaller than what an experienced per

[web2py] Re: deploy nginx debian6

2013-05-25 Thread Massimo Di Pierro
Very strange. I am pretty sure I answered in another thread. Anyway. Sorry. :-( On Saturday, 25 May 2013 16:22:35 UTC-5, Alan Etkin wrote: > > It is not that it was removed. There was a bug in the logic. What if cast >> of default fails? What should it do? >> > > I have no idea, but if I may...

[web2py] Re: Session variables disappearing

2013-05-25 Thread Alan Etkin
> > Does anyone have any insight as to what could be happening to the session > variables? > You say your app users were logged in but after a given time the _load_settings function stopped working (stopped storing data)? Have you made an upgrade that would have changed the behavior introduci

[web2py] Re: Session variables disappearing

2013-05-25 Thread Rob Mayhue
Its been a few days so I'm just giving this a bump... Does anyone have any insight as to what could be happening to the session variables? -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving

[web2py] Re: deploy nginx debian6

2013-05-25 Thread Alan Etkin
> > It is not that it was removed. There was a bug in the logic. What if cast > of default fails? What should it do? > I have no idea, but if I may... you are hijacking Fernando's thread by mistake :D -- --- You received this message because you are subscribed to the Google Groups "web2py-

Re: [web2py] Re: No module named PIL

2013-05-25 Thread Massimo Di Pierro
web2py source yes. PIL you do not install from source on windows because it includes binary modules that must be compiler. You must get the binary module. On Saturday, 25 May 2013 16:04:25 UTC-5, Alex Glaros wrote: > > Right, am running from the web2py Windows binary. > > So I will have to in

Re: [web2py] Re: No module named PIL

2013-05-25 Thread Alex Glaros
Right, am running from the web2py Windows binary. So I will have to install Python and w2p from source thanks! Alex On Saturday, May 25, 2013 4:53:23 AM UTC-7, Anthony wrote: > > Do you have Python installed on your machine, or are you running from the > web2py Windows binary? If that latte

[web2py] Re: deploy nginx debian6

2013-05-25 Thread Massimo Di Pierro
It is not that it was removed. There was a bug in the logic. What if cast of default fails? What should it do? On Saturday, 25 May 2013 15:01:32 UTC-5, Alan Etkin wrote: > > El sábado, 25 de mayo de 2013 14:10:45 UTC-3, Fernando Vieira escribió: >> >> But I need to work on debian, because all my

[web2py] Re: web2py 2.4.7 is Out

2013-05-25 Thread Massimo Di Pierro
I re-tagged trunk. I will post 2.4.8 asap since I am not sure how to remove a tag. On Saturday, 25 May 2013 12:51:51 UTC-5, LightDot wrote: > > On a more serious note, release tag in mercurial and git states R-2.7.4, > should be R-2.4.7... Should this be fixed to prevent any future confusion? >

Re: [web2py] Re: Testing your app using py.test

2013-05-25 Thread Arnon Marcus
I think that 140 charcters is more than sufficient for announcements. I also think that one may be able to demostrate that the tweeter-community at large would agree with this assertion. -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To

Re: [web2py] Re: Testing your app using py.test

2013-05-25 Thread Arnon Marcus
Ok, I get it now. But still, the most efficient way would be that the people with the most experience in a given area, would be the ones to maintain it. You are putting a restriction on scedule that does not apply here. Within a time-frame that is smaller than what an experienced person has avai

[web2py] Re: deploy nginx debian6

2013-05-25 Thread Alan Etkin
El sábado, 25 de mayo de 2013 14:10:45 UTC-3, Fernando Vieira escribió: > > But I need to work on debian, because all my servers are debian > Maybe if you try the Ubuntu script commands and post the ones that fail other debian users in the list can help you replacing them with the correct ones (

[web2py] Re: web2py.com/book is issuing an error ticket

2013-05-25 Thread Alan Etkin
Is there any reason to turn off the cast option if request.args() takes a default parameter? (storage.py line 265) That's why '0' is not returned as 0 in the book app. Should I open an issue about this? -- --- You received this message because you are subscribed to the Google Groups "web2py-

[web2py] Re: web2py 2.4.7 is Out

2013-05-25 Thread LightDot
On a more serious note, release tag in mercurial and git states R-2.7.4, should be R-2.4.7... Should this be fixed to prevent any future confusion? Regards, Ales On Friday, May 24, 2013 7:56:11 PM UTC+2, Massimo Di Pierro wrote: > > I posted web2py 2.4.7. Includes mostly bug fixes. -- --- Y

[web2py] Re: deploy nginx debian6

2013-05-25 Thread Fernando Vieira
But I need to work on debian, because all my servers are debian -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For mo

[web2py] Re: web2py.com/book is issuing an error ticket

2013-05-25 Thread Massimo Di Pierro
Sorry I had missed it. On Saturday, 25 May 2013 11:44:34 UTC-5, Alan Etkin wrote: > > Fascinating. The upgrade to 2.4.7 broke >> >> request.args(1,cast=int,default='0') >> > > I reported this same issue in the book app project site. > > https://github.com/mdipierro/web2py-book/issues/60 > > I thin

[web2py] Re: web2py.com/book is issuing an error ticket

2013-05-25 Thread Alan Etkin
> > Fascinating. The upgrade to 2.4.7 broke > > request.args(1,cast=int,default='0') > I reported this same issue in the book app project site. https://github.com/mdipierro/web2py-book/issues/60 I think the change is caused by the modified storage.py module in http://code.google.com/p/web2py/s

[web2py] Re: web2py.com/book is issuing an error ticket

2013-05-25 Thread Massimo Di Pierro
Fascinating. The upgrade to 2.4.7 broke request.args(1,cast=int,default='0') is supposed to be request.args(1,cast=int,default=0) On Saturday, 25 May 2013 10:01:45 UTC-5, Anthony wrote: > > Same thing if you go directly to > http://www.web2py.com/books/default/chapter/29. > > Anthony > -- -

[web2py] Re: Issues with rendering wiki in html.

2013-05-25 Thread Massimo Di Pierro
Will look at it asap. probably tomorrow. On Saturday, 25 May 2013 08:23:26 UTC-5, Alan Etkin wrote: > > A new enhancement proposal: > > http://code.google.com/p/web2py/issues/detail?id=1298#c14 > > It was only tested with trunk and SQLite, so if anyone finds any > incompatibility please post back

[web2py] Re: Rendering 'raw' HTML for AngularJS with Web2py

2013-05-25 Thread Steve Starr
*Dirk Krause solution did work for me but not very well, angularjs had some issues. *Now massimo's suggestion worked perfectly. Here is what I did. views/default/index.html* Bootstrap 101 Template {%include 'web2py_ajax.html'%} 'use strict';

[web2py] web2py.com/book is issuing an error ticket

2013-05-25 Thread Anthony
Same thing if you go directly to http://www.web2py.com/books/default/chapter/29. Anthony -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr.

[web2py] Re: How to remove table name reference from generated form ids/labels

2013-05-25 Thread Niphlod
there's no default method or argument to avoid that. Code your own form serialization/handling if you are such passionate about offuscating table names. On Saturday, May 25, 2013 4:45:14 PM UTC+2, ssuresh wrote: > > hi, > Is there is anyway i can change the form field ids and labels generated by

[web2py] How to remove table name reference from generated form ids/labels

2013-05-25 Thread ssuresh
hi, Is there is anyway i can change the form field ids and labels generated by SQLFORM? Currently the field ids are in the format tablename.columnname . How to change it to just columnname so that i can avoid exposing my tablenames in html? thanx, Suresh -- --- You received this message bec

[web2py] Re: Issues with rendering wiki in html.

2013-05-25 Thread Alan Etkin
A new enhancement proposal: http://code.google.com/p/web2py/issues/detail?id=1298#c14 It was only tested with trunk and SQLite, so if anyone finds any incompatibility please post back here or add a comment in the issue page. -- --- You received this message because you are subscribed to the

Re: [web2py] Re: No module named PIL

2013-05-25 Thread Anthony
Do you have Python installed on your machine, or are you running from the web2py Windows binary? If that latter, try installing Python on your machine and run from web2py source instead. Anthony On Saturday, May 25, 2013 2:44:15 AM UTC-4, Alex Glaros wrote: > > error message said: python2.7 req

Re: [web2py] Re: Testing your app using py.test

2013-05-25 Thread Anthony
> Perhaps, but if they're not interested (or can contribute more value to >> the framework in some other way), that may just leave you. If you're not >> interested, why should anyone else be? >> >> Because other people are different than me. :) > They might like this sort of thing. > That's my

[web2py] Re: Add Image Button in sqlform.grid

2013-05-25 Thread Pawan Jha
I have already use this but this is not working links = [lambda row: A(TAG[''](SPAN(_class="icon icon-list"),SPAN('List', _class="buttontext button", _title="list")), _class="w2p_trap button btn", _href=URL('see_list', args=[row.id])), lambda row: A(TAG[''](SPAN(_class="icon ic

Re: [web2py] Re: Testing your app using py.test

2013-05-25 Thread Anthony
> Not sure what you mean about duplication. If you have something to >> announce, post about it here. >> >> > That's even worse... > Now you are suggesting a 3'rd avenue... > What I mean by "duplication", is that you have multiple places that need > to get updated every time an announcement is

Re: [web2py] asynchronous respons using twisted... is it possible?

2013-05-25 Thread Ricardo Pedroso
On Fri, May 24, 2013 at 12:05 PM, Manuele Pesenti wrote: > Hi! > > Starting from the fact that using the anyserver script web2py can be run > under twistedmatrix web server... is it possible to combine web2py with > twisted async way of programming? > > You can't, according to this http://twiste

[web2py] Add Image Button in sqlform.grid

2013-05-25 Thread Pawan Jha
Hi i need to customize my link with image icon so how will i do this in web2py SQLFORM.grid i am adding link to sqlform.grid -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails fr

Re: [web2py] Re: Testing your app using py.test

2013-05-25 Thread Arnon Marcus
> I think you would need a formal process to determine which items will make > it into which releases. > How about a poll-voting thing? > > Not sure what you mean about duplication. If you have something to > announce, post about it here. > > That's even worse... Now you are suggesting a 3'rd

Re: [web2py] Re: Testing your app using py.test

2013-05-25 Thread Arnon Marcus
> Perhaps, but if they're not interested (or can contribute more value to > the framework in some other way), that may just leave you. If you're not > interested, why should anyone else be? > > Because other people are different than me. :) They might like this sort of thing. > For further r

Re: [web2py] Re: No module named PIL

2013-05-25 Thread António Ramos
you can install python setup tools and then use easy_install pil from the script folder in your python folder 2013/5/25 Alex Glaros > error message said: python2.7 required, but was not found in registry > > tried all versions down to 2.4 > > is there a work-around? > > thanks, > > Alex > > >