[web2py] Problems with oracle - name is already used by an existing object

2017-08-23 Thread Zbigniew Pomianowski
After i upgraded to 2.15.3 I got serious problems with Oracle. First of all: new lowercase tables were created. Then I read that this is due to the new "entity_quoting" option. Nevertheles I decided to degrade my project to basic auth tables (nothing more!). I dropped everything on Oracle side

[web2py] Re: Python3 and uwsgi

2017-08-23 Thread Leonel Câmara
wsgibase in gluon/main.py probably needs a few to_bytes calls -- 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 because you are

[web2py] Re: Cannot insert into postgres database, starting with a 1.1M blob.

2017-08-23 Thread Ben Lawrence
Ok, i have a very rough fix. (Thanks Leonel for your time) I neglected to say that this is all done by the scheduler. What I did was insert time.sleep(5) between the commits, as well as inserting a half the attachment size first. This seems to work (I still need to optimize the wait times):

[web2py] put multiple database tables like grid in one place

2017-08-23 Thread 黄祥
is there any way to put multiple database tables like grid in one place using web2py way? tried before just using 2 database tables, and use distinct on SQLFORM.grid but theres a lot of redundant/repeated data in the SQLFORM.grid search form field. e.g. database tables sale_order_header (field

[web2py] Re: Submit button title not properly restored after "Working..."

2017-08-23 Thread ensenbach
Am Mittwoch, 23. August 2017 17:58:45 UTC+2 schrieb Anthony: > > This a bug -- I just submitted a pull request to fix it: > https://github.com/web2py/web2py/pull/1746. > > For now, you can make that same change in your own web2py.js. > Thank you for providing the fix. I have adopted the changes

[web2py] Web2py with SPA

2017-08-23 Thread J Boggy
Is Web2py support with React Ember or other SPA framework! not like web2py scaffold !Build spa framework for front end and combine with web2py rest service.Have anyone tried before? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py

Re: [web2py] Access DB2/400 from IBM i (AS/400) PASE environment

2017-08-23 Thread Jim S
FWIW - I got web2py running on IBM i v7.3 (AS/400) using a sqlite database. Haven't had time to get back to trying the dal with DB2 for i. -Jim On Thursday, July 20, 2017 at 8:54:50 AM UTC-5, Jim S wrote: > > Nothing happening. Got sidetracked and haven't looked at it for a couple >

[web2py] Re: Implementing Token Based authentication JWT

2017-08-23 Thread Carlos A. Armenta Castro
My 1 cent. How to use AuthJWT with requests python library (client): import requests credentials = {'username': 'chuma@xxx.com', 'password': 'mypasswordhere'} r = requests.post('http://127.0.0.1:8000/myapp/default/login_and_take_token', data=credentials) if r.status_code == 200:

Re: [web2py] Python3 and uwsgi

2017-08-23 Thread Richard Vézina
Is the result you describe (unsuccessful installation) occur while using the nginx deployment script?? web2py/scripts/* Richard On Wed, Aug 23, 2017 at 3:15 AM, Henri Chapelle wrote: > Hi, > I can't get web2py to work with uwsgi and python3. > Does anybody succeeded

[web2py] Re: Implementing Token Based authentication JWT

2017-08-23 Thread Carlos A. Armenta Castro
Very nice!!! A question: in how much time expires the token? how to know it? El sábado, 19 de agosto de 2017, 15:31:10 (UTC-7), Oasis Agano escribió: > > CONTROLLER > > > from gluon.tools import AuthJWT > import requests > > def index(): > > response.flash = T("Hello World") >

[web2py] Re: easy deploy on OpenShift

2017-08-23 Thread Massimo Di Pierro
Thanks Manuele, can I ask for a patch to the examples app that links to your page? On Tuesday, 22 August 2017 04:02:21 UTC-5, Manuele wrote: > > Dear web2py users, > > I'd like to submit to your attention this github project: > > https://github.com/manuelep/openshift_web2py > > it's a fork

[web2py] Re: Submit button title not properly restored after "Working..."

2017-08-23 Thread Anthony
This a bug -- I just submitted a pull request to fix it: https://github.com/web2py/web2py/pull/1746. For now, you can make that same change in your own web2py.js. Note, this is only an issue if (a) you have a form with multiple submit buttons and (b) clicking one of the submit buttons returns

Re: [web2py] Re: web2py with js framework

2017-08-23 Thread Massimo Di Pierro
This is fantastic! On Wednesday, 16 August 2017 16:23:41 UTC-5, Ramos wrote: > > The first video tut about this deserves a beer... > > > > Sem > vírus. www.avast.com >

[web2py] Python3 and uwsgi

2017-08-23 Thread Henri Chapelle
Hi, I can't get web2py to work with uwsgi and python3. Does anybody succeeded with a similar setup ? >From what I see by searching the internet and my tests, uwsgi doesn't accept unicode text for headers (need to be latin1 encoded text). All the pages have 0bytes in the log. My setup is working

[web2py] Angularjs Routes ng-views

2017-08-23 Thread Milton Medina
Sorry I am new and little English, my question is how I can load a fraction of html within my template index through angular in web2py. My code is as follows App / static / js / AngularController ControllerAngular: App.config (['$ routeProvider', function ($ routeProvider) { $

Re: [web2py] Re: warning for postgres users: current contrib/pg8000 is old and causes weird postgres errors

2017-08-23 Thread Gualter Portella
To be honest I did not check, but you can check using the shell. Best, Gualter Enviado do meu iPhone > Em 22 de ago de 2017, às 21:52, Alex Glaros escreveu: > > did it update pg8000 too? > > thanks Gualter > > Alex > -- > Resources: > - http://web2py.com > -

[web2py] Re: Submit button title not properly restored after "Working..."

2017-08-23 Thread ensenbach
Am Dienstag, 22. August 2017 21:00:18 UTC+2 schrieb Val K: > > It's unexpectedly, that the form is still alive after "getpdf", because > the controller doesn't return any form (unless it's an ajax-request). > It might be a little bit unexpected, but it since also the web2py default admin