Re: [web2py] Re: login_bare needs a password ?

2019-09-18 Thread António Ramos
Is something like this??? It returns not authorized! auth.add_permission(db.auth_group(role="PORTEIRO")["id"], "impersonate",db.auth_user) auth.impersonate(4)# user 4 is included in the PORTEIRO group Em sex, 16 de ago de 2019 às 20:05, Dave S escreveu: > > > On Friday, August 1

Re: [web2py] Re: login_bare needs a password ?

2019-09-18 Thread António Ramos
apparently i need to be logged in first. solved! Em qua, 18 de set de 2019 às 17:38, António Ramos escreveu: > Is something like this??? It returns not authorized! > > auth.add_permission(db.auth_group(role="PORTEIRO")["id"], > "impersonate",db.auth_user) > auth.impersonate(4)#

Re: [web2py] Re: login_bare needs a password ?

2019-09-18 Thread António Ramos
or maybe not I tried to impersonate other user that has membership PORTEIRO and i get "Forbidden" Em qua, 18 de set de 2019 às 18:09, António Ramos escreveu: > apparently i need to be logged in first. > > solved! > > Em qua, 18 de set de 2019 às 17:38, António Ramos > escreveu: > >> Is somethin

Re: [web2py] Not Anable To Start Web2py to Access Admin & IDE Site

2019-09-18 Thread Georges Bengo
Hi Nico, Thank for having taken the time to review my request for help and reply to it. It seems i can't run python 2.7 nor python 3.0 on my pc, getting an error message that tells these version of python can't run on my machine. Is there another i can proceed? Thanks On Wed, Sep 18, 2019, 2:35 A

[web2py] Odd MySQL connection problem

2019-09-18 Thread backseat
I'm getting: ... File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 50, in defaulterrorhandler raise errorvalue OperationalError: (1045, "Access denied for user 'pytrack2'@'localhost' (using password: YES)") The password, user and database are accessible from the command

Re: [web2py] Not Anable To Start Web2py to Access Admin & IDE Site

2019-09-18 Thread Nico Zanferrari
Hi Georges, this is quite strange. What version of Windows are you using? Is it 32 or 64 bit ? Anyhow, you can download the "frozen web2py" from the official site or my repo

Re: [web2py] Not Anable To Start Web2py to Access Admin & IDE Site

2019-09-18 Thread Georges Bengo
Hi Nico, Your lastly presented solution does work, it allows me to go straight to the web2py admin and ide site. Thank you so much! Regards, Georges On Wed, Sep 18, 2019 at 3:46 PM Nico Zanferrari wrote: > Hi Georges, > > this is quite strange. What version of Windows are you using? Is it 32

[web2py] Re: How to hide address/tool bar when going mobile

2019-09-18 Thread Massimo Di Pierro
https://forum.playcanvas.com/t/hiding-address-bar-in-mobile/5310 On Tuesday, 17 September 2019 23:40:21 UTC-7, Maurice Waka wrote: > > Hello > I'm testing my app on mobile sites and noticed that the address bad messes > up the screen estate when going mobile. > I'd like to auto-hide it as soon as

[web2py] Re: AWS Lambda Deployment Recipe

2019-09-18 Thread App Jar
Here is how I set up my db to work with RDS. Note: res-combined-ca-bundle.pem is the public key for RDS found here: https://s3.amazonaws.com/rds-downloads/rds-combined-ca-bundle.pem. driver_args = { 'ssl':{ 'ca': 'applications/ads/private/ssl/rds-combined-ca-bundle.pem'} } db_auth = 'mysql://u

Re: [web2py] Re: Whats the best way to create an Android or iOS app for web2py project

2019-09-18 Thread Rahul Dhakate
Hi All, Any clues anyone on the questions asked? Regards, *Rahul* On Fri, 13 Sep 2019 at 12:53 PM, Rahul Dhakate wrote: > Thanks! Dave and Pbop for getting back with the answers. Sorry about > posting less details > > *@dave* - No, I do not intend to run web2py on mobile device. Web2py

Re: [web2py] Re: How to hide address/tool bar when going mobile

2019-09-18 Thread Maurice Waka
wow. Noted On Thu, Sep 19, 2019 at 6:18 AM Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > https://forum.playcanvas.com/t/hiding-address-bar-in-mobile/5310 > > On Tuesday, 17 September 2019 23:40:21 UTC-7, Maurice Waka wrote: >> >> Hello >> I'm testing my app on mobile sites and noticed