Error on Building a gears module


I’m trying to build multiple gears on the same redis server. Whenever I try to run my second gear, I face the following error -

TypeError: can't pickle _thread._local objects

Anyone has an idea why is it ?

Can you share the full gear function, looks like you are trying to serialized a none serialized object…