Seeing the same thing on 32-bit WinXP on x86
On 07/04/2010 14:34, Stefan Krah wrote:
>
> New submission from Stefan Krah<stefan-usenet@bytereef.org>:
>
> On Windows/amd64, I get loads of pickling errors in test_multiprocessing.
>
> Type 1 error:
>
> Traceback (most recent call last):
> File "<string>", line 1, in<module>
> File "C:\Users\stefan\svn\trunk\lib\multiprocessing\forking.py", line 347, in main
> self = load(from_parent)
> File "C:\Users\stefan\svn\trunk\lib\pickle.py", line 1378, in load
> return Unpickler(file).load()
> File "C:\Users\stefan\svn\trunk\lib\pickle.py", line 858, in load
> dispatch[key](self)
> File "C:\Users\stefan\svn\trunk\lib\pickle.py", line 880, in load_eof
> raise EOFError
> EOFError
>
>
> Type 2 error:
>
> ======================================================================
> ERROR: test_fork (__main__.WithManagerTestQueue)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "..\..\Lib\test\test_multiprocessing.py", line 485, in test_fork
> p.start()
> File "C:\Users\stefan\svn\trunk\lib\multiprocessing\process.py", line 104, in start
> self._popen = Popen(self)
> File "C:\Users\stefan\svn\trunk\lib\multiprocessing\forking.py", line 244, in __init__
> dump(process_obj, to_child, HIGHEST_PROTOCOL)
> File "C:\Users\stefan\svn\trunk\lib\multiprocessing\forking.py", line 167, in dump
> ForkingPickler(file, protocol).dump(obj)
> File "C:\Users\stefan\svn\trunk\lib\pickle.py", line 224, in dump
> self.save(obj)
> File "C:\Users\stefan\svn\trunk\lib\pickle.py", line 331, in save
> self.save_reduce(obj=obj, *rv)
> File "C:\Users\stefan\svn\trunk\lib\pickle.py", line 419, in save_reduce
> save(state)
> File "C:\Users\stefan\svn\trunk\lib\pickle.py", line 286, in save
> f(self, obj) # Call unbound method with explicit self
> File "C:\Users\stefan\svn\trunk\lib\pickle.py", line 649, in save_dict
> self._batch_setitems(obj.iteritems())
> File "C:\Users\stefan\svn\trunk\lib\pickle.py", line 681, in _batch_setitems
> save(v)
> File "C:\Users\stefan\svn\trunk\lib\pickle.py", line 286, in save
> f(self, obj) # Call unbound method with explicit self
> File "C:\Users\stefan\svn\trunk\lib\multiprocessing\forking.py", line 40, in dispatcher
> self.save_reduce(obj=obj, *rv)
> File "C:\Users\stefan\svn\trunk\lib\pickle.py", line 401, in save_reduce
> save(args)
> File "C:\Users\stefan\svn\trunk\lib\pickle.py", line 286, in save
> f(self, obj) # Call unbound method with explicit self
> File "C:\Users\stefan\svn\trunk\lib\pickle.py", line 548, in save_tuple
> save(element)
> File "C:\Users\stefan\svn\trunk\lib\pickle.py", line 331, in save
> self.save_reduce(obj=obj, *rv)
> File "C:\Users\stefan\svn\trunk\lib\pickle.py", line 419, in save_reduce
> save(state)
> File "C:\Users\stefan\svn\trunk\lib\pickle.py", line 286, in save
> f(self, obj) # Call unbound method with explicit self
> File "C:\Users\stefan\svn\trunk\lib\pickle.py", line 649, in save_dict
> self._batch_setitems(obj.iteritems())
> File "C:\Users\stefan\svn\trunk\lib\pickle.py", line 681, in _batch_setitems
> save(v)
> File "C:\Users\stefan\svn\trunk\lib\pickle.py", line 331, in save
> self.save_reduce(obj=obj, *rv)
> File "C:\Users\stefan\svn\trunk\lib\pickle.py", line 419, in save_reduce
> save(state)
> File "C:\Users\stefan\svn\trunk\lib\pickle.py", line 286, in save
> f(self, obj) # Call unbound method with explicit self
> File "C:\Users\stefan\svn\trunk\lib\pickle.py", line 649, in save_dict
> self._batch_setitems(obj.iteritems())
> File "C:\Users\stefan\svn\trunk\lib\pickle.py", line 681, in _batch_setitems
> save(v)
> File "C:\Users\stefan\svn\trunk\lib\pickle.py", line 331, in save
> self.save_reduce(obj=obj, *rv)
> File "C:\Users\stefan\svn\trunk\lib\pickle.py", line 396, in save_reduce
> save(cls)
> File "C:\Users\stefan\svn\trunk\lib\pickle.py", line 286, in save
> f(self, obj) # Call unbound method with explicit self
> File "C:\Users\stefan\svn\trunk\lib\pickle.py", line 748, in save_global
> (obj, module, name))
> PicklingError: Can't pickle<type 'cStringIO.StringO'>: it's not found as cStringIO.StringO
>
> ----------
> components: Library (Lib)
> messages: 102539
> nosy: skrah
> priority: high
> severity: normal
> stage: needs patch
> status: open
> title: test_multiprocessing: pickling failures
> type: behavior
> versions: Python 2.7
>
> _______________________________________
> Python tracker<report@bugs.python.org>
> <http://bugs.python.org/issue8333>
> _______________________________________
> _______________________________________________
> Python-bugs-list mailing list
> Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/mail%40timgolden.me.uk |