[web2py] Re: Getting an error that ends in "No driver of supported ones %s is available" % str(self.drivers) RuntimeError: No driver of supported ones ('psycopg2',) is available

2020-04-24 Thread Dave S
On Saturday, April 18, 2020 at 5:15:10 PM UTC-7, Valdeck Rowe wrote: > > Is it possible for me to use the pg8000 driver? > > It is, but it's not recommended. That driver is known to have problems and I believe that it no longer has a maintainer. I used it for several months, but once I figure

[web2py] Re: Sobre ejecucion de web2py en windows 10

2020-04-24 Thread Dave S
On Monday, April 20, 2020 at 10:28:19 PM UTC-7, Yeoresley Dominguez wrote: > > Buenas Noches recien descargue la version ultima de web2py, pero al > descompactarla y ejecutar el ejecutable para windows web2py.exe, no se > ejecuta y no me sale la ventanita del servidor, tengo windows 10 > entre

[web2py] Re: Why do my questions never show up?

2020-04-24 Thread Dave S
On Tuesday, April 21, 2020 at 8:00:10 AM UTC-7, Jon Paris wrote: > > Thanks Andrew. > > I did use the web interface but is has taken more than 3 days for any of > my posts to show up. > > There used to be an anti-spam measure that required review of a first post, but I think that disappeared ye

[web2py] Re: how to execute web2py with Rocket using SSL?

2020-04-24 Thread Clemens
Hello, it seems that there are some problems with rocket under Python 3.x. As posted a few weeks ago I have the following problem: *I've switched my web2py app from python2 to python3. The app itself works fine, but the web2py online debugger doesn't work anymore and is mostly freezing. Someti

[web2py] Android and ios aops

2020-04-24 Thread Maurice Waka
Just following on this discussion : "Can we use a web2py app on Android mobile? - Google Groups" https://groups.google.com/forum/m/#!topic/web2py/1ZxFEB5j4XA Anyone who has latest information on creating a download able app? -- Resources: - http://web2py.com - http://web2py.com/book (Documen

[web2py] Re: how to execute web2py with Rocket using SSL?

2020-04-24 Thread VJ Sosa
Hi Jim and Clemen, I really appreciate your support and time. I'm newbie in python programming, so my idea was to have an easy implementation of my wepapp using web2py + Rocket (it was an excelent option for me until this issue with Rocket arised). So, I have decided to leave Rocket out of the

[web2py] Re: how to execute web2py with Rocket using SSL?

2020-04-24 Thread Jim S
VJ I agree web2py + rocket is a good way to go about this. But, in the documentation I believe it is recommended to not use Rocket for a production server. If running on linux I believe nginx is the best place choice for a web server. Yes, it is more complicated to setup, but in th end you'r

[web2py] Re: How do I hide automatically generated child columns in web2py's SmartGrid?

2020-04-24 Thread Jim S
This is pretty ugly, but I think it should work if you're interested in fixing this with jquery in your template. I use this technique to hide columns based on other things going on with the page, but should work in your situation too. I haven't tested the re-labeling the column heading so the

Re: [web2py] Android and ios aops

2020-04-24 Thread Christian Varas
Hi, i did this in android some years ago, you can run web2py using SL4A and installing the python package, then you have to move the web2py folder into the SL4A folder and run the web2py with no GUI. Other option could be Termux, is more easy, you can install packages with like “apt install python”

Re: [web2py] Android and ios aops

2020-04-24 Thread Lovedie JC
Thanks. I had seen the SL4A some time ago but couldn't trace the instructions on how to do it. I'm more interested in a Google play store product though. Regards On Fri, Apr 24, 2020, 17:45 Christian Varas wrote: > Hi, i did this in android some years ago, you can run web2py using SL4A > and ins

Re: [web2py] Re: how to execute web2py with Rocket using SSL?

2020-04-24 Thread VJ Sosa
Thanks Jim, I will follow your advice on using Nginx. However, it is not quite intuitive the way this configuration is explained in the web2py book. Details are given for the Apache2 configuration. It is assumed that the reader has enough knowledge on how to configure a web server. Could your r

Re: [web2py] Re: how to execute web2py with Rocket using SSL?

2020-04-24 Thread Jim S
There is a script available to do the nginx install on Ubuntu, but I haven't looked at it in a while. When I went through it there were changes that were needed for me to get it working. But, that was back pre-Ubuntu 16, so the script has changed to allow for systemd instead of upstart. In t

Re: [web2py] Re: how to execute web2py with Rocket using SSL?

2020-04-24 Thread Clemens
Victor, I've written my personal step-by-step deployment guide for web2py and Nginx which I'm using for my production system. If interested, I can send you as a PDF document. But what I couldn't realize is to use the web2py-Nginx-enviroment for debugging. As long only for production it's fine

Re: [web2py] Re: how to execute web2py with Rocket using SSL?

2020-04-24 Thread Jim S
Clemens Can you share that PDF with all of us when you have it complete? -Jim On Friday, April 24, 2020 at 10:28:22 AM UTC-5, Clemens wrote: > > Victor, > > I've written my personal step-by-step deployment guide for web2py and > Nginx which I'm using for my production system. If interested, I

Re: [web2py] Re: how to execute web2py with Rocket using SSL?

2020-04-24 Thread Clemens
Sure! But now I have to make fire for the kids and their stick breads :-) I will clean up my notes on Sunday and send here. Have a nice weekend! On Friday, April 24, 2020 at 5:44:40 PM UTC+2, Jim S wrote: > > Clemens > > Can you share that PDF with all of us when you have it complete? > > -Jim

[web2py] grid reloading the page on grid actions (and keeping the page's arguments)

2020-04-24 Thread Vlad
I've got a page with a grid on it. grid reloads the page on create and other actions. the page to begin with has arguments, for example, page/1/2/3. I want the grid to keep these 1/2/3 in place when reloading the page on those actions, for example, on new record it should use page/1/2/3/new in

[web2py] Re: grid reloading the page on grid actions (and keeping the page's arguments)

2020-04-24 Thread Jim S
I thought it did keep track of paging. Are you looking for it to keep arguments that you supplied? -Jim On Friday, April 24, 2020 at 11:33:47 AM UTC-5, Vlad wrote: > > I've got a page with a grid on it. > grid reloads the page on create and other actions. > the page to begin with has argumen

Re: [web2py] Re: grid reloading the page on grid actions (and keeping the page's arguments)

2020-04-24 Thread Eliezer (Vlad) Tseytkin
Yes, there are arguments on the page already. I don't want the grid to get rid of them when reloading for those actions. On Fri, Apr 24, 2020, 12:39 PM Jim S wrote: > I thought it did keep track of paging. > > Are you looking for it to keep arguments that you supplied? > > -Jim > > On Friday, Ap

Re: [web2py] Re: grid reloading the page on grid actions (and keeping the page's arguments)

2020-04-24 Thread Jim S
So, you have to manage that yourself. I do it kind of like this. Yes, I know it's ugly but it pretty much works. # if the variable is passed in, get the value search_text = request.get_vars.search_text if request.wsgi.environ['QUERY_STRING'] != '': # we get here if no vars were passed on

Re: [web2py] Re: grid reloading the page on grid actions (and keeping the page's arguments)

2020-04-24 Thread Eliezer (Vlad) Tseytkin
I see. Thank you. I also did some Googling and found what I think should be documented more explicitly and perhaps more clearly in web2py docs (it's there, but unless you know what to look for, you're guaranteed to miss it): when creating grid, the following args=request.args[:1] tells the gri

Re: [web2py] Re: grid reloading the page on grid actions (and keeping the page's arguments)

2020-04-24 Thread Jim S
Wow, way better than what I've been doing. I'm going to have to take a look at that. Thanks! -Jim On Friday, April 24, 2020 at 12:28:56 PM UTC-5, Vlad wrote: > > I see. Thank you. > > I also did some Googling and found what I think should be documented more > explicitly and perhaps more clea

Re: [web2py] Re: how to execute web2py with Rocket using SSL?

2020-04-24 Thread VJ Sosa
Thank you Jim, I'll take a look at that script. Regards, Víctor On Fri, Apr 24, 2020 at 5:28 PM Jim S wrote: > There is a script available to do the nginx install on Ubuntu, but I > haven't looked at it in a while. When I went through it there were changes > that were needed for me to get it w

Re: [web2py] Re: how to execute web2py with Rocket using SSL?

2020-04-24 Thread VJ Sosa
Thanks Clemens, I have a similar work to do right now :-) For sure , your pdf manual will be very helpful for me. Please send it when you can. Regards, Víctor On Fri, Apr 24, 2020 at 6:03 PM Clemens wrote: > Sure! But now I have to make fire for the kids and their stick breads :-) > I will cle

[web2py] Packing application

2020-04-24 Thread Yoel Benitez Fonseca
how to programmatically package an application as in the admin app ? I mean, obtain the .w2p package ? -- Msc. Yoel Benítez Fonseca -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issue

[web2py] Prevent submit of empty value

2020-04-24 Thread Maurice Waka
Hello. I have this in one of my pages {{=BEAUTIFY(request.vars)}} Every time there is a reload esp. using LOAD () Helper I get a blank or none submit value on the page. How can I prevent this on the html side? Regards -- Resources: - http://web2py.com - http://web2py.com/book (Documentation)

[web2py] web2py website development contractor wanted

2020-04-24 Thread Richard Gordon
Hello web2py users: Is anyone out there ready, willing and able to contract-program for me to put up a new web2py-based shopping site for my product? Something simple and clean with product photos, shopping cart, basic inventory control, links to Paypal or other payment site, and some static pa