Jason Tackaberry wrote: > On Mon, 2007-10-29 at 14:28 +0100, Dirk Meyer wrote: >> fix crash when called in thread > > How does it fix it?
| + # create InProgress object | + callback = kwargs.pop('_kaa_rpc_callback', kaa.notifier.InProgress()) | packet_type = 'CALL' | payload = cPickle.dumps((cmd, args, kwargs), pickle.HIGHEST_PROTOCOL) | self._send_packet(seq, packet_type, payload) | - # create InProgress object and return | - callback = kwargs.pop('_kaa_rpc_callback', kaa.notifier.InProgress()) kwargs contains _kaa_rpc_callback that is needed for thread communication and we have to remove it before pickle. Dischi -- There are 2 major products that came out of Berkeley: UNIX and LSD. We don't believe this to be a coincidence.
pgpERugmLXudz.pgp
Description: PGP signature
------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel