[web2py] Re: cache response.render in views

2018-02-24 Thread Dave S
On Friday, February 23, 2018 at 7:29:32 PM UTC-8, 黄祥 wrote: > > according to book : > http://web2py.com/books/default/chapter/29/04/the-core?search=response.render, > > the response.render is used in controllers, let say, my controller is > contain nested loop and i decide to put it on

[web2py] please help us test trunk web2py

2018-02-24 Thread Massimo Di Pierro
Please help us test the version of web2py which is posted on github. I would like to release a new stable version and I would like to know if any of the changes has broken backward compatibility. Also the icons are back in the latest welcome but use font-awesome. Please check it. Thanks.

Re: [web2py] Error using Postgres

2018-02-24 Thread Massimo Di Pierro
I know. It is there and we distribute it but we will remove it in the next version. I run into lots of problems with it, even with simple apps. psycopg2 works instead. On Friday, 23 February 2018 04:57:41 UTC-6, Morganti wrote: > > Hi Dave, > > I found "pg8000" inside "gluon/contrib". > > In

[web2py] Re: controller with multiprocessing powers. Howto?

2018-02-24 Thread Massimo Di Pierro
Pierre is right. That is not the way to do it. This is an example of the XY problem. One way to do it to use the scheduler your tasks and performs the queries in background. On Thursday, 22 February 2018 07:11:06 UTC-6, Pierre wrote: > > i think the entry point to do multiprocessing in

Re: [web2py] Asobe Flash End of Life in 2020

2018-02-24 Thread Marco Mansilla
Would you please send those references?, Never saw that kind of stuff in web2py docs of in users questions. El 14 feb. 2018 19:11, "Bryan Nahrwold" escribió: I see references to Flash in some of the articles or book references for Web2py. Does Web2py have a dependence or

[web2py] Re: accessing Exchange IMAP email

2018-02-24 Thread Massimo Di Pierro
I believe we dropped support of DAL('imap:...) On Wednesday, 21 February 2018 10:41:40 UTC-6, Andrea Fae' wrote: > > I have an exchange server and usually I access to email using > "domain\username" and password... > > using # Replace user, password, server and port in the connection string > >

[web2py] Re: Connect to mysql via ssl

2018-02-24 Thread Massimo Di Pierro
Wedo not support that at this time. What database? On Sunday, 18 February 2018 02:40:57 UTC-6, Scorpa wrote: > > Hello, experts! > > > How to connect to mysql server via client certificate ? > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Re: Asobe Flash End of Life in 2020

2018-02-24 Thread Massimo Di Pierro
Definitively no. On Wednesday, 14 February 2018 16:11:39 UTC-6, Bryan Nahrwold wrote: > > I see references to Flash in some of the articles or book references for > Web2py. Does Web2py have a dependence or Adobe Flash? If so, what is the > Roadmap to get off of that dependency by 2020? > --

[web2py] Re: Help with cascading drop down list

2018-02-24 Thread Massimo Di Pierro
what do you want to do exctely? call a Java function from web2py? On Monday, 12 February 2018 11:56:59 UTC-6, Matthew J Watts wrote: > > Can anyone point me in the right direction with this, any good tutorial > out there on how i can integrate java and web2py? > > On Friday, February 9, 2018 at

[web2py] Re: web2py.scheduler.hpxyz#2791 - ERROR - we received a task that isn't there (15)

2018-02-24 Thread Leonel Câmara
Are you using immediate=True in your queue_task, looking at the redis version of the scheduler's code, seems like, particularly when you have a lot of workers, it could cause redis to try to run the task before it is commited in the database. If that's the problem we should look into the code

[web2py] Re: YouTube and MARKMIN

2018-02-24 Thread Martin Weissenboeck
Ok, I have found the anwser: it's the browser. It has classified the code as "insecure". embed:https://www.youtube.com/embed/x1w8hKTJ2Co works as expected. 2018-02-24 15:58 GMT+01:00 Martin Weissenboeck : > I want to embed a

Re: [web2py] _href to URL()

2018-02-24 Thread Yoel Benitez Fonseca
don't use URL at all, just do: ('TaC', False, A('TaC', _href='https://static.domain.com/files/Terms_and_Conditions.pdf', _target="_blank", vars=dict(attachment=True))) If it gives an error call the .xml() directly on A: ('TaC', False, A('TaC',

[web2py] _href to URL()

2018-02-24 Thread 'Annet' via web2py-users
I have the following link in a view: {{=A('TaC', _href='https://static.domain.com/files/Terms_and_Conditions.pdf', _target="_blank", vars=dict(attachment=True))}} I want to convert it to a menu item ('TaC', False, URL(???)) How do I convert the _href to a URL() Kind regards Annet --

[web2py] YouTube and MARKMIN

2018-02-24 Thread Martin Weissenboeck
I want to embed a youtube video in a website, which is created with MARKMIN. There is a lot of different ideas and hints in the web, but nothing seems zu work. [[Video https://www.youtube.com/watch?v=x1w8hKTJ2Co]] creates a link to this video, but does not embed the video frame itself.