Hey I figured this out. The issue was that there was no bound engine
available in the celery context.
The solution was to add this chunk of code in my celery initialization
code, celery.py:
@worker_init.connect
def bootstrap_pyramid(signal, sender):
import pdb; pdb.set_trace()
from pyr
On Jan 22, 2014, at 12:07 AM, Michael wrote:
> In my pyramid app, a celery task was giving me: "Task
> lr.queue.tasks.fetch_bmark_content[b667d64c-5505-408c-bd12-f9a1863b2e7c]
> raised unexpected: UnboundExecutionError('Could not locate a bind configured
> on mapper Mapper|Bmark|bmarks, SQL e
In my pyramid app, a celery task was giving me: "Task
lr.queue.tasks.fetch_bmark_content[b667d64c-5505-408c-bd12-f9a1863b2e7c]
raised unexpected: UnboundExecutionError('Could not locate a bind
configured on mapper Mapper|Bmark|bmarks, SQL expression or this Session',)"
from reading around it ap