Re: Shared connection stuff?

2009-05-23 Thread m...@nysv.org
On May 23, 11:57 am, "m...@nysv.org" wrote: > Maybe I'll still try Process objects instead of processing.Pool.imap() > to be safe.. I never did, as it seems the connection is very global. I also made a finding that the connection live in the base model, so although

Re: Shared connection stuff?

2009-05-23 Thread m...@nysv.org
On May 23, 1:59 am, "R. Gorman" wrote: > You can control database connections and transactions using > transaction management: > > http://docs.djangoproject.com/en/dev/topics/db/transactions/ This isn't about transactions, it's about the how the connection itself can not be properly shared. Whe

Re: Shared connection stuff?

2009-05-23 Thread m...@nysv.org
On May 22, 6:15 pm, Karen Tracey wrote: > On Fri, May 22, 2009 at 7:41 AM, m...@nysv.org > wrote: > > FWIW, the only other time I recall something like this coming up is here: > http://groups.google.com/group/django-users/browse_thread/thread/4b9a... Cool, but frightening :)

Shared connection stuff?

2009-05-22 Thread m...@nysv.org
Hi! I'm using python-processing to run things in parallell based on data in a Django-powered database. I'm also seeing all sorts of funky tracebacks: Traceback (most recent call last): File "utils/X.py", line X, in XX XX = X(, X=X, =) File "XX"