I went
over http://www.web2pyslices.com/slice/show/1579/web2py-and-redis-queue
and seems like it's giving me an error when I tried to dequeue all the
tasks which are sending emails
-----------------------
23:06:12 UnpickleError: (*'Could not unpickle.', ImportError('No module
named gluon.tools',))*
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/rq/worker.py", line 311, in
work
result = self.dequeue_job_and_maintain_ttl(timeout)
File "/usr/local/lib/python2.7/dist-packages/rq/worker.py", line 346, in
dequeue_job_and_maintain_ttl
connection=self.connection)
File "/usr/local/lib/python2.7/dist-packages/rq/queue.py", line 292, in
dequeue_any
raise e
UnpickleError: ('Could not unpickle.', ImportError('No module named
gluon.tools',))
-------------------------
I assume that RQ is not detecting gluon.tools.
are there any working example to try? Thank you.
--
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 subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.