[web2py] MySQL connection error after scheduled task completes

2016-06-05 Thread Andre Kozaczka
I'm getting the following error after my scheduled task completes: Traceback (most recent call last): File "/home/wdis/web2py/gluon/shell.py", line 273, in run exec(python_code, _env) File "", line 1, in File "/home/wdis/web2py/gluon/scheduler.py", line 717, in loop self.wrapped_repor

[web2py] Re: reading values from request.vars

2016-06-05 Thread ktesr123456
I am getting request.vars as shown below when I print it vars: these values are given as input from user interface and it has 2 rows, each row has 3 dropdown and 1 text box now how do I read each item and insert into database, in the database there is a table that has 4 columns, as per my req

Re: [web2py] Re: Weird form issue

2016-06-05 Thread Mark Graves
=) You're welcome Happens all the time to me, I find that I learn the most by listening to others. I couldn't figure it out too, so I dove in. It caused me to rethink the web2py form and db logic =) -Mark On Sun, Jun 5, 2016 at 4:36 PM, Jeff Riley wrote: > Seriously. Well that is just emb

[web2py] Re: Weird form issue

2016-06-05 Thread Jeff Riley
Seriously. Well that is just embarrassing. Thank you so much Mark for your help with this. In looking back at the other 22 forms I have created, this is the first one where I was pre-populating any of the fields and not showing them. Thank you for this valuable insight. All my best. On Sun

[web2py] Re: Python Social Auth - example site working with downlevel version of PSA

2016-06-05 Thread Joe Barnhart
Well I don't know about OAuth or auth-social, but I know web2py auth and I know python pretty well. I'll do a little reading on the whole concept of social-auth and see if I can dig up more resources, like maybe the author of w2p-social-auth. If worse comes to worst, I can get some help from

[web2py] Re: Weird form issue

2016-06-05 Thread Mark Graves
Hey Jeff, It looks like you created a sqlform expecting all fields, then the form was expecting all fields back, but you only used some of them in the view, so they were not processed. Specifically, the status field. You could either set the type of the field to hidden and include it or only

[web2py] Re: Python Social Auth - example site working with downlevel version of PSA

2016-06-05 Thread Donald McClymont
I would really like some progress on this - however I have extremely limited knowledge of both auth and Python Social Auth so was rather hoping someone that did might develop this in a better manner than I am likely to do.. I did briefly attempt to update what I have but quickly came to the co

[web2py] Weird form issue

2016-06-05 Thread Jeff Riley
Hello all. I have built many forms in Web2py, but I clearly need another set of eyes. This form only works if I display every signal field for some reason. I am at a loss as to what I have set wrong. I will add a file with all the relevant code. Thank you all very much for you help with thi

[web2py] Re: ajax return multiple javascript one at a time

2016-06-05 Thread Anthony
What do you see in the browser network panel (are both requests firing, and if so, what are the responses?) and JS console (any errors reported)? On Sunday, June 5, 2016 at 7:26:57 AM UTC-4, Paolo Amboni wrote: > > I don't know if it is possible but: > > I need to query 4 different db with a sing

[web2py] Re: This query doesn't fulfill what I need as it doesn't follow first condition? How to correct?

2016-06-05 Thread Anthony
Please see http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#Logical-operators. On Sunday, June 5, 2016 at 4:33:49 AM UTC-4, Steve Joe wrote: > > rides=db(db.carpools.start_time > > request.utcnow+datetime.timedelta(0,19800) and > db.carpools.starter!=auth.user_id).se

[web2py] ajax return multiple javascript one at a time

2016-06-05 Thread Paolo Amboni
I don't know if it is possible but: I need to query 4 different db with a single form input. Since each query may need some time to perform i want to show the the result of the first query as soon as it is available, and then move to the second query and so on. I tried calling multiple ajax fun

[web2py] This query doesn't fulfill what I need as it doesn't follow first condition? How to correct?

2016-06-05 Thread Steve Joe
rides=db(db.carpools.start_time > request.utcnow+datetime.timedelta(0,19800) and db.carpools.starter!=auth.user_id).select() -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list