[web2py] Re: web2py gunicorn dockerfile

2018-01-08 Thread 黄祥
trying with latest ubuntu and web2py/scripts/setup-web2py-ubuntu.sh return an error Failed to connect to bus: No such file or directory step i took echo '# Emperor uWSGI script description "uWSGI Emperor" start on runlevel [2345] stop on runlevel [06] ## #remove the comments in the next section

[web2py] One form for multiple tables

2018-01-08 Thread Yoel Benítez Fonseca
I have a crear idea on how to use: http://web2py.com/books/default/chapter/29/07/forms-and-validators#One-form-for-multiple-tables But how to do the same for a edit form? Is posible to tell to SQLFORM.factory with are the current values of the fields ? Until now what i do is: - Copy the

Re: [web2py] Re: Apache + multidomain + SSL

2018-01-08 Thread Richard Vézina
Hi Kenneth, Can you be more precise on your issues... I have upgrade my certificate in the begining of 2017 and fall on many issues and resolves them... In my case I was wanting to use one certificate for multiple sub-domains... But I may help you get out of some pitfall you face. Richard On

[web2py] Re: DISPLAYING LINK DETAILS INTO ANOTHER DIV USING (args=variable.id)

2018-01-08 Thread mostwanted
On Monday, January 8, 2018 at 2:55:43 PM UTC+2, Anthony wrote: > > You'll need the links to trigger Ajax requests. web2py includes some > relevant built-in functionality for this -- see the documentation for the > A() helper: http://web2py.com/books/default/chapter/29/05/the-views#A. > You

Re: [web2py] Re: horizontal scaling question

2018-01-08 Thread Anthony
On Sunday, January 7, 2018 at 2:45:30 PM UTC-5, Massimo Di Pierro wrote: > > I am curious whether anybody has actually tried this. > > I am concerned about a few things that can go wrong: > 1) even GET request may write to the DB (maybe write session in DB or > logging some action) > Yes,

[web2py] Re: DISPLAYING LINK DETAILS INTO ANOTHER DIV USING (args=variable.id)

2018-01-08 Thread Anthony
You'll need the links to trigger Ajax requests. web2py includes some relevant built-in functionality for this -- see the documentation for the A() helper: http://web2py.com/books/default/chapter/29/05/the-views#A. You can use either (1) the "callback" and "target" arguments or (2) the "cid"

Re: [web2py] web2py webfaction unable to upload

2018-01-08 Thread António Ramos
What is the problem? cant upload a file to a web2py app? Do you have apache or nginx with your web2py app? What is the error you get??? 2018-01-07 20:09 GMT+00:00 Aydin : > I tried all those tricks here and in other forums to resolve this, > shutdown the web2py and

[web2py] DISPLAYING LINK DETAILS INTO ANOTHER DIV USING (args=variable.id)

2018-01-08 Thread mostwanted
My task is very simple but i do not know how carry it out I have 2 DIVs namely *#names* and *#details*, there is a list of names in link format in DIV *#names*, what I want is that when i click on any of these links i want the rest of that link's details to be displayed in DIV *#details* in the

[web2py] Re: Virtual field error in view on Pythonanywhere

2018-01-08 Thread Fabio Ceccarani
I found that the problem is on geopy in pythonanywhere not in virtual field. If I change: import geopy.distance in from geopy.distance import vincenty in pythonanywhere: ImportError: cannot import name vincenty In local installation it works. Thanks for hints! Fabio Il giorno domenica

[web2py] web2py mobile interface

2018-01-08 Thread mostwanted
Hi guys, where can i find good web2py mobile interface tutorials and some applications that are using it? I wanna try it out but its giving me a hard time, and if anyone has used it and are willing to give out pointers i'd really appreciate it. Thanks -- Resources: - http://web2py.com -