-
Notifications
You must be signed in to change notification settings - Fork 274
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem using cache backend celery #489
Comments
From the error what I see is that in the file object that should be pickled in order to be send via Redis to Celery there is a thread local object which is not picklable. The interesting thing is how this object is there. I see that the issue is old (sorry for my slow response). Did you managed to fix it and how (or it is still unresolved)? |
Hi Matthew
I couldnt resolve the problem yet im using optmistic strategy and assuming
the first time load of the photo (waiting for cache creation)
Do you think the buf can be fixed?
Grettings
El sáb., 8 de jun. de 2019 5:48 PM, Venelin Stoykov <
[email protected]> escribió:
… From the error what I see is that in the file object that should be
pickled in order to be send via Redis to Celery there is a thread local
object which is not picklable. The interesting thing is how this object is
there.
I see that the issue is old (sorry for my slow response). Did you managed
to fix it and how (or it is still unresolved)?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#489?email_source=notifications&email_token=AB5L5FWDSMXBA6UCV4QFTM3PZQSMBA5CNFSM4HCYXEEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXH7EIY#issuecomment-500167203>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AB5L5FXMBELHLHVGYSHHLBLPZQSMBANCNFSM4HCYXEEA>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello I´m getting this error while trying to Deferring Image Generation async with celery:
I think I configurate Imagekit properly like it says in the docs
Where ImagekitOnSaveStrategy
And my model look like this
When I run celery the task is recognize but I dont receive anything on the worker when I upload an image.
. imagekit.cachefiles.backends._generate_file
I use redis for Cache and Celery with redis as a broker
Any help will be appreciate it!
My env:
python 3.6
django-imagekit==4.0.2
celery==4.1.0
The text was updated successfully, but these errors were encountered: