[web2py] cas broken in 2.14.3?

2016-04-02 Thread Martin Weissenboeck
Is cas broken in 2.14.3? I am not sure - I have tested it with two different sites and I have got errors like "invalid request" or "not authorized". Site 1: Cas worked before upgrade to 2.14.3. Site 2: A new test with my local server: In application m_abschluss, db.py: auth = Auth(db, cas_prov

[web2py] Scheduler always QUEUED in windows

2016-04-02 Thread narges Rezaei
hi i have an application for send sms in certain time . i use pycharm (web2py) for writing this program and web2py scheduler . i can see the records of tasks in db.scheduler_task but no records in scheduler_run and scheduler_worker tables and also the task will execute befor insert in table

[web2py] Re: Scheduler always QUEUED in windows

2016-04-02 Thread Dave S
On Saturday, April 2, 2016 at 2:04:19 AM UTC-7, narges Rezaei wrote: > > hi > i have an application for send sms in certain time . i use pycharm > (web2py) for writing this program and web2py scheduler . i can see the > records of tasks in db.scheduler_task but no records in scheduler_run and

[web2py] How to use sms services in web2py?

2016-04-02 Thread Emmanuel Dsouza
Please dont redirect me to the book because it isn't mentioned nicely there. Please let me know the stepwise procedure. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Repor

[web2py] Bug? autocomplete widget kills the bootstrapiness of the associated smartgrid form control

2016-04-02 Thread Valdeck Rowe
I've noticed that adding autocomplete widget to a field definition (only appears to work programmatically) removes the form-control class attribute from the smartgrid input fields. Adding this: db.person.status.widget = SQLFORM.widgets.autocomplete(request, db.person.status, limitby = (0,15),

Re: [web2py] web2py interactive console

2016-04-02 Thread narges Rezaei
hi i want use "python web2py.py -K myapp " to start scheduler in pycharm (windows) , but i can not do it and i dont know how use it and where use it . On Wednesday, June 6, 2012 at 1:57:41 PM UTC+4:30, Javier Pepe wrote: > > Hello > > You need add the -M option to load models. > > > > On Wed, J

[web2py] Re: Scheduler always QUEUED in windows

2016-04-02 Thread narges Rezaei
i did not use it , i use "http://127.0.0.1:8000/myapplication"; . On Saturday, April 2, 2016 at 1:53:37 PM UTC+4:30, Dave S wrote: > > On Saturday, April 2, 2016 at 2:04:19 AM UTC-7, narges Rezaei wrote: >> >> hi >> i have an application for send sms in certain time . i use pycharm >> (web2py)

[web2py] Re: Scheduler in Windows

2016-04-02 Thread narges Rezaei
hi how and where use from "python web2py.py -K myapp" to start scheduler in pycharm (windows) . i use from "http://127.0.0.1:8000/main"; to run my program . On Monday, December 9, 2013 at 11:32:52 AM UTC+3:30, Niphlod wrote: > > uhmwhat happens if you start it with > web2py.py -K verificati

[web2py] Re: How to use sms services in web2py?

2016-04-02 Thread Anthony
The book seems fairly simple and straightforward. Please show the code you have tried and and explain what problem you are having. It might be helpful to look at the source code to see the list of mobile provider names: https://github.com/web2py/web2py/blob/master/gluon/contrib/sms_utils.py. Y

[web2py] Re: Can't "keepvalues" for read-only boolean fields in SQLFORM factory

2016-04-02 Thread Jeremy Martin
HUGE help, sorry for double-posting. I was a bit baffled. On Friday, 1 April 2016 22:59:00 UTC-5, Anthony wrote: > > Looks like a bug (please open a Github issue). In the meantime, see > http://stackoverflow.com/a/36369012/440323. > > Anthony > > On Friday, April 1, 2016 at 2:31:11 PM UTC-4, Jer

Re: [web2py] Re: alternate date/time widgets?

2016-04-02 Thread Massimo Di Pierro
Eventually I will move them to a different repo. The js do not depend on any css. On Tuesday, 29 March 2016 19:32:40 UTC-5, ..mg.. wrote: > > Is there an easy way to get just the widgets? I have stupid.css, and > I should have some time Thursday to play with it. > > -mg > > On Tue, Mar 29, 20

[web2py] Re: OFF Topic - Cycle.js

2016-04-02 Thread Massimo Di Pierro
I like it a lot better than React. I still prefer ractive.js and vue.js On Wednesday, 30 March 2016 06:43:53 UTC-5, Ramos wrote: > > Can i have some opinions on this new thing? > > http://cycle.js.org/ > > thank you > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - h

[web2py] Re: How to use sms services in web2py?

2016-04-02 Thread Massimo Di Pierro
That's so old I do not believe that method is still current. On Saturday, 2 April 2016 07:58:09 UTC-5, Anthony wrote: > > The book seems fairly simple and straightforward. Please show the code you > have tried and and explain what problem you are having. > > It might be helpful to look at the sou

[web2py] Join on 2 Different Databases

2016-04-02 Thread mbui
I have two database connections, one to SQLlite called db and the other to MySQL called sky. I am trying to join a table from each database. Is this possible in web2py? I've tried numerous things but none of them seem to work. something like db( db.stations.NodeID == sky.device.macaddress ).

[web2py] displaying none

2016-04-02 Thread Jeff Riley
What have I done wrong with represent. it is still displaying none. Field('bridge', 'string', length=5, represent=lambda v, r: '' if v is None else v), -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - h

[web2py] Re: How to use sms services in web2py?

2016-04-02 Thread Leonel Câmara
Using a service like twilio is probably the easiest way. -- 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 subscri

[web2py] Re: displaying none

2016-04-02 Thread Leonel Câmara
I don't see anything wrong. It's displaying None probably because represent is not being called. You probably just need to render the rows after you get them with select. See: http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#Rendering-rows-using-represent -- Resourc

[web2py] Re: How to use sms services in web2py?

2016-04-02 Thread Anthony
In theory I think it should still work, though the email addresses might need to be updated. Anthony On Saturday, April 2, 2016 at 1:55:28 PM UTC-4, Massimo Di Pierro wrote: > > That's so old I do not believe that method is still current. > > On Saturday, 2 April 2016 07:58:09 UTC-5, Anthony wro

[web2py] smartgrid header sorting

2016-04-02 Thread Jeff Riley
Hello all. I have the following function to display a smartgrid. My issue is I am not able select a header to sort. It gives me a 404. @auth.requires_login() def manage_sheets(): if 'new' in request.args: redirect(URL('new_sheet', args=[session.cust_id])) elif 'edit' in request

[web2py] Re: Shell - reload record from server

2016-04-02 Thread Marcello
Niphlod, db.commit() did the trick Thank you... On Friday, April 1, 2016 at 5:14:24 PM UTC-3, Niphlod wrote: > > can you try to do a db.commit() in the shell AFTER the succesfull update > on mysql's console and BEFORE fetching the record in the shell the second > time ? > > On Friday, Ap

[web2py] What's the problem with web2py such that no Unirest stuff works? Check below.

2016-04-02 Thread Jacob Devin
my code: import unirest def index(): response = unirest.post("https://voicerss-text-to-speech.p.mashape.com/?key=c6a700d0f8f343799009e395573f75f2";, headers={ "X-Mashape-Key": "TmlbmJ9Xo9mshlu42U223N0Y17Xzp17df0GjsnDvv9o4uNZLNO", "Content-Type": "application/x-www-form-urlencoded

[web2py] Re: Scheduler always QUEUED in windows

2016-04-02 Thread Dave S
On Saturday, April 2, 2016 at 5:25:35 AM UTC-7, narges Rezaei wrote: > > i did not use it , i use "http://127.0.0.1:8000/myapplication"; . > > That is a URL. One typically enters that in a browser address box. How do you start the web2py server so that it responds to URLs? What is your envi

[web2py] Why unirest doesn't work? What kind of error is this?

2016-04-02 Thread Stephen Duisberg
my code: import unirest def index(): response = unirest.post("https://voicerss-text-to-speech.p.mashape.com/?key= secret", "X-Mashape-Key": "key", "Content-Type": "application/x-www-form-urlencode

Re: [web2py] Re: Scheduler always QUEUED in windows

2016-04-02 Thread narges Rezaei
i use PyCharm for writing program and when it run ,web2py server will start . i work in windows. i open pycharm and create a web2py project. thanks. On Sun, Apr 3, 2016 at 9:08 AM, Dave S wrote: > > > On Saturday, April 2, 2016 at 5:25:35 AM UTC-7, narges Rezaei wrote: >> >> i did not use it , i

[web2py] Re: deploying web2py on IIS

2016-04-02 Thread Dmitri Ermolaev
I do it! Its work: http://web2py.com/books/default/chapter/29/13/deployment-recipes#IIS IIS much quicker than Apache - Apache load a processor at 100% for AJAX requests (( thanx вторник, 6 сентября 2011 г., 13:03:42 UTC+3 пользователь Hassan Alnatour написал: > > how can i deploy web2py on II

Re: [web2py] Re: Scheduler always QUEUED in windows

2016-04-02 Thread Dave S
On Saturday, April 2, 2016 at 9:44:53 PM UTC-7, narges Rezaei wrote: > > i use PyCharm for writing program and when it run ,web2py server will > start . i work in windows. > i open pycharm and create a web2py project. > thanks. > > Open a cmd.exe window ("DOS window"), and use the cd command to g

Re: [web2py] Re: Scheduler always QUEUED in windows

2016-04-02 Thread narges Rezaei
thanks a lot . I did it , the project folder shouمd be in "web2py" folder . my project was in pycharm folder . after then , i did "cd C:\Users\narges\web2py" and then start the web2py server with IDE and then "web2py.exe -K MyApp" in cmd. On Sun, Apr 3, 2016 at 9:46 AM, Dave S wrote: > On S