[web2py] web site down??

2017-06-07 Thread Manuele Pesenti
Hi, from some time (days but maybe weeks) the web2py web site seams not reacheable for me... anybody has the same trouble? Cheers Manuele -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/w

[web2py] Re: Code editor with code completion

2017-06-07 Thread Assela Pathirana
Further, after following the instructions given by Wing IDE ( https://wingware.com/doc/howtos/web2p y) - even autocomplete on 'db' part does not work! So, it seems th

[web2py] Re: web site down??

2017-06-07 Thread stefaan
It works for me... http://downforeveryoneorjustme.com/web2py.com -- 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 a

[web2py] Key length error when trying to store encrypted value into field using gluon.contrib.AES

2017-06-07 Thread Maurice Ling
Hi all, I am trying to store one or more encrypted values into their respective fields, which has to be decrypted during retrieval process. The codes that I am trying to follow are from https://groups.google.com/forum/#!msg/web2py/uGFQD0PBefQ; however, I am getting ValueError Key length must

[web2py] Re: possible error in autocomplete code

2017-06-07 Thread Carlos Kitu
Anthony, being so helpful as you are, you need by no means to apologize. Thank you so much. Best regards. El martes, 6 de junio de 2017, 21:15:29 (UTC+2), Anthony escribió: > > Sorry, I forgot about that -- you can in fact use a virtual field. > However, for it to work properly, you must specify

Re: [web2py] auth.navbar modification

2017-06-07 Thread Pierre
sorry I deleted the initial post this was caused by a bogue in my code still what's the* referrer_actions complete list* I should subtract actions from. Actions I am aware of are :login, register ,request_reset_password, retrieve_username. Any other actions I should know ? -- Resources: - h

Re: [web2py] auth.navbar modification

2017-06-07 Thread Pierre
this expression in layout.html works for me combined with the login_next in db.py {{='auth' in globals() and auth.navbar(mode='dropdown', referrer_actions=['register', 'request_reset_password','retrieve_username']) or ''}} -- Resources: - http://web2py.com

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

2017-06-07 Thread e27gis
I have finally solved my email sending problem on port 587 with APACHE 2.4, It was due to the fact that the *Web2py 2.14.6, Apache 2.4.23 and my Python 2.7.10 are just incompatible when dealing to starttls() or import ssl.Any version Python version above 2.7.9 does not work.* I have reinstal

Re: [web2py] Re: [web2py/web2py] Auth add_membership and del_membership mistakenly alter the logged-in user's session (#1638)

2017-06-07 Thread Richard Vézina
That what I thought too... filesystem is slow, database would requires a new auth table or at least a new field (system reserved)... What's about a persistent auth parameters?? We could make it persitent from request to request in cache as long as cache (RAM) can be used by web2py internal code??

[web2py] Re: "import ssl" impossible in Web2py with python 2.7.9 but "import ssl" working with python 2.7.9

2017-06-07 Thread Anthony
On Tuesday, June 6, 2017 at 4:03:09 PM UTC-4, e27...@gmail.com wrote: > > Funny thing : > > On the distant server, > > 1/ If I launch the mail controller from Web2py.exe (127.0.0.1/admin), it > does find SSL module (python version 2.7.9) --> the mail is sent > > 2/ If I launch the mail controller

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

2017-06-07 Thread Anthony
On Wednesday, June 7, 2017 at 9:52:02 AM UTC-4, e27...@gmail.com wrote: > > I have finally solved my email sending problem on port 587 with APACHE > 2.4, > > It was due to the fact that the > > > *Web2py 2.14.6, Apache 2.4.23 and my Python 2.7.10 are just incompatible > when dealing to starttls

[web2py] Re: how to query json field (with filter in/out) by equality

2017-06-07 Thread Anthony
On Tuesday, June 6, 2017 at 10:40:34 PM UTC-4, Anthony wrote: > > Why have you defined custom filter_in and filter_out functions to convert > to/from JSON -- that is handled automatically by the DAL when you specify > the "json" field type? > If you get rid of your custom filter_in and filter_ou

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

2017-06-07 Thread e27gis
Actually, we also tried a fresh install of the latest Python 2.7.13 and that version did not work either. Therefore, we went back to 2.7.9. Thierry -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.c

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

2017-06-07 Thread e27gis
Also, Apache does intercept requests to web2py apps and runs them through an normally installed version of Python as it is written in WSCGI configuration of Apache We tried to force Apache to run the Web2py embedded python 2.7.9 version, which actually work to display the apps, but for some rea

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

2017-06-07 Thread e27gis
Also, Apache does intercept requests to web2py apps and runs them through an normally installed version of Python as it is written in WSCGI configuration of Apache We tried to force Apache to run the Web2py embedded python 2.7.9 version, which actually work to display the apps, but for some rea

Re: [web2py] Re: Login page - Menu bar does not work

2017-06-07 Thread Jordan Ladora
Perfect, thank you. On Tue, Jun 6, 2017 at 9:13 PM, Anthony wrote: > Note, this has already been fixed in the master branch, so should be fine > in the next release. > > Anthony > > > On Tuesday, June 6, 2017 at 11:11:26 PM UTC-4, Anthony wrote: >> >> On Tuesday, June 6, 2017 at 4:13:26 PM UTC-4

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

2017-06-07 Thread Anthony
On Wednesday, June 7, 2017 at 11:54:06 AM UTC-4, e27...@gmail.com wrote: > > Also, Apache does intercept requests to web2py apps and runs them through > an normally installed version of Python as it is written in WSCGI > configuration of Apache > Yes, that is as expected. That's why mail didn't

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

2017-06-07 Thread Anthony
On Wednesday, June 7, 2017 at 11:47:22 AM UTC-4, e27...@gmail.com wrote: > > Actually, we also tried a fresh install of the latest Python 2.7.13 and > that version did not work either. > Interesting. I assume there must be some way to get the SSL module working on Windows. Anthony -- Resource

Re: [web2py] Re: web2py 2.15.1

2017-06-07 Thread Richard Vézina
flatpickr seems really nice... Any reason why we don't replace the actual "built-in" calendar that we ship web2py with? Richard On Tue, Jun 6, 2017 at 9:31 AM, Anthony wrote: > On Tuesday, June 6, 2017 at 5:02:10 AM UTC-4, tim.nyb...@conted.ox.ac.uk > wrote: >> >> Re #3: I highly recommend swap

[web2py] Re: routes.py and how to activate them

2017-06-07 Thread Scorpa
Ok, Created new project from scratch, renamed this file, copied it everywhere - app folder, web2py library etc etc. used breakpoints, but none of them works. how can i debug routes ? I couldn't find a root cause of this :( понедельник, 5 июня 2017 г., 22:10:17 UTC+3 пользователь Anthony написа

Re: [web2py] Re: web2py 2.15.1

2017-06-07 Thread Jim S
+1 On Wednesday, June 7, 2017 at 2:03:09 PM UTC-5, Richard wrote: > > flatpickr seems really nice... Any reason why we don't replace the actual > "built-in" calendar that we ship web2py with? > > Richard > > On Tue, Jun 6, 2017 at 9:31 AM, Anthony > > wrote: > >> On Tuesday, June 6, 2017 at 5:02

[web2py] Smartgrid, grid export control works on Linux, but not on Windows Server

2017-06-07 Thread Seth J
I am experiencing a peculiar issue with smartgrid and grid. I have web2py installed on Apache/2.2.15 (Red Hat) and everything works as it supposed to with respect to disabling export options: title_grid = SQLFORM.smartgrid(db.title, linked_tables = ['title_archive'], links=title_links, editab

[web2py] Re: web2py 2.15.1

2017-06-07 Thread Carlos Costa
+1 on date picker. It is totally outdated. Em segunda-feira, 5 de junho de 2017 05:39:11 UTC-3, Karoly Kantor escreveu: > > Dear Massimo, > > I saw your question in the developers group where I cannot post, therefore > i do it here. > > I am currently aware of the following issues to be fixed: >

[web2py] Trying to use a variable as a field name in a table insert

2017-06-07 Thread Peter
Good Morning. I'm hoping there is a way to solve this... This works fine for me... db.payment_allocations.insert(payment_ref=payment.id, task_ref=record.id, amount_allocated=allocation) but I want to add a little abstraction like this... ref_field = '%s_ref' % table_name

Re: [web2py] Re: Future of web2py

2017-06-07 Thread João Gulineli
+1 Livre de vírus. www.avast.com . <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> Jo

[web2py] Re: Trying to use a variable as a field name in a table insert

2017-06-07 Thread Anthony
That's not valid Python code, but you can do this: db.payment_allocations.insert(**{'payment_ref': payment.id, ref_field: record.id, 'amount_allocated': allocation}) Anthony On Wednesday, June 7, 2017 at 10:42:28 PM UTC-4, Peter w

[web2py] Re: Smartgrid, grid export control works on Linux, but not on Windows Server

2017-06-07 Thread Anthony
There's nothing in the relevant framework code that would cause different behavior based on the OS or web server, so likely there is some other difference in your app code between the two systems. Anthony On Wednesday, June 7, 2017 at 4:41:38 PM UTC-4, Seth J wrote: > > I am experiencing a pecu

[web2py] Re: routes.py and how to activate them

2017-06-07 Thread Anthony
On Wednesday, June 7, 2017 at 3:21:44 PM UTC-4, Scorpa wrote: > > Ok, > > Created new project from scratch, renamed this file, copied it everywhere > - app folder, web2py library etc etc. > used breakpoints, but none of them works. > You're not supposed to copy it everywhere -- it stays in the a

[web2py] Re: Future of web2py

2017-06-07 Thread tessercat845
According to github, there were semi-regular releases going back to 2013, then they stopped about a year ago, so I guess it's only natural for people to wonder about the status of the project. Personally, I'm wondering if the project will continue to build production releases in the future. I se

[web2py] Re: queue_task :: trouble with quoted json strings for pvars and args

2017-06-07 Thread Richard P
I just came across this same issue when using the web2py scheduler for the first time with an Oracle DB. I spent a good amount of time googling before finding this post which pointed me to where the problem was. I have implemented a work around by creating the below trigger in the database th

[web2py] Re: web site down??

2017-06-07 Thread Richard P
I have also been experiencing problems over the last few weeks. Seems to be down for a few hours at a time then comes back. On Wednesday, 7 June 2017 08:13:17 UTC+1, Manuele wrote: > > Hi, > > from some time (days but maybe weeks) the web2py web site seams not > reacheable for me... anybody has

[web2py] Re: Smartgrid, grid export control works on Linux, but not on Windows Server

2017-06-07 Thread Seth J
That's the thing! There's no difference in my code, apart from connecting to different database. Controller and view are exactly the same. Same behavior is exhibited by all other controllers/views (about 10 in total). I am not saying that there's an error in framework. Apps created on Win Server

[web2py] Re: Smartgrid, grid export control works on Linux, but not on Windows Server

2017-06-07 Thread Anthony
Did you compile the app? If so, after making changes you must re-compile, as changes you make to the source files will otherwise have no effect. Anthony -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.goog

[web2py] Re: Smartgrid, grid export control works on Linux, but not on Windows Server

2017-06-07 Thread Seth J
Neah, I never compile my apps for that very reason. -- 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 t