Click here to Skip to main content
16,004,647 members

Comments by Bubai2019 (Top 2 by date)

Bubai2019 12-Sep-19 23:53pm View    
I remove logger but it is not helping me.I got the same kind of error
Bubai2019 8-Sep-19 23:39pm View    
I read the document which you send by email.May be logger caused the problem.
If I remove logger that will not solve my problem because I used logger to log events from cild process.
If thread.lock() is created it should be taken care of

def __getstate__(self):
# Copy the object's state from self.__dict__ which contains
# all our instance attributes. Always use the dict.copy()
# method to avoid modifying the original state.
state = vars(self).copy()
# Remove the unpicklable entries.
del state['mylock']
return state

def __setstate__(self, state):
# Restore instance attributes.
vars(self).update(state)
self.mylock = threading.Lock()