Re: [web2py] Postpone a scheduler action

2018-07-11 Thread Manuele Pesenti
On 09/07/2018 09:56, Martin Weissenboeck wrote: What I want to do: I have a running scheduler action and I want to interrupt this action and postpone it for a later time. What would be the best solution? consider to: 1. Setup the task in order to be re-tried till it will end up with succes

Re: [web2py] Postpone a scheduler action

2018-07-11 Thread Martin Weissenboeck
Yes I think this solution could do the job. But I don't know if an exception would produce a big overhead. Anybody who knows the answer? Manuele Pesenti schrieb am Mi., 11. Juli 2018, 10:29: > > > On 09/07/2018 09:56, Martin Weissenboeck wrote: > > What I want to do: > > > > I have a running sch

[web2py] Share database connection between modules

2018-07-11 Thread Wei Ken Chang
Hi , I am web2py beginner... I want to begin transaction (DB) in the controller then pass this dB connection to multiple modules ( each modules run different SQL insert/update/delete), if one of module action failed so I will revert back (dB connection) else (all modules success ) dB will commit

[web2py] Syntax Error "unknown app...."

2018-07-11 Thread fiubarc
Hello, i need help with this behavior Steps to reproduce: 1) routes.py domains = { "app1.com" : "app1", "app2.com" : "app2"} 2) uninstall app1 3) the app2 can not be accessed, not even the admin interface. Web2py Log: [Tue Jul 10 11:16:58 2018] [error] mod_wsgi (pid=2115): Target WSGI sc

[web2py] Re: Share database connection between modules

2018-07-11 Thread Anthony
On Wednesday, July 11, 2018 at 9:46:32 AM UTC-4, Wei Ken Chang wrote: > > Hi , I am web2py beginner... > I want to begin transaction (DB) in the controller then pass this dB > connection to multiple modules ( each modules run different SQL > insert/update/delete), if one of module action failed

[web2py] Re: Syntax Error "unknown app...."

2018-07-11 Thread Anthony
routes.py is just Python code, so you can write code that will dynamically generate the "domains" dictionary based on folders found in the /applications folder. However, whenever you make a change, you will still need to reload routes.py (or restart the web server), as routes.py is only execute

[web2py] Payment integration documentation needs update

2018-07-11 Thread Peter Woolf
Hello, I'm exploring ways to integrate a payment option into a web2py application and see that part of the documentation is quite outdated. http://web2py.com/books/default/chapter/29/14?search=payment#Accepting-credit-card-payments In particular, the section on Level 2 integration with Google C

[web2py] Re: Payment integration documentation needs update

2018-07-11 Thread Anthony
Feel free to make a pull request to update the docs: https://github.com/web2py/web2py-book Anthony On Wednesday, July 11, 2018 at 10:32:42 AM UTC-4, Peter Woolf wrote: > > Hello, > > I'm exploring ways to integrate a payment option into a web2py application > and see that part of the documentat

[web2py] Re: Scheduler workers crash on usage of urllib

2018-07-11 Thread Oasis Agano
I ended up importing my self in gluon/packages/dal/pydal/base.py. with import urllib On Wednesday, December 6, 2017 at 5:39:11 PM UTC+2, Ryan Herbert wrote: > > Hello, > I am currently experiencing an issue with my scheduler workers crashing on > startup with the following error: > > Exceptio

[web2py] web2py + gevent

2018-07-11 Thread Artem
Dear All , Anybody using gevent with web2py ? I always getting error : >> greenlet.error: cannot switch to a different thread >>gevent.exceptions.LoopExit: This operation would block forever >> Hub: >0x119e9ba20 thread_ident=0x123145489817600>>> threadpool=> >>thread_ident=0x7b2d2000> >> H

[web2py] Re: web2py + gevent

2018-07-11 Thread 黄祥
did you use gevent as web server using anyserver.py? if yes, perhaps this thread can give any clue: https://groups.google.com/forum/#!topic/web2py/VP6KiNkR4OY best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source