[web2py] Re: Geolocation

2012-10-26 Thread Jacinto Parga
Sorry, I didn't get it. Could you please write the controller? Thanks El domingo, 21 de octubre de 2012 00:52:24 UTC+2, Massimo Di Pierro escribió: > > You can try something like > > jQuery.post({'url':'{{=URL('youraction')}}','data':'a='+position.coords.latitude > > + "&b" + position.coord

[web2py] Re: Geolocation

2012-11-01 Thread Jacinto Parga
I think I have a silly misunderstood with jQuery.post I'm trying to store the latitude and longitude in a db.events table. I haven't found the right way to do this simple thing, This is my view: {{left_sidebar_enabled,right_sidebar_enabled=False,True}} {{extend 'layout.html'}} View events/ent

[web2py] SQLFROM.smartgrid in GAE, query not supported

2013-06-12 Thread Jacinto Parga
Hi, I have deployed a *SQLFORM.smartgrid* very simple book's example: *db.define_table('t_parent',Field('name'),format='%(name)s') db.define_table('child',Field('name'),Field('f_parent','reference t_parent'))* Controller *@auth.requires_login() def index(): db.child.f_parent.writable = F

[web2py] Re: SQLFROM.smartgrid in GAE, query not supported

2013-06-18 Thread Jacinto Parga
t; fields. > * > tl;dr : no references allowed AFAIK. > > On Wednesday, June 12, 2013 10:07:01 AM UTC+2, Jacinto Parga wrote: >> >> Hi, >> >> I have deployed a *SQLFORM.smartgrid* very simple book's example: >> >> *db.define_table('t_parent'

[web2py] Re: web2py 2.4.7 admin Recent Tweets not loaded

2013-06-21 Thread Jacinto Parga
I have got a similar error: Unable to download because: 'results' And the tweets have been no longer loaded for several days. I have tried your solutions but they didn't work If you can help... El viernes, 31 de mayo de 2013 05:39:10 UTC+2, 黄祥 escribió: > > hi, > > just want to report that web

[web2py] Re: web2py 2.4.7 admin Recent Tweets not loaded

2013-07-08 Thread Jacinto Parga
t; local variable 'r' referenced before assignment > > best regards > > On Friday, June 21, 2013 3:39:53 PM UTC+7, Jacinto Parga wrote: >> >> I have got a similar error: >> >> Unable to download because: >> 'results' >> >> And

[web2py] Re: web2py 2.4.7 admin Recent Tweets not loaded

2013-07-08 Thread Jacinto Parga
Yes !! it is solved, thankyou!!! El lunes, 8 de julio de 2013 19:08:26 UTC+2, Alan Etkin escribió: > > Thanks for your answer, >> >> no, I have already set* r=[]* >> >> The error message is literaly: " *Unable to download because:** ** >> 'results'* " >> > > Probably your version of admin (and we

[web2py] Re: Problem running GAE SDK with web2py 2.14.5

2016-05-10 Thread Jacinto Parga
Deploying GAE-applications with web2py 2.14.5 linux, GAE SDK 1.9.37 seems ok El lunes, 18 de abril de 2016, 13:09:27 (UTC+2), Tommi Lahtonen escribió: > > I already asked about this in this thread: > https://groups.google.com/forum/#!topic/web2py/RVhRsRdXrYI > > I have reported the defect to googl

[web2py] Re: Display value from reference fields and not ids in SQLFORM.grid

2016-09-05 Thread Jacinto Parga
That's what I did in controller: db.table2.field2.represent = lambda s,r: db(db.table1.id == s).select(db.table1.field2).first().field2 El viernes, 4 de septiembre de 2015, 22:57:27 (UTC+2), LoveWeb2py escribió: > > And of course I find it within a minute of posting... lol > > Here is my solut

[web2py] Re: Password Recovery Not Sending (lazyT object being passed to GAE?)

2016-09-05 Thread Jacinto Parga
I have the same problem 20:30:08.307Mail.send failure:coercing to Unicode: need string or buffer, lazyT found (

[web2py] Re: Password Recovery Not Sending (lazyT object being passed to GAE?)

2016-09-06 Thread Jacinto Parga
7;t had a chance > to test yet. Is yours also on Google App Engine? > > One thing to try would be to use version 2.12.2 of web2py to see if that > fixes it. Diagnosing the issue is on my very short list of things to do. > > On Monday, September 5, 2016 at 11:39:08 AM UTC-7, Jacin

[web2py] Re: Password Recovery Not Sending (lazyT object being passed to GAE?)

2016-09-22 Thread Jacinto Parga
The same error when I try to register an user: Unable to send email. Mail.send failure:coercing to Unicode: need string or buffer, lazyT found I don't know what to do El domingo, 31 de julio de 2016, 8:36:02 (UTC+2), Massimo Di Pierro escribió: > > OK. will check this today. > > On Friday, 29 J

Re: [web2py] Re: Password Recovery Not Sending (lazyT object being passed to GAE?)

2016-09-24 Thread Jacinto Parga
you use a recent web2py and the dal PR#404 solves the problem for you, > then I propose that you open a new bug in web2py. > > Best regards, > -Mathieu > > > > On Thu, Sep 22, 2016 at 9:17 PM Jacinto Parga > wrote: > >> The same error when I try to register an

[web2py] jquery 1.12.2 vulnerability

2016-12-12 Thread Jacinto Parga
Hi, I have recently made a security analisys in a web application deployed with web2py in Google App Engine. A jquery 1.12.2 vulnerability was the result:

[web2py] Re: SQLFORM.grid redirects and access

2014-01-25 Thread Jacinto Parga
Hi, I have a similar issue: Model: db.define_table('t_familiares', Field('f_parentesco', type='string', label=T('Parentesco'), requires = IS_IN_SET(['Conyuge', 'Hija','Hijo','Padre','Madre','Pareja'], zero=T('Elige uno'), error_message='Escoge una opción válida')), Field('f_nombre', ty

[web2py] letsencrypt google appengine with web2py

2015-12-07 Thread Jacinto Parga
Hi, I want to use letsencrypt ssl certificates ( https://letsencrypt.org/ ) in a web2py application deployed on GAE. There is a good explanation about how to get it: http://blog.seafuj.com/lets-encrypt-on-google-app-engine But I don't know how to deploy a view like : http: //www.example.com/

[web2py] Re: letsencrypt google appengine with web2py

2015-12-14 Thread Jacinto Parga
Solved, thanks. It doesn't have to do with web2py. I solved it just with letsencrypt configuration. El lunes, 7 de diciembre de 2015, 10:24:48 (UTC+1), Jacinto Parga escribió: > > Hi, > > I want to use letsencrypt ssl certificates ( https://letsencrypt.org/ ) > in a web2py

[web2py] Re: web2py 2.13.3 is OUT

2016-01-04 Thread Jacinto Parga
Hi, I upgraded from 2.11.2 I get a error ticket when I deploy to GAE: Traceback (most recent call last): File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py" , line 240, in Handle handler = _config_handle.add_wsgi_middleware(self._LoadHandler(

[web2py] Re: web2py 2.13.3 is OUT

2016-01-04 Thread Jacinto Parga
I have solved it. I have removed *logging.conf* file from the web2py folder, but I don't know if it has undesidered consecuences! Can it be harmful? Thanks! El lunes, 4 de enero de 2016, 11:52:22 (UTC+1), Jacinto Parga escribió: > > Hi, > > I upgraded from 2.11.2 > &g

[web2py] Re: How to use Let's Encrypt with Web2Py on Apache

2016-03-04 Thread Jacinto Parga
How can routes.py be configured to return the requested file? The page requested is something like this: http://example.com/.well-known/acme-challenge/dkB1xZ7bb_x1JgWilNwyYNrteHPUoqnLvNfnn3gS3b0 The response is a plain text, something like this: EZvKzpPMR2sCRRPqfyi_fOBvx9cV9FS59jmTpAMsLlc.wsviF

[web2py] Re: How to use Let's Encrypt with Web2Py on Apache

2016-03-06 Thread Jacinto Parga
It's ok. I have already solved it with routes.py and the error handler. Thanks anyway El sábado, 5 de marzo de 2016, 0:30:35 (UTC+1), Jacinto Parga escribió: > > How can routes.py be configured to return the requested file? > > The page requested is something like this: > &g

[web2py] Re: letsencrypt google appengine with web2py

2016-03-06 Thread Jacinto Parga
_handler controller: def error_handler(): ... requested_uri = request.vars.requested_uri if str(requested_uri)[:28] == "/.well-known/acme-challenge/" : redirect("http://mysite/filewithaccesstoletsencrypt.txt";) ... El lunes, 7 de diciembre de 2015, 10:24:48 (U

[web2py] 2.18.2 gluon/main.py bug..?

2019-02-28 Thread Jacinto Parga
Unable to store in FILE: Framework Traceback (most recent call last): File "/base//2263366/gluon/main.py", line 488, in wsgibase urllib_quote(xmlescape(response.flash).replace(b'\n', b'')) NameError: global name 'urllib_quote' is not defined I've got this error

[web2py] Re: 2.18.2 gluon/main.py bug..?

2019-02-28 Thread Jacinto Parga
No, I have got it form https://mdipierro.pythonanywhere.com/examples/static/web2py_src.zip from the download page http://www.web2py.com/init/default/download El jueves, 28 de febrero de 2019, 13:24:30 (UTC+1), Leonel Câmara escribió: > > Are you using the github version of web2py? You need to

[web2py] Re: 2.18.2 gluon/main.py bug..?

2019-02-28 Thread Jacinto Parga
ok. should I report it as a bug? El jueves, 28 de febrero de 2019, 14:15:45 (UTC+1), Leonel Câmara escribió: > > I would just downgrade and wait for a new release with an updated pydal > then. Massimo moved a lot of _compat stuff to pydal including the > urllib_quote causing you problems. > --

[web2py] Python3 GAE 502 Error

2019-04-18 Thread Jacinto Parga
Hi, I'm trying to deploy my first python3 app in Google App Engine. I've edited app.yaml according to https://cloud.google.com/appengine/docs/standard/python3/config/appref . I have created .gcloudignore replacing skip files and I have deployed it gcloud app deploy app.yaml --version --

[web2py] Re: Web3py

2019-04-20 Thread Jacinto Parga
So, if you plan to move your web services developed with web2py python 2.7 to python 3 and deploy new micro services, what would be the best choice to try? - web2py for python 3 - web3py Let's suppose one year term El sábado, 20 de abril de 2019, 22:45:55 (UTC+2), 黄祥 escribió: > > is it on

[web2py] Re: Python3 GAE 502 Error

2019-04-21 Thread Jacinto Parga
ng-google-app-engine-python-domain El jueves, 18 de abril de 2019, 14:21:41 (UTC+2), Jacinto Parga escribió: > > Hi, > > I'm trying to deploy my first python3 app in Google App Engine. I've > edited app.yaml according to > https://cloud.google.com/appengine/docs/st

[web2py] Re: Python3 GAE 502 Error

2019-04-21 Thread Jacinto Parga
Or may be what i need is just to know what is the entrypoint in the app.yalm for my web2py application runtime: python37 entrypoint: gunicorn -b :$PORT main:app El domingo, 21 de abril de 2019, 18:19:59 (UTC+2), Jacinto Parga escribió: > > The first issue (fatal:ambiguous argumen

[web2py] 2.18.5 admin UnicodeDecodeError

2019-04-25 Thread Jacinto Parga
Hi, It suddenly appeared. Version downloaded from source web. The same with github version. Error ticket for "admin" Ticket ID 127.0.0.1.2019-04-25.10-45-30.ec4c021c-532a-46c7-a8cd-6f9356fc7ab7 'ascii' codec can't decode byte 0x8b in position 1: ordinal not in range(128) Versión web2py™ Vers

Re: [web2py] SQLFORM.grid: sorting

2014-07-18 Thread Jacinto Parga
Hi, I solved it putting the foreing key format in the controller, before the grid: def familia_manage(): *db.auth_user._format = '%(last_name)s %(first_name)s'* fields=[db.t_familiares.f_nombre, db.t_familiares.f_apellidos,db.t_familiares.f_titular] form = SQLFORM.grid(db.t_familia

[web2py] Re: Electronic voting anybody?

2014-12-12 Thread Jacinto Parga
Yes, it works but not with https://... (i have to remove the 's'), and only with the browser address: http://www.youtube.com/watch?v=LBvDcz0yHZg It doesnt' work with the share youtube link: http://youtu.be/LBvDcz0yHZg Thanks! El martes, 18 de septiembre de 2012 14:42:39 UTC+2, Massimo Di Pierro

[web2py] Re: string form javascript function to controller function using ajax

2014-12-14 Thread Jacinto Parga
I have used this example but request.vars is empty, I cannot get the json string in controller. In view: {{extend 'layout.html'}} Template default/jsontest.html {{=BEAUTIFY(response._vars)}} $(document).ready(function(){ $.ajax({ type: 'POST', url:'[web2py] json empty with jquery
Hi, it's very simple but I cannot find the mistake. I am tryint to pass a json from browser to controller with ajas. The result is that the data object in the script is empty: The view: {{extend 'layout.html'}} Template default/test2.html {{=BEAUTIFY(response._vars)}} $(document).rea

[web2py] Re: json empty with jquery

I mean, I try to send data: {'key':'value','key2':'value2'} so I expect to get {'key':'value','key2':'value2'} in the controller. I've tried your suggestion and that's the result:

[web2py] Re: json empty with jquery

Ok, I.m getting closer. So I change my url call, like this url:'{{=URL('default','test2.json',args='data.datos')}}', but I still have an empty reques.vars. How should I call the controller to pass the data field as a json from the view scritp to the controller? What I am looking for is to send

[web2py] Re: json empty with jquery

I did with {{=BEAUTIFY(response._vars)}} and the result is: datos: So request.vars is empty. If I change the post method for a get method, I can see the correct result at the alert window, but not in the controller, I mean it works in the client side: Wiht get method:

[web2py] Re: json empty with jquery

Yes, it should. I don't know why not. Maybe I'll try with jquery... El martes, 16 de diciembre de 2014 18:59:18 UTC+1, Leonel Câmara escribió: > > Well > > {{=BEAUTIFY(response._vars)}} > > Won't see anything because the vars are only there in the ajax request. > That's why it works in your alert

[web2py] Re: json empty with jquery

YES!!! Finally. Thanks so much. The only thing now is how to handle the string in the controller. I guess it should be stored in reques.post_vars El martes, 16 de diciembre de 2014 19:36:04 UTC+1, Leonel Câmara escribió: > > You're already using jquery. I think the problem is that you're specif

[web2py] Re: json empty with jquery

Sorry, but they are not stored in request.vars as expected. It works fine in the alert window, but I can't retrieve the values in the controller to handle them. I have tried with a diferent function in the controler, like this: def test2(): result=testpost() return locals() def tes

[web2py] Re: json empty with jquery

Yes, so what do you suggest?. Do I have to fill my request.vars before the document is loaded? How can I do it? El miércoles, 17 de diciembre de 2014 12:43:30 UTC+1, Leonel Câmara escribió: > > Jacinto they are in request.vars otherwise you wouldn't see them in the > alert window. Let's walk

[web2py] Re: json empty with jquery

First of all thanks so much for your help, Leonel. I finally got it. I had a concept mistake. I had to declare a variable to get the data of the client wiht the same structure of the data. I used datos = str(request.vars), it is correct because I can retrieve data: {'key':'value ','key2':'value

[web2py] Re: Managing 600MB size files on Google Cloud with web2py

I'm looking for a similar solution widht google cloud store. El miércoles, 23 de julio de 2014 11:27:29 UTC+2, Giacomo Dorigo escribió: > > Hello everybody, > I am writing an app for storing and delivering files more or less from 3 > up to 600Mb size. > > I would like to rely on Google App Eng

[web2py] /appadmin/manage/auth GAE access

Hi I have deployed my aplication in GAE and /appadmin/manage/auth works fine, asking a login to access. But, if I try to go to: https://myapp.appspot.com/appadmin Then the browser asks me: Sign in with your google account

[web2py] Re: /appadmin/manage/auth GAE access

logout from google does not automatically sign you out from > admin. > > Can you reproduce the problem if you sign our from admin? > > On Wednesday, 7 January 2015 06:08:13 UTC-6, Jacinto Parga wrote: >> >> Hi >> >> I have deployed my aplication in GAE and /app

[web2py] Re: /appadmin/manage/auth GAE access

make a complete example in a few minutes... El miércoles, 7 de enero de 2015 20:20:25 UTC+1, Massimo Di Pierro escribió: > > you try go to the admin app /admin and press the [logout] button? > > On Wednesday, 7 January 2015 11:34:19 UTC-6, Jacinto Parga wrote: >> >> Well,

[web2py] Re: /appadmin/manage/auth GAE access

t; The fact you logout from google does not automatically sign you out from >>> admin. >>> >>> Can you reproduce the problem if you sign our from admin? >>> >>> On Wednesday, 7 January 2015 06:08:13 UTC-6, Jacinto Parga wrote: >>>> &g

[web2py] Re: /appadmin/manage/auth GAE access

application. It relies > exclusively on check_credentials with relies on Google login. > > You as administrator have to know this and have to logout from Google in > order to disable access to appadmin. > > I am not understanding the issue? > > > > On Wednesday, 7

[web2py] Re: /appadmin/manage/auth GAE access

Yes, it is very nice and useful. But I was worried because I thought than anyone could access to appadmin if I forgot to clear the session in the browser when access with google account. Thanks Samuel El viernes, 9 de enero de 2015, 16:46:27 (UTC+1), samuel bonill escribió: > > You can use Admi

[web2py] Google Cloud Storage libraries interaction web2py appengine

Hello, I am trying to manage (upload and download) big files from google cloud storage width a web2py app deployed in GAE. First step, I have adapted the example: https://cloud.google.com/storage/docs/json_api/v1/json-api-python-samples I works fine in localhost. Here it is the controller:

[web2py] Re: Google Cloud Storage libraries interaction web2py appengine

Thanks, I'm just looking for a simple way to upload and download files from google cloud store, but it seems so tricky to me. El jueves, 22 de enero de 2015, 23:59:11 (UTC+1), Massimo Di Pierro escribió: > > GAE does not provide httplib2 > > they want you to use urlfetch (their api). web2py pro

[web2py] Re: Google Cloud Storage libraries interaction web2py appengine

Finally solved. The solution: https://groups.google.com/forum/#!topic/google-appengine-stackoverflow/JZX2Yh67ylI I had to include: apiclient, gflags, httplib2, oauth2client, uritemplate in *site-packages* folder Thanks El jueves, 22 de enero de 2015, 23:59:11 (UTC+1), Massimo Di Pierro escr

[web2py] 2.9.12 app deploy in GAE error

Hello, I deploy an applicaction in GAE with 2.9.11 succesfully but If I try to deploy it with 2.9.12 I get the following ticket: 2015-01-30 14:31:41.094 Unable to store in FILE: /base/data/home/apps/s~clubatletismosada/2.381882905081239360/applications/CAS/models/db.py Traceback (most recent

[web2py] Google Cloud Storage in GAE refresh token access

Hi, I am using Google Cloud Storage (GCS) with web2py. I've implemented ( https://cloud.google.com/storage/docs/json_api/v1/json-api-python-samples ) it works fine in localhost or in systems where you can write in the filesystem. But in Google App Engine (GAE) you can not write in the filesy

[web2py] Re: Google Cloud Storage in GAE refresh token access

Well, I have made a little progress : https://developers.google.com/api-client-library/python/guide/google_app_engine#Credentials But, now the only question is how to get the modules: No module named appengine.api El jueves, 26 de febrero de 2015, 8:48:46 (UTC+1), Jacinto Parga escribió

[web2py] Re: jquery 1.12.2 vulnerability

Yeap thanks El miércoles, 14 de diciembre de 2016, 20:36:49 (UTC+1), Niphlod escribió: > > you are free to use whatever you may like in your own app. > btw, jquery 1.12.2 afaik is not vulnerable, just "old". > > On Monday, December 12, 2016 at 7:53:29 PM UTC+1, Jacinto

Re: [web2py] Re: Password Recovery Not Sending (lazyT object being passed to GAE?)

er. > > On Saturday, September 24, 2016 at 9:11:43 AM UTC-7, Jacinto Parga wrote: >> >> >> Unfortunatly it didn't work for me. >> >> Is it a translation issue? Can it be solved changing the auth_user >> messages? >> >> I think it is an impor

[web2py] Issue width auht.has_mermbership in menu.py

Hi, I have had google appengine error like this: Any auth.has_membership in menu.py raised this error. I finally solved setting *myconf = AppConfig(r

Re: [web2py] Issue width auht.has_mermbership in menu.py

't know what happen because it has been working well for almost one year. El martes, 14 de febrero de 2017, 15:57:05 (UTC+1), Richard escribió: > > Can you show us more of your conf, there is maybe other things involve > here. > > Richard > > On Tue, Feb 14, 2017 at 4:50 AM

[web2py] Re: how to deploy in GAE

With gcloud you have to configure the app.yalm without "yourappname" and "version" The appname is provided when you make gcloud init And you can specify the version with --version flag El martes, 25 de octubre de 2016, 7:11:49 (UTC+2), Massimo Di Pierro escribió: > > wget http://web2py.com/ex

[web2py] Re: Password Recovery Not Sending (lazyT object being passed to GAE?)

Yes, still unresolved. I did a workaround for the request_reset_password: def user(): if request.args(0)=='request_reset_password': redirect(URL('default','myrequestpass')) return dict(form=auth()) def myrequestpass(): form = SQLFORM.factory( Field('u_email', requir

[web2py] two-step validation error

Two errors when I try to apply an two-step access 1 I try whith auth.settings.auth_two_factor_enabled = True and I get Mail.send failure:coercing to Unicode: need string or buffer, lazyT found Unable to store in FILE: Framework Traceback (most recent call last): File "/base/data/home/apps

[web2py] Re: Password Recovery Not Sending (lazyT object being passed to GAE?)

web2py internals >> all link together. >> >> On Thursday, April 6, 2017 at 4:51:17 AM UTC-7, Karoly Kantor wrote: >>> >>> Thanks, this helped, i am now using my own function to send the password >>> reset email. >>> >>> On Frida

[web2py] Re: web2py 2.15.0b1

Great job. Thanks. First issue with @mobilize import from gluon.contrib.user_agent_parser import mobilize El miércoles, 5 de julio de 2017, 8:55:

[web2py] GAE deposit folder skipped in app.yaml

Hi, I have included deposit folder in the skipped files in app.yaml to deploy in GAE. ¿Is there any trouble ? ... (applications/examples/.*)| (deposit/.*)| ((examples|welcome)\.(w2p|tar))| (applications/.*?/(cron|databases|errors|cache|sessions)/.*)| -- Resources: - http://web2py.com -

[web2py] Error in GAE TypeError: ConjunctionNode()

I have an aplication deployed in GAE tha has been running for months with no problem, but in the last deployment in GAE, it has raised a new error: TypeError: ConjunctionNode() expects Node instances as arguments; received a non-Node instance None The error has to do with *IS_IN_DB* validator,

[web2py] Re: Error in GAE TypeError: ConjunctionNode()

https://console.developers.google.com/project/clubatletismosada/clouddev/debug/resolve_location?appModule=default&appVersion=2×tampNanos=143954268392200&file=%2Fbase%2Fdata%2Fhome%2Fapps%2Fs~clubatletismosada%2F2.386424209805371251%2Fgluon%2Fpackages%2Fdal%2Fpydal%2Fadapters%2Fgoogle_adapters.p

[web2py] Re: Error in GAE TypeError: ConjunctionNode()

get and *titulares.last_name + ' ' +titulares.first_name + '- ' +titulares.f_numero_socio *is the dropdown value It seems to work fine. May be someone has a better solution El jueves, 13 de agosto de 2015, 13:48:35 (UTC+2), Jacinto Parga escribió: > > I have an apl

[web2py] Recaptcha V3 in auth.login form

I have tried recaptcha v3 width auth login form but something is wrong. It seems to break the basic auth validation methods. Controller def user(): form = auth() my_captcha_element = TR(INPUT(_name='recaptcharesponse', value='', _type='hidden', _id='g-recaptcha-response')) form[0]

[web2py] Re: 2.18.5 admin UnicodeDecodeError

s doesn't work, try to delete all > *.pyc in the web2py tree. > > Another possible origin are the databases if using SQLite. > > > quinta-feira, 25 de Abril de 2019 às 10:00:49 UTC+1, Jacinto Parga > escreveu: >> >> Hi, It suddenly appeared. Version downl

[web2py] Re: 2.18.5 admin UnicodeDecodeError

El jueves, 25 de abril de 2019, 11:00:49 (UTC+2), Jacinto Parga escribió: > > Hi, It suddenly appeared. Version downloaded from source web. The same > with github version. > > Error ticket for "admin" Ticket ID > > 127.0.0.1.2019-04-25.10-45-30.ec4c021c-532a-4

[web2py] py4web in Google App Engine route app

I cannot properly deploy a simple py4web app in GAE. I think it's just a .gcloudignore or a app.yaml configuration issue. The only thing I've got is a not found page. [image: minimal-py4web.png] Some help about how to route the right app in the google app engine? Thanks -- Resources: - htt

Re: [web2py] py4web in Google App Engine route app

() > > Then you acces like http://IP/your_app/some_name > > Cheers. > Chris. > > El El mar, 4 de feb. de 2020 a la(s) 15:46, Jacinto Parga < > jpa...@gmail.com > escribió: > >> I cannot properly deploy a simple py4web app in GAE. I think it's just a

Re: [web2py] py4web in Google App Engine route app

ps/_default/* > apps/_documentation/* > apps/superheroes > apps/superheroes/* > > > > On Wednesday, 5 February 2020 12:38:56 UTC-8, Jacinto Parga wrote: >> >> No, thanks. >> >> Finally it was a problem with the .gcloudignore >> >> I had to ge

[web2py] Re: py4web in Google App Engine route app

ciated. Thanks El martes, 4 de febrero de 2020, 19:46:32 (UTC+1), Jacinto Parga escribió: > > I cannot properly deploy a simple py4web app in GAE. I think it's just a > .gcloudignore or a app.yaml configuration issue. The only thing I've got is > a not found page. > &

[web2py] py4web GAE db datastore connection

Hi, I have deployed an app in GAE and works fine with these db settings in settings.py: # db settings APP_FOLDER = os.path.dirname(__file__) APP_NAME = os.path.split(APP_FOLDER)[-1] # DB_FOLDER:Sets the place where migration files will be created # and is the store location f

[web2py] Re: py4web in Google App Engine route app

ult, Nov 20 2019, 09:21:52) El sábado, 21 de marzo de 2020, 8:03:00 (UTC+1), Massimo Di Pierro escribió: > > This is a good solution. One trick is to symlink _default to myapp > > On Monday, 16 March 2020 02:17:56 UTC-7, Jacinto Parga wrote: >> >

[web2py] Re: Python3 GAE 502 Error

Is there any main.py example to deploy web2py in GAE with python 3.7 as it is in py4web? El domingo, 21 de abril de 2019, 18:32:33 (UTC+2), Jacinto Parga escribió: > > Or may be what i need is just to know what is the entrypoint in the > app.yalm for my web2py application >

[web2py] Re: letsencrypt google appengine with web2py

Many... Many thanks! > > Em domingo, 6 de março de 2016 16:30:42 UTC-3, Jacinto Parga escreveu: >> >> With GAE deployed apps... >> >> The best solution I've found is using an error handler and a redirection >> to the static file with the letsencr

[web2py] Re: Deploying of a web2py based webapp on GAE fails with 'No module named 'google'

I have the same issue. Have you find any solution. El domingo, 23 de febrero de 2020, 0:49:43 (UTC+1), Sreedevi escribió: > > My aim is to create a python 3 based webapp using web2py 2.18.5 + google > cloud sdk 281.0.0 + python 3.7.6. I am using the web2py's inbuilt welcome > app. > >- The a

[web2py] Re: py4web in Google App Engine route app

hs > > Assuming this is a linux or OSX machine you should do from the shell > > $ rm -rf apps/_default > $ ln -s apps/myapp apps/_default > > You only need to do this once. > > On Monday, 23 March 2020 05:01:41 UTC-7, Jacinto Parga wrote: >> >> Yes, but I get an

[web2py] Re: py4web - Deployment on GCloud (aka Google App Engine)

Hi Andrew, How did you connect with Datastore. I mean, how did you configure db in settings.py? Thanks El lunes, 13 de abril de 2020, 0:38:35 (UTC+2), Andrew W escribió: > > Hi all, > Not a question but a tip for others experimenting with py4web on GCP App > Engine. > > Following the instruct

Re: [web2py] Off topic : new js alternative to vue and react

I like svelte too. Do you think it can be a good complement for web2py / py4web? -- 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

[web2py] Re: RestAPI: how to restrict query results to data belonging to logged in user?

Hello, I used this workaround in a similar case: @auth.requires_login() @request.restful() def myapi(): def GET(): response.view = 'generic.json' myreg = db(db.mytable.created_by==auth.user.id).select() # Maybe in your case mytable.user_id==auth.user.id if myreg:

Re: [web2py] Re: RestAPI: how to restrict query results to data belonging to logged in user?

used for that normally, that is what > scopes are for. > Claims are just used to "contextualize" a reqiest for the API i.e. fetch > relevant information for the requestor if the requestor is for example from > Europe fetch all infos for Europeans from the database, >

Re: [web2py] pbkdf2_hmac error on PythonAnywhere

Hi, I had the same error upgrading web2py to version 2.20.4 The python version in pythonanywhere was 2.7.6 Changing the python version to 3.5.2 solved it. El martes, 2 de abril de 2019, 17:20:33 (UTC+2), Philip Kilner escribió: > > Since I asked the question, the ever-helpful Giles has popped

[web2py] Re: Sending smses via my web2py

I use https://www.messagebird.com/ It has a well documented api and works well with web2py El miércoles, 5 de agosto de 2020 a las 20:58:51 UTC+2, Massimo Di Pierro escribió: > That list of service providers is very old. I sugget you use twilio > > > On Wednesday, 5 August 2020 02:14:11 UTC-7, mo

[web2py] Re: deploy web2py with gunicorn, Nginx y HTTPS

Perfect. Gracias El sábado, 12 de septiembre de 2020 a las 17:10:10 UTC+2, cabildocl escribió: > I wrote an article in Spanish on how to deploy web2py with https > > > http://cabildocl.blogspot.com/2020/09/implementar-web2py-con-gunicorn-nginx-y.html > > > -- Resources: - http://web2py.com -

[web2py] Re: Anyone in or near Barcelona?

I am based in Spain and have some experience with Web2py. Nowadays learning how to migrate them to Py4web. In no COVID context I travel sometimes to Barcelona. May be I can help. El jueves, 15 de octubre de 2020 a las 14:43:10 UTC+2, i.r...@appichar.com.au escribió: > Hi - I'm looking for some

[web2py] Re: web2py 2.21.1 is OUT

Hello, I think it is an issue that comes from previous version. It has to do with IS_NOT_IN_DB validator and auth. It worked in 2.17.2 version with no problem Traceback (most recent call last): File "/base/data/home/apps/e~canal-responsable-marcafranca/218.431301544681755891/gluon/restricted

[web2py] Warning rdbms deprecation notice in GAE

Hi, There is this warning in GAE deployment: Please remove any imports of google.appengine.api.rdbms. First Generation Cloud SQL instances have been shut down, and rdbms.py will be removed in a future release. See: https://cloud.google.com/sql/docs/mysql/deprecation-notice If you deploy usin

[web2py] Re: Programatically create Row

http://www.web2py.com/books/default/chapter/29/07/forms-and-validators#SQLFORM-factory El viernes, 12 de febrero de 2021 a las 18:26:42 UTC+1, david...@gmail.com escribió: > I have a controller that displays confidential data from a table but want > to be able to show the form publicly with som

Re: [web2py] Re: Programatically create Row

at for that. I've already got code to > create the form but want to create a dummy row on the server side to > populate a display example form. > > Cheers, > David > > On Sat, 13 Feb 2021, 08:37 Jacinto Parga, wrote: > >> >> http://www.web2py.com/book

[web2py] Pydal validator IS_NOT_IN_DB fails in auth.user table

Hello, This is an old issue not solved yet. I think it is an issue that comes from previous version. It has to do with IS_NOT_IN_DB validator and auth. It worked in 2.17.2 version with no problem Traceback (most recent call last): File "/base/data/home/apps/e~x-/218.431301544681

[web2py] Re: powerTable AttributeError: 'DAL' object has no attribute 'virtual'

Thanks so much!! El lunes, 8 de octubre de 2012 22:15:58 UTC+2, Massimo Di Pierro escribió: > > :-) > > On Monday, 8 October 2012 12:53:27 UTC-5, Don_X wrote: >> >> BINGO ! - IT WORKS LIKE A CHARM MASSIMO !!! ... >> >> Thank you ... now I can study this properly so I can adapt it to my app ! >>

[web2py] Re: The web2py grid/crud plugin you've always dreamed about! Options

I'm working with web2py 2.1.1 and I have the same problem with PowerGrid What is then __init__.py solution? Thanks El martes, 9 de agosto de 2011 11:45:52 UTC+2, peter escribió: > > I found the problem, it was caused by having something in _init_.py > Thanks > > > On Aug 8, 4:10 pm, peter wr