[web2py] Re: any travis expert can help debug failures?

2019-08-17 Thread Massimo Di Pierro
I think I fixed. Travis updated the docker image and broke some stuff. On Saturday, 17 August 2019 22:13:57 UTC-7, Massimo Di Pierro wrote: > > Any idea why web2py on travisci is failing to connect to sql databases? > > https://travis-ci.org/web2py/pydal/builds > > > -- Resources: - http://web2p

Re: [web2py] How to use web packages in Web2Py (pandas, numpy etc.)

2019-08-17 Thread Massimo Di Pierro
Thank you. I should really find some time to make the new binaries with your method. I am very sorry I have not done it yet. On Wednesday, 7 August 2019 08:18:16 UTC-7, Nico Zanferrari wrote: > > Hi, > > I've written a small howto >

[web2py] Re: IS_IN_SET or write in

2019-08-17 Thread Massimo Di Pierro
possible but not implemented. honestly this is complicated and I'd rather do it i vue.js in py4web than in web2py. On Monday, 5 August 2019 23:53:47 UTC-7, Yebach wrote: > > Hello > > Is it possible to create a validator for form field that is a combination > of IS_IN_SET and a user write in? Th

[web2py] Re: ASSIGNJS Decimals

2019-08-17 Thread Massimo Di Pierro
right. done. thanks. On Monday, 5 August 2019 05:28:17 UTC-7, villas wrote: > > Here is an example. I think this is a problem: > > >>> from gluon.serializers import json > >>> json(decimal.Decimal(123.456)) > '"123.45600030695446184836328029632568359375"' > > I think this is what a user w

[web2py] Re: Web2py remote linux user trying to connect to Informix

2019-08-17 Thread Massimo Di Pierro
No idea what is going on. If you app intended to connect to Informix? Did work before? On Saturday, 3 August 2019 19:22:26 UTC-7, Joseph Aulisi wrote: > > We have Web2py 2.18.5-stable running on a RHEL 7 virtual machine with > python 2.7.16, nginx 1.17.1, and uwsgi 2.0.x. Although web2py applic

[web2py] Re: EStore application not working

2019-08-17 Thread Massimo Di Pierro
try: https://github.com/mdipierro/estore3 it is a little newer On Friday, 2 August 2019 00:05:32 UTC-7, Saranya S wrote: > > Downloaded *EStore appliance* from > https://github.com/mdipierro/web2py-appliances/tree/master/EStore. > > When tried to run the application it's showing up * "Cannot reso

[web2py] Re: invoice table missing in estore appliance

2019-08-17 Thread Massimo Di Pierro
That stuff is so old. Try this. It is a little newer. https://github.com/mdipierro/estore3 -- 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

Re: [web2py] Web2Py with LDAP and SAML : Is it worth it for Windows ?

2019-08-17 Thread Massimo Di Pierro
web2py or py4web? I could use some help getting it to work for py4web. On Thursday, 1 August 2019 07:08:10 UTC-7, Davidiam wrote: > > We are working on a Shibboleth implementation now. So far it is working > better than the other tests we did on Windows. > > We wanted to test it using a localhost

[web2py] Re: py4web and record versioning

2019-08-17 Thread Massimo Di Pierro
Sorry for the late response. I just run into this myself. Do not have a good solution at this time, unless we make pydal aware of ThreadSafeVariable(s). Maybe we have to. On Wednesday, 31 July 2019 05:05:50 UTC-7, Manuel Vio wrote: > > Ok, I narrowed the problem a bit: > > In py4web/core.py, aro

[web2py] Re: How to connect to mongoDB: I'm getting errors when connecting

2019-08-17 Thread Massimo Di Pierro
You have a space in the uri string. could that be a problem? On Tuesday, 30 July 2019 16:54:28 UTC-7, Maurice Waka wrote: > > > I was trying out this > > example, > not sure whet

[web2py] any travis expert can help debug failures?

2019-08-17 Thread Massimo Di Pierro
Any idea why web2py on travisci is failing to connect to sql databases? https://travis-ci.org/web2py/pydal/builds -- 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 Iss

[web2py] Re: Unknown Ticket

2019-08-17 Thread Md. Mahbubur Rahman
I have faced the same problem. Then I noticed that the application owner was somehow the root. I have made myuser as an owner of the application with chown. You can try from root... chown -R youruser:youruser APPLICATION_NAME On Thursday, January 6, 2011 at 2:22:18 AM UTC+6, Magnitus wrote: >

[web2py] scheduler error

2019-08-17 Thread HY Peng
run web2py with uwsgi and python3.6. Traceback (most recent call last): File "/home/www-data/web2py2000/gluon/restricted.py", line 219, in restricted exec(ccode, environment) File "applications/sai_admin/models/menu.py", line 49, in menus = menu_service.get_menu_config() File "/h

[web2py] Re: invalid function every other page view

2019-08-17 Thread Jose C
> Weird situation where I just created a new app from admin and have the > simplest app. When a visit the page and continue to refresh, on about every > other refresh I get "invalid function". I don't think I'm on any sort of > round robin, load balancing. It's very strange. I've reloaded rout

[web2py] Re: How can I insert image in HTML from database?

2019-08-17 Thread Val K
I am not sure, but I think that the problem has the same root as in the case of streaming: when lambda is invoked db is already wasted/rotten. So you can try to make a module with function that will fetch the rows from current.db and returns they. Then you can import this module in the controlle

[web2py] SQLFORM.grid Add and Edit buttons incorrect links when running inside another view

2019-08-17 Thread Flavio Bovio
*Add and edit button links are created incorrectly when de grid is inside another view. With the smartgrid works ok.* *Add button link* http://localhost:8000/erp_proto/tablas_grales/index/addt/forma_pago Return None *Should be* http://localhost:8000/erp_proto/tablas_gra

[web2py] How to resize div image

2019-08-17 Thread Maurice Waka
I'm trying t resize a div image but keep getting syntax errors. Done this: I need help here to get the correct code on this single line. Kind regards -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://cod

[web2py] Re: How can I insert image in HTML from database?

2019-08-17 Thread Константин Комков
If I use cache, for example: def putRecipesInCache(): recipesCache = cache.ram('recipes', lambda: db().select(db.recipes.IMAGE ), time_expire=60*60*24) return recipesCache def index(): rows = putRecipesInCache() image = '' for row in rows: if row.IMAGE is None: