[web2py] Re: OFF Topic - Tech for the frontend - Elm ???

2017-10-09 Thread Eric Waldman
I've recently been quite enamoured by choo https://choo.io/ It's got a beautiful api, very functional. Nowhere near as complex as Angular or React + Redux. On Thursday, September 28, 2017 at 11:59:56 AM UTC-4, Ramos wrote: > > i meant sharing :) > > 2017-09-28 16:58 GMT+01:00 António

Re: [web2py] Re: web2py and pouchdb

2017-10-09 Thread 黄祥
yes, you are right, it's javascript/web2py problem, fix it with: *controllers/default.py* def pouchdb(): form = SQLFORM.factory( ... ) if form.process(formname = request.function).accepted: response.flash = 'form accepted' elif form.errors:

[web2py] logging 500 errors with uwsgi

2017-10-09 Thread Dave S
I'm still learning the ropes in regards to running web2py with nginx+uwsgi. The test server seems to work well, but UptimeRobot gets a 500 error from time to time, which results in a "server is down" message. When I look in the logs, the uwsgi.log reports the 500, but no details. There

[web2py] Re: Understanding the download function

2017-10-09 Thread Rudy
Hi Andy, It works as you suggested below, thanks so much. Anthony, i understand what you meant of "In your case, though, you are only defining the db.attachment_module table when inside the module_based() function, so when in the download() function, that model doesn't exist, and

(Solved): [web2py] Re: Web2py won't start with getLogger error

2017-10-09 Thread Omi Chiba
Just let you guys know it's solved after re-installing Python!! Thank you for your help again! On Friday, October 6, 2017 at 8:40:36 PM UTC-5, Omi Chiba wrote: > > I don't think my hosting company did something on python but it looks like > my python is broken just like you ahowd me... I will

Re: [web2py] Re: web2py and pouchdb

2017-10-09 Thread António Ramos
Why do you want pouchdb with web2py ? for client cache? pouchdb is a client only database unless you sync it to a couchdb server. Web2py is a server side framework. Anyway your problem is a javascript/web2py problem , not a pouchdb/web2py problem... maybe this helps you a litle

[web2py] Re: SQLFORM.smartgrid() custom field representation breaks exporting functions

2017-10-09 Thread Francisco Ribeiro
Well, actually I was able to hide it as well with CSS: table th:nth-child(7) {display: none;} table td:nth-child(7) {display: none;} Not ideal since all this content is there twice but it works :) On Monday, 9 October 2017 11:28:52 UTC+1, Francisco Ribeiro wrote: > > That works, (thanks for the

[web2py] Re: SQLFORM.smartgrid() custom field representation breaks exporting functions

2017-10-09 Thread Francisco Ribeiro
That works, (thanks for the idea btw) but leaves me with a different problem which is that 'myfield' becomes visible and it happens to hold a long string (reason why I came up with the idea to turn it into copy-to-clipboard button). On Monday, 9 October 2017 03:22:11 UTC+1, 黄祥 wrote: > > had

[web2py] Re: Compile controller and module files only

2017-10-09 Thread Tom Clerckx
Update: It works fine on the latest web2py release - that works for me. Thanks. On Monday, October 9, 2017 at 10:26:20 AM UTC+2, Tom Clerckx wrote: > > That does not seem to work for me I'm getting an "invalid view" error > after removing the compiled view files > > FYI, I'm runnning

[web2py] Re: Compile controller and module files only

2017-10-09 Thread Tom Clerckx
That does not seem to work for me I'm getting an "invalid view" error after removing the compiled view files FYI, I'm runnning version 2.9.5-stable+timestamp.2014.03.16.02.35.39 On Friday, October 6, 2017 at 4:23:53 PM UTC+2, Anthony wrote: > > On Friday, October 6, 2017 at 4:10:57