[web2py] Re: New table fields don't show

2018-05-18 Thread Luís Guilherme F
pack and attach a minimal app that reproduces the problem (will > have to be with SQLite). > > Anthony > > On Wednesday, May 16, 2018 at 10:54:27 AM UTC-4, Luís Guilherme F wrote: >> >> Anthony, >> What I see are only the two first columns (cod_m, nome), on a table q

[web2py] Re: New table fields don't show

2018-05-16 Thread Luís Guilherme F
rors clicking on db.mercado at appadmin, but still have only two fields at Insert New Record form. On Wednesday, 16 May 2018 16:24:02 UTC+1, Luís Guilherme F wrote: > > Here's the output of the Query db.mercado.id>0 : > > mercado.id mercado.cod_m mercado.nome > 136 5 Beira

[web2py] Re: New table fields don't show

2018-05-16 Thread Luís Guilherme F
Here's the output of the Query db.mercado.id>0 : mercado.id mercado.cod_m mercado.nome 136 5 Beira Litoral 137 7 Alentejo 138 8 Entre Douro e... 139 14 Centro (Aveir... 140 15 Norte (Viseu) 141 16 Oeste Luís On Wednesday, 16 May 2018 15:54:27 UTC+1, Luís Guilherme F wrote: > > Ant

[web2py] Re: New table fields don't show

2018-05-16 Thread Luís Guilherme F
ent problem is. Are you getting an > error? What do you see, and what are you expecting instead? > > On Wednesday, May 16, 2018 at 9:20:23 AM UTC-4, Luís Guilherme F wrote: >> >> Hello, >> I had a table with two fields. My app was fine. >> Then I added two more but

[web2py] New table fields don't show

2018-05-16 Thread Luís Guilherme F
Hello, I had a table with two fields. My app was fine. Then I added two more but web2py/appadmin doesn't show them. I used mysql tools to change it. Then I corrected my models/db.py, and ONLY then I ran appadmin. I've tried migrate=False (and True) and fake_migrate=True. Original table: db.define

[web2py] Re: TypeError: getattr(): attribute name must be string

2017-12-27 Thread Luís Guilherme F
lways check the setup script for any changes to Apache conf? At web2py.com installation instructions only tells you to unzip after download. Great framework, though. Luís On Friday, 22 December 2017 12:53:48 UTC, Luís Guilherme F wrote: > > Hello, > I'm getting this error on a se

[web2py] TypeError: getattr(): attribute name must be string

2017-12-22 Thread Luís Guilherme F
Hello, I'm getting this error on a server with Apache 2.2 / Ubuntu 12.04, which doesn't happen on a box with Apache 2.4 / Ubuntu 16.04 (both now with web2py 2.16.1): Traceback (most recent call last): File "/opt/web2py/gluon/main.py", line 434, in wsgibase session.connect(request, response