[web2py] Web2py binary conversion

2019-08-21 Thread mostwanted
I was wondering, is there a way to convert web2py binaries into .exe files with pyinstaller? If so what's the process? Regards: Mostwanted -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2

Re: [web2py] Web2py binary conversion

2019-08-21 Thread Nico Zanferrari
Do you mean a single EXE file containing everything that will be silently extracted in the TEMP folder everytime? This should be easy, but with slow startup and no persistence Nico Il Mer 21 Ago 2019, 11:16 mostwanted ha scritto: > I was wondering, is there a way to convert web2py binaries

[web2py] Descriptografar senha do usuario

2019-08-21 Thread Kimus
Bom dia, estou com um leve probleminha, estou tentando atualizar um usuario sem o SQLFORM ou o FORM to fazendo na mão msm, lgoo preciso carregar os dados na tela para o usuario atualizar oq ele quiser dos seus dados, só que a senha vem criptografadas, gostaria de saber se tem alguma forma de de

Re: [web2py] Descriptografar senha do usuario

2019-08-21 Thread Carlos Costa
Não é possível. Em qua, 21 de ago de 2019 às 11:30, Kimus escreveu: > Bom dia, estou com um leve probleminha, estou tentando atualizar um > usuario sem o SQLFORM ou o FORM to fazendo na mão msm, lgoo preciso > carregar os dados na tela para o usuario atualizar oq ele quiser dos seus > dados, só

[web2py] Re: web3py -> py4web

2019-08-21 Thread 'Annet' via web2py-users
> python3 setup.py install > I installed py4web from source: git clone https://github.com/web2py/py4web.gitcd py4web python3 -m pip install -r requirements.txt python3 setup.py install Running the last statement gives the following errors: byte-compiling build/bdist.macosx-10.9-x86_64/egg/p

Re: [web2py] Web2py binary conversion

2019-08-21 Thread mostwanted
Yes thats what i was thinking, how is it done? On Wednesday, August 21, 2019 at 3:10:27 PM UTC+2, Nico Zanferrari wrote: > > Do you mean a single EXE file containing everything that will be silently > extracted in the TEMP folder everytime? This should be easy, but with slow > startup and no per

[web2py] How to stopped redirection to user/login.html

2019-08-21 Thread Patito Feo
Hi, I have created a login.html page. I intent to redirect users to this url instead of default behavior redirecting to user/login.html. In fact i have commented out entire user() function on controller. Also i have, auth.settings.login_url = URL( 'default', 'mylogin ) and auth.settings.on_fail

[web2py] Upload field causing a temp file issue

2019-08-21 Thread Paul Ellis
I have 2 similar controller functions using SQLFORM() with an upload field. One works and one is giving an error online (not when testing locally). I suspect a file system permission problem but I am not sure. The error only occurs if an image is uploaded. The extra processing after the form is

[web2py] Splitting long controller file

2019-08-21 Thread clara
Hello, Maybe this may sound trivial (bear with me, please) but here is my question: I have a long controller module that I would want to split up or make more manageable . Most of the functions in this controllers are controller functions called from the frontend. Now, I guess I could refacto

[web2py] Re: New questions about translation

2019-08-21 Thread Константин Комков
I can do it!) I transferred table 'languages' from tables.py to db.py, becouse I need use it in extra_fields when tables.py file is not still included. db.py db.define_table( 'languages', Field('NAME',length=30) ) auth.settings.extra_fields['auth_user']= [Field('language','reference lang

Re: [web2py] Web2py binary conversion

2019-08-21 Thread Nico Zanferrari
Well, on a second thought is not so simple. Basically, you just need to follow the instructions on my repository , but edit the build_web2py.py file. On line 85 add the command option -F (see here

[web2py] Re: web2py on Raspbian and Python 2 or 3?

2019-08-21 Thread lucas
sorry for the long delay on this post. I've been theme parking with the kids all summer. ok, I've got rocket running on the pi with python 3.5. very well. what's the best way to auto startup /home/www-data/web2py/anyserver.py & on the pi? when I manually type execute the above in a bash w

Re: [web2py] Web2py binary conversion

2019-08-21 Thread mostwanted
Its kinda tedious! I do not have a major purpose at all, its just that I came across an app called bat2exe and i tried it on one of my binaries, it worked but not to my satisfaction because I could not move the created package to other computers, the package failed to work requiring the origina

[web2py] Re: How to stopped redirection to user/login.html

2019-08-21 Thread 'Annet' via web2py-users
What about: auth.settings.on_failed_authentication = lambda url: redirect(url) That is what the book says changing the default behaviour. Kind regards, Annet -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https:

[web2py] Re: AWS Lambda Deployment Recipe

2019-08-21 Thread App Jar
Hi Jaime, I now have 4 production web2py apps that have been up and running on Lambda for many months now with no issues. It is easily maintainable and I can update/deploy with a single command line: zappa update As for the databases, the DB doesn't have to be AWS. You can connect to any datab

Re: [web2py] Re: web2py on Raspbian and Python 2 or 3?

2019-08-21 Thread Christian Varas
I run web2py in a raspberry with Apache or nginx. Then the auto start is automatically. Cheers. El jue., 22 de ago. de 2019 04:02, lucas escribió: > sorry for the long delay on this post. I've been theme parking with the > kids all summer. > > ok, I've got rocket running on the pi with python