Re: [web2py] Re: Scheduler runs

2016-07-28 Thread Sagar Shah
the > corresponding line in scheduler_run to retrieve the result. > > On Tuesday, July 26, 2016 at 8:28:32 PM UTC+2, Sagar Shah wrote: >> >> I have to tasks running by a scheduler. I see custom logs from one and >> not from the other. >> All I see from the other one is: &

[web2py] Scheduler runs

2016-07-26 Thread Sagar Shah
I have to tasks running by a scheduler. I see custom logs from one and not from the other. All I see from the other one is: 2016-07-25 15:44:07,707 - web2py.app.Sentinel - DEBUG - new task report: COMPLETED 2016-07-25 15:44:07,707 - web2py.app.Sentinel - DEBUG -result: null Also, I do

[web2py] Stream output on the fly

2016-07-25 Thread Sagar Shah
. Also, what's the best way to store the API key of the external firewall I am using? Thanks, Sagar -- 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

[web2py] How to redirect user to original url he asked after login

2011-09-16 Thread sagar
How to redirect user to original url he asked after login I seen there is auth.settings.login_next but I am not able to get that original requested url. Please help.

Re: [web2py] How to redirect user to original url he asked after login

2011-09-16 Thread sagar nigade
Thanks for reply richard but not geting you. On Fri, Sep 16, 2011 at 8:45 PM, Richard Vézina ml.richard.vez...@gmail.com wrote: It suposed to be managed by default no? Richard On Fri, Sep 16, 2011 at 11:12 AM, sagar browse2sa...@gmail.com wrote: How to redirect user to original url he

Re: [web2py] How to redirect user to original url he asked after login

2011-09-16 Thread sagar nigade
By deafult it is not redirected to url he asked I had definded auth.settings.login_next=url(default url) but by removing it also not redirecting to the url user asked. On Fri, Sep 16, 2011 at 8:54 PM, sagar nigade browse2sa...@gmail.comwrote: Thanks for reply richard but not geting you

Re: [web2py] How to redirect user to original url he asked after login

2011-09-16 Thread sagar nigade
the decorator ? If not try the @auth.requires_login() It maybe the decorator that manage the redirection... I have look in my app and can't see that I do something special for allow redirection... Richard On Fri, Sep 16, 2011 at 11:31 AM, sagar nigade browse2sa...@gmail.comwrote: By deafult

[web2py] how to create image as link using web2py controller

2011-08-22 Thread sagar
I have triying like this but not succeeded yet, table += td+ str(A(_href=URL('a', 'preview')) , IMG(_src=URL(r=request,c='static',f='images/preview.png'),_width=15, _height=15 )) +/td

Re: [web2py] Re: how to create image as link using web2py controller

2011-08-22 Thread sagar nigade
('default','index')) Matt Gorecki On Aug 22, 9:11 am, sagar browse2sa...@gmail.com wrote: I have triying like this but not succeeded yet, table += td+ str(A(_href=URL('a', 'preview')) , IMG(_src=URL(r=request,c='static',f='images/preview.png'),_width=15, _height=15 )) +/td

[web2py] how to hide arguments passed in url in sql update form

2011-07-26 Thread sagar
Hi, I have created sql form form=SQLFORM(db.test) if id is present: update=updatetest/+ str(id) redirect(URL(update)) Is there any way to hide passed argument in url for update form.. Thanks, Sagar

Re: [web2py] Re: can we use javascript in sqlform How?

2011-07-16 Thread sagar nigade
the content of the text box saved in the table, you should add a field for it, and initially set that field as hidden in the form (and use JS to unhide it). Anthony On Friday, July 15, 2011 11:42:04 AM UTC-4, sagar wrote: I am using sql form db.py data=db.define_table('**template_properties

[web2py] can we use javascript in sqlform How?

2011-07-15 Thread sagar
I am using sql form db.py data=db.define_table('template_properties', Field('temp_uid', 'string',default=uuid.uuid1(), writable=False, readable=False), Field('template_name', default=''), Field('deadline','datetime'),

[web2py] How to add user to user_auth table of CAS

2011-07-01 Thread sagar
=t...@autotest.com,password=CRYPT(auth.settings.hmac_key) (password)[0]) but to authenticate user i have to insert it into user_auth table of CAS from my local app. I am trying but not succeeded yet. How to do this? Please help.. Thanks Sagar

Re: [web2py] How to add user to user_auth table of CAS

2011-07-01 Thread sagar nigade
oops thinkig some other way soory...thats simple it can be encoded using urllib2 and send to cas app..there i can get in request.vars.i thinks thats the right approach.. On Fri, Jul 1, 2011 at 4:34 PM, sagar browse2sa...@gmail.com wrote: Hi, I have situation where ,once I recive Email ids

[web2py] CAS

2011-06-29 Thread sagar
understanding of it. Thanks, Sagar

Re: [web2py] Re: Working with CAS

2011-06-23 Thread sagar nigade
: giving me err in auth.settings.cas_domains.append AttributeError: 'NoneType' object has no attribute 'append' I believe you are running an old version of web2py that does not support the new CAS mechanism. Please try the latest one. On Jun 22, 9:50 am, sagar browse2sa...@gmail.com wrote: Hi I

Re: [web2py] Re: Working with CAS

2011-06-23 Thread sagar nigade
Its done there was some setting issues. On Thu, Jun 23, 2011 at 1:16 PM, sagar nigade browse2sa...@gmail.comwrote: Massimo, Thanks for your reply now I am working with new version 1.96.4 but now as given in cas_auth.py I have update my db.py with from gluon.contrib.login_methods.cas_auth

[web2py] Working with CAS

2011-06-22 Thread sagar
Hi I am trying to using use cas as given in online document when i am using this : CAS.login_url='https://www.web2py.com/cas/cas/login' CAS.check_url='https://www.web2py.com/cas/cas/check' CAS.logout_url='https://www.web2py.com/cas/cas/logout'

[web2py] how to ignore keyword in web2py

2011-06-21 Thread sagar
i have to use group as column name in web2py. i am using mysql as a db. in mysql we can do it using `group` in python we can do it using group_ d=db.test.insert(name=exacturl,group=) How to ignore keyword in web2py.

[web2py] Re: how to ignore keyword in web2py

2011-06-21 Thread sagar nigade
Please let me know is it possible or not? On Tue, Jun 21, 2011 at 11:32 AM, sagar browse2sa...@gmail.com wrote: i have to use group as column name in web2py. i am using mysql as a db. in mysql we can do it using `group` in python we can do it using group_ d=db.test.insert(name=exacturl

Re: [web2py] Re: how to ignore keyword in web2py

2011-06-21 Thread sagar nigade
ok. Thanks for your reply Massimo On Tue, Jun 21, 2011 at 7:40 PM, Massimo Di Pierro massimo.dipie...@gmail.com wrote: this is not supported at the moment but it is in our plans. On Jun 21, 3:23 am, sagar nigade browse2sa...@gmail.com wrote: Please let me know is it possible