Re: [web2py] not authorised flash message when I used SQLFORM.grid, but worked fine with SQLFORM.smartgrid

2017-06-04 Thread akshay055kumar
Hi rudy, yes you are right. Web2py editor behaves funny sometimes. Sometimes you get error and same error goes away when you rewrite the same code. I could't use the smartgrid because smartgrid works on complete table but i had to query the table first. so only option for me was SQLFO

[web2py] Re: Semantic UI for SQLFROM.grid

2017-06-04 Thread Paolo Caruccio
Yes it's diffcult but not impossible. With CSS preprocessors, for example, we can write adaptive rules by extending a class defined in choiced css library to a HTML element generated by web2py having a different css class or a specific identifier. web2py, in my opinion, it's flexibile enough in

[web2py] Re: email sending problem

2017-06-04 Thread e27gis
Since mail.send() return False or True, there is no error here. I am not sur we can log any error here. How could I get the same "Warning" information that I can have through the local Web2py console which displays the real reason why an email is not sent ? -- Resources: - http://web2py.com

[web2py] Re: email sending problem

2017-06-04 Thread e27gis
Gmail is working fine for sending email, along with the other IP (orange, free) that I used. -- 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 receive

[web2py] Problem sending email with new web2py version on Apache 2.4

2017-06-04 Thread e27gis
After upgrading to the last version of Web2py, along which the latest Apache 2.4, we are unable to send email any more. Note that we have access to this remote server only through a browser for our Web2py development. We have tested different login/passwords/IP (gmail, orange, free) on port

[web2py] Re: email sending problem

2017-06-04 Thread Ron Chatterjee
First make sure gmail is set up as less secured app. -- 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 subscribed

[web2py] Re: web2py page refresh causes postgres to reach the max number of connections

2017-06-04 Thread Massimo Di Pierro
What is your connection string? web2py does connection pooling. It does not close connections, it stores them and recycle them for speed but you can set DAL(, pool_size=...). Set pool_size to 1 for now and see if you still have the problem. On Sunday, 4 June 2017 11:04:52 UTC-5, Mick wrote

[web2py] Re: email sending problem

2017-06-04 Thread Massimo Di Pierro
I will try provide a more details answer but for now this is what I know: 1) mail.send(...) returns True or False so you can check if the email was sent 2) mail.send uses SMTP with logs errors using a logger. This means there is no ticket but you use a logger as explained here, you should be abl

[web2py] Re: different default application based on the host header - Python anywhere - Go daddy

2017-06-04 Thread Massimo Di Pierro
I recommend this logic be moved to nginx. web3py will no longer support this. On Sunday, 4 June 2017 04:52:34 UTC-5, Ron Chatterjee wrote: > > Would this be same as the domain mapping? > > > > > routers = dict( > BASE = dict( > domains = { > 'domain1.com' : 'app1', >

[web2py] Get access to warning message when only using WEb2py through a browser on a distant machine

2017-06-04 Thread e27gis
Hello, I am encountering email sending problem with the last web2py version on a distant machine running Apache 2.4. I have exactly the same controller running fine on a local machine with WEb2py server (not Apache). On the distant machine the 'mail.send' function returns a False response, bu

[web2py] email sending problem

2017-06-04 Thread e27gis
Hello everyone. I am quite desperate. I can not send email using smtp.gmail.com. Nothing seams to be working. I use a gmail smtp account which is working fine on my server when I use a basic python script, or even a php script on my Apache 2.4. But is not not working with Web2py. I do not have

[web2py] Re: redirect an upload

2017-06-04 Thread e27gis
I do not know what is going on. Le vendredi 26 mai 2017 21:35:41 UTC+2, Dave S a écrit : > > I have a function shove() with decorator @request.restful(), used to > handle uploading a file, and as part of moving to https, I have a check for > https and redirect if it isn't s-full. > > > @request.

[web2py] web2py page refresh causes postgres to reach the max number of connections

2017-06-04 Thread Mick
Hi all, I'm new at web2py and I have this issue, whenever I refresh the page the number of connections to postgres increases and in time crashes. How do I handle this? I can't find any good information on closing the connection after the query is done... Thank you in advance :) -- Resources:

Re: [web2py] KeyError issue: column.id Not found

2017-06-04 Thread Maurice Waka
After uninstalling pyDAL it worked perfectly. On Jun 3, 2017 19:19, "Maurice Waka" wrote: > I seem to have the same problem as highlighted in this: > https://groups.google.com/forum/#!topic/web2py/oriec4bEAJQ > > The traceback is the same as mine. > Has anyone solved the problem or found the ori

[web2py] Re: Future of web2py

2017-06-04 Thread Muhammad Hashim Malik
Respected Massimo You base idea of web3py is fantastic. Please share your web3py work. At least release its beta version, so that people play with it , be get acquaintance with it and positive feedback may be available so that direction of the web3py project may be in right direction. People l

[web2py] routes.py and how to activate them

2017-06-04 Thread Scorpa
Hello folks ! Many times when i'm searching for an answer in the official docs about how to do this or that i'm ending in the stack overflow questions area or in this group. and thats really frustrating that even simplest tasks can't be done easy. For example, how actually routes.py works ? I

[web2py] Re: different default application based on the host header - Python anywhere - Go daddy

2017-06-04 Thread Ron Chatterjee
Would this be same as the domain mapping? routers = dict( BASE = dict( domains = { 'domain1.com' : 'app1', 'domain2.com' : 'app2', } ), ) -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py