[web2py] RuntimeError: cannot load dispatch table from pyexpat

2018-11-28 Thread Yebach
I am getting the following error after I reinstalled my machine. I am using Python 27 (32-bit) Traceback (most recent call last): File "C:\workspaces\Python\iRazpored\gluon\restricted.py", line 217, in restricted exec ccode in environment File "C:/workspaces/Python/iRazpored/applicat

[web2py] Re: AWS Lambda Deployment Recipe

2018-11-28 Thread Anthony
On Tuesday, November 27, 2018 at 6:51:54 PM UTC-5, appjar...@gmail.com wrote: > > I've created a first pass at an AWS Lambda deployment recipe which uses an > open-source tool called Zappa. > > I welcome any comments or suggested improvements. In particular, step 3 > requires modifying gluon/ma

[web2py] mobile responsive table

2018-11-28 Thread lbjc1978
I'd like to have this table to fit in any media screen including ipad and mobile phone. How do I do it. This is the code: {{extend 'layout.html'}} .btn{ border-radius: .28rem; } h3 { display: block; font-size: 1.17em; margin-top: 0.5em; margin-bottom: 1em; margin-lef

[web2py] common filter error on many to many table

2018-11-28 Thread icodk
Getting the following error when setting a common filter on a table: *Query Not Supported: current transaction is aborted, commands ignored > until end of transaction block* Looking in the database log i can see an error on a missing table name in a query: *ERROR: missing FROM-clause entry

[web2py] Select_or_add

2018-11-28 Thread 'Matthew J Watts' via web2py-users
Hi all Anyone using this feature with the current version of web2py. I tried to get the feature working using the code from the link below but it isnt working propery i.e. can´t close pop up box, form doesn't refesh when i insert a new entry. I still have to learn Jquery and javascript https:/

[web2py] Re: common filter error on many to many table

2018-11-28 Thread icodk
Correction to the common filter It is : db.person._common_filter = lambda query: (db.person.group == db. auth_user_person_group.person_group)& (db.auth_user_person_group.auth_user == auth.user.id) This error is only in the issue description here. So I still get the error in my code On Wednes

[web2py] Re: AWS Lambda Deployment Recipe

2018-11-28 Thread appjarbiz
Thank you Anthony, I added the wsgibase wrapper after my initial post. I was modifying gluon/main.py but I added the wrapper (lambda_handler.py) to avoid that. I confirmed which environ variables are coming through as unicode and submitted an issue to zappa. https://github.com/Miserlou/Zappa/i

[web2py] Re: common filter error on many to many table

2018-11-28 Thread icodk
PROBLEM SOLVED I might be wrong but common filter can be an expression that refers ONLY to the filtered table so it is not a general DAL query. (please correct me if I am wrong). Solution: Create a function that returns an expression with only the filtered table and assign this function name

[web2py] Re: Scheduler Replacement

2018-11-28 Thread Boris Aramis Aguilar Rodríguez
Thanks for your answer!, I'm a poor worker. lol. Really, really thanks, I'm tempted to take the road of doing some "interface" code to emulate the same functionality the scheduler currently does but using mrq.io library/framework as a backend... that to avoid changing the current code within th