hello.
Can you unsubscribe me please? I am not currenly a web2py user. But maybe
in future.
Please remove my email from you list for now.
Kind regards,
Alexandra
On Sun, Nov 4, 2018 at 8:10 AM James O' Driscoll
wrote:
> I used DAL(uri, folder, import_models=True) in the task.py function and
> t
I used DAL(uri, folder, import_models=True) in the task.py function and
this does the job.
If possible can someone explain if:
1.This lightweight connect to celery is preferred
over https://code.google.com/archive/p/web2py-celery/.
2.Is running the worker using task manager as a windows
I have implemented the above, the gen_url function is working but the
add_user function is not (receiving the error db is not defined.)
Regards,
James
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google
>
> >>> celery worker -A tasks
> File "", line 1
> celery worker -A tasks
> ^
> SyntaxError: invalid syntax
>
The above is not Python code -- it belongs at the command line.
Also, I notice you often add replies to threads that are several years old.
Unless you are directly
trying to learn web2py with celery, but an error occured
*- install celery*
source activate test2
pip install celery
*- start redis server from source install (stable version 4.0.9)*
./src/redis-server
*- start web2py (stable version 2.16.1 on python 2.7)*
source activate test2
python ~/python/we
if it's right, and I'm not sure it is since I couldn't get the to the
"inner circle of knowledge" required to run such a thing and tell all the
others "people, THIS is the way" ^_^
On Wednesday, March 13, 2013 5:09:18 AM UTC+1, Massimo Di Pierro wrote:
>
> This belongs to a blog post!
>
>
--
This belongs to a blog post!
On Tuesday, 12 March 2013 17:23:21 UTC-5, Niphlod wrote:
>
> ok, I think I got it . most of it is cumbersome and fruit of multiple
> reiteration (e.g. lots of trials and errors). There's no way in hell to put
> up celery docs pertaining the particular usecase in
ok, I think I got it . most of it is cumbersome and fruit of multiple
reiteration (e.g. lots of trials and errors). There's no way in hell to put
up celery docs pertaining the particular usecase in web2py.
Pleease, watch it carefully, may burn your house to the ground.
@Bruno: maybe the s
cause I know exactly how to create a web2py environment in "my own module"
but for the life of me I can't figure out how to apply the same method to a
celery worker (if you're not a fan of "magic" in web2py, celery workers
instances do a LT of magic behind the scenes)
On Tuesday, March 12,
Is it not possible launch a Celery worker that has access to the web2py
environment? This is possible for custom schedulers with commands such as
the following -- why would it not be available to Celery workers?
python web2py.py -S appName -M -R worker.py
On Tuesday, March 12, 2013 10:17:47 A
more than celery we'd need a generalized web2py "create the context" recipe
running tasks defined in modules is easy. running tasks outside
web2py that needs the usual environment is a PITA
On Tuesday, March 12, 2013 6:17:47 PM UTC+1, Eric S wrote:
>
>
> I'm interested in a robust
I'm interested in a robust, widely-adopted scheduler. The current web2py
Scheduler is clearly changing very rapidly, which is great, for now I want
a scheduler that is mature.
Can anyone answer my original question -- how have you gotten Celery
workers to run with web2py?
On Thursday, March
What I want to know is what do you think celery buys you that the built-in
scheduler does not provide?
Celery is faster at transferring messages from the application t the
workers and vice versa but normally when you want to run background tasks
you have different bottle-necks: computation cycl
+1 .
Scheduler is a great tool because its feature packed and exploits what is
"at hand" in a normal deployment environment (and it's the best shot at
replacing cron & likes). The minute I had a redis-backed scheduler at hand
(its there, sitting on my disk) I was kinda sad, because what makes t
I also would like to see Celery, Solr, Elastic Search and other fantastic
tools working with web2py!
I think this is an important issue and I am sure it is completely easy and
possible to make it.
I personally do not like to use the built-in scheduler, so I am using
python-rq (Redis Queue) for so
15 matches
Mail list logo