[web2py] Re: MySql encryption using DAL

2017-10-06 Thread appjarbiz
> > Thank you Massimo, but this presents 2 problems: >> > 1) I am using Heroku for the app and it boots with a non-interactive Procfile. If I put: ssh -L 3307:localhost:3306 myusern...@db.example.com in the procfile, it wants to prompt me for a password through stdin. I could use sshpass

[web2py] component rebuild via anchor helper

2017-10-06 Thread Anthony
You might instead consider putting the data in the session and retrieving it from the session when the link is clicked. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Repor

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

2017-10-06 Thread Omi Chiba
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 reinstall python and add in modules next Monday. Thank you for your help!!! On Oct 6, 2017 7:48 PM, "Dave S" wrote: > > > On Friday, October 6, 2017 at 5:21:22 PM UTC-7

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

2017-10-06 Thread Dave S
On Friday, October 6, 2017 at 5:21:22 PM UTC-7, Omi Chiba wrote: > > Really > And even more entries for the 3.6 version. > > Do you think I should uninstall and reinstall the same version of python? > > Worth looking at. Was that touched when your hosts were updated? /dps > On Friday

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

2017-10-06 Thread Omi Chiba
Really Do you think I should uninstall and reinstall the same version of python? On Friday, October 6, 2017 at 7:19:10 PM UTC-5, Dave S wrote: > > > > On Friday, October 6, 2017 at 4:54:53 PM UTC-7, Omi Chiba wrote: >> >> Python comand console? >> >> Yes, it looks ok I think. >> http://prnt

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

2017-10-06 Thread Omi Chiba
But I realized the same error happen when I follow the code in python console... I don't understand because nothing changed python, web2py... since 2013. C:\>python Python 2.7.4 (default, Apr 6 2013, 19:54:46) [MSC v.1500 32 bit (Intel)] on win 32 Type "help", "copyright", "credits" or "licens

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

2017-10-06 Thread Dave S
On Friday, October 6, 2017 at 4:54:53 PM UTC-7, Omi Chiba wrote: > > Python comand console? > > Yes, it looks ok I think. > http://prntscr.com/gu94ns > Not so good. It should be more like >> dir(logging) ['BASIC_FORMAT', 'BufferingFormatter', 'CRITICAL', 'DEBUG', 'ERROR', 'FATAL' , 'FileHandl

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

2017-10-06 Thread Omi Chiba
Python comand console? Yes, it looks ok I think. http://prntscr.com/gu94ns On Friday, October 6, 2017 at 6:50:44 PM UTC-5, Dave S wrote: > > > > On Friday, October 6, 2017 at 4:43:18 PM UTC-7, Omi Chiba wrote: >> >> I have C:\Python27 in my "Path" System variables and I can run the pyson >> mod

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

2017-10-06 Thread Dave S
On Friday, October 6, 2017 at 4:43:18 PM UTC-7, Omi Chiba wrote: > > I have C:\Python27 in my "Path" System variables and I can run the pyson > module (*.py) from command prompt. > can you, at that prompt, do import logging dir(logging) ? /dps > > On Friday, October 6, 2017 at 6:15:56

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

2017-10-06 Thread Dave S
On Friday, October 6, 2017 at 3:26:14 PM UTC-7, Omi Chiba wrote: > > Help! > > I was running old version (2015) of web2py on my hosting server as our > company's portal site and it stopped working suddenly. It's Windows 2012 > server with Uniserver(Apache). Apache start fine but shows error mes

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

2017-10-06 Thread Dave S
On Friday, October 6, 2017 at 4:07:48 PM UTC-7, Massimo Di Pierro wrote: > > The file in question no longer exists. It has been moved to a subfolder > long ago. > "Long ago" is after 2.14.6 :-) The error you are getting makes no sense since > > python > > >>> import logging > > >>> logging

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

2017-10-06 Thread Omi Chiba
I have C:\Python27 in my "Path" System variables and I can run the pyson module (*.py) from command prompt. On Friday, October 6, 2017 at 6:15:56 PM UTC-5, Dave S wrote: > > > > On Friday, October 6, 2017 at 3:56:24 PM UTC-7, Dave S wrote: >> >> >> >> On Friday, October 6, 2017 at 3:26:14 PM UTC-

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

2017-10-06 Thread Omi Chiba
My Python version is 2.7.4. and My Web2py is Version 2.4.7-stable+timestamp.2013.05.24.17.48.47 Nothing changed since I setup my server in 2013 but it looks like something happened at 10/2 per error log. Remote Access to the server was down. My hosting company told me they did some kind of upda

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

2017-10-06 Thread Dave S
On Friday, October 6, 2017 at 3:56:24 PM UTC-7, Dave S wrote: > > > > On Friday, October 6, 2017 at 3:26:14 PM UTC-7, Omi Chiba wrote: >> >> Help! >> >> I was running old version (2015) of web2py on my hosting server as our >> company's portal site and it stopped working suddenly. It's Windows 2

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

2017-10-06 Thread Massimo Di Pierro
The file in question no longer exists. It has been moved to a subfolder long ago. The error you are getting makes no sense since python >>> import logging >>> logging.getLogger that is a function from the python module logging, and not a web2py function. to diagnose this it is important

[web2py] Re: MySql encryption using DAL

2017-10-06 Thread Massimo Di Pierro
DAL does not provide https encryption. I do not if the adapters support it either. The solution is to create a SSH tunnel between the server and the database server and the use a URI string connecting to localhost. On Thursday, 5 October 2017 14:21:22 UTC-5, appjar...@gmail.com wrote: > > Hello

Re: [web2py] Re: Google AMP - benefits with web2py?

2017-10-06 Thread Massimo Di Pierro
The fact is the world is changing. these days people should be use webpack and that requires node.js therefore we I think web2py should stick to what it does best and stay out of css/jss for now. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2

[web2py] Re: 2.15.4 web2py.js

2017-10-06 Thread Massimo Di Pierro
This is a mistake. Will be fixed. On Monday, 2 October 2017 14:06:32 UTC-5, Dave S wrote: > > Just getting ready to try out 2.15.4, and BeyondCompare tells me that > applications/welcome/static/js/web2py.js changed, > but the same file for examples and admin did not. If this is deliberate, > is

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

2017-10-06 Thread Dave S
On Friday, October 6, 2017 at 3:26:14 PM UTC-7, Omi Chiba wrote: > > Help! > > I was running old version (2015) of web2py on my hosting server as our > company's portal site and it stopped working suddenly. It's Windows 2012 > server with Uniserver(Apache). Apache start fine but shows error mes

[web2py] Re: component rebuild via anchor helper

2017-10-06 Thread Massimo Di Pierro
You can do, but it feels wrong. linked page On Monday, 2 October 2017 06:47:14 UTC-5, Pierre wrote: > > hello all, > > I am using the A helper as described in the book to reconstruct a page > component when user presses a button: > > {{=A('linked page', _href=URL('func', vars={'a':a, 'b':b}), c

[web2py] Web2py won't start with getLogger error

2017-10-06 Thread Omi Chiba
Help! I was running old version (2015) of web2py on my hosting server as our company's portal site and it stopped working suddenly. It's Windows 2012 server with Uniserver(Apache). Apache start fine but shows error message. http://thksupport.com I also tried if I can just start up web2py with

[web2py] Web2py con CentOS 7 with apache 2.4

2017-10-06 Thread Yoel Benitez Fonseca
Anyone with a example apache config working ... I've been trying for 2 days and got nothing... the python coded is executed correct but my static are either 403 or 404.. here is my apache config: https://pastebin.com/uV0aEu0F And the error log from apache: [Fri Oct 06 17:52:38.698109 2017] [auth

[web2py] Re: Compile controller and module files only

2017-10-06 Thread Anthony
On Friday, October 6, 2017 at 4:10:57 AM UTC-4, Tom Clerckx wrote: > > Is it possible to compile an application, but keep the views and the CSS > 'uncompiled'? > The idea is that other people can change the look and feel without having > access to the code of the controllers and the models. > Su

[web2py] Compile controller and module files only

2017-10-06 Thread Tom Clerckx
Is it possible to compile an application, but keep the views and the CSS 'uncompiled'? The idea is that other people can change the look and feel without having access to the code of the controllers and the models. Best regards, Tom. -- Resources: - http://web2py.com - http://web2py.com/book (