jmaki added the comment:
loewis, r.david.murray: Please proceed in terms of #3--The specific example
does not work on Windows. I am using python 2.7.6 on Windows 7.
Below is the failing message that happens immediately on startup, specifically,
when hitting this line:
Process(target=serve_forever, args=(server,)).start()
Thank you for the attention.
- error message -
Traceback (most recent call last):
File C:/Python27/httpthreadpool.py, line 75, in module
test()
File C:/Python27/httpthreadpool.py, line 70, in test
runpool(ADDRESS, NUMBER_OF_PROCESSES)
File C:/Python27/httpthreadpool.py, line 51, in runpool
Process(target=serve_forever, args=(server,)).start()
File C:\Python27\lib\multiprocessing\process.py, line 130, in start
self._popen = Popen(self)
File C:\Python27\lib\multiprocessing\forking.py, line 277, in __init__
dump(process_obj, to_child, HIGHEST_PROTOCOL)
File C:\Python27\lib\multiprocessing\forking.py, line 199, in dump
ForkingPickler(file, protocol).dump(obj)
File C:\Python27\lib\pickle.py, line 224, in dump
self.save(obj)
File C:\Python27\lib\pickle.py, line 331, in save
self.save_reduce(obj=obj, *rv)
File C:\Python27\lib\pickle.py, line 419, in save_reduce
save(state)
File C:\Python27\lib\pickle.py, line 286, in save
f(self, obj) # Call unbound method with explicit self
File C:\Python27\lib\pickle.py, line 649, in save_dict
self._batch_setitems(obj.iteritems())
File C:\Python27\lib\pickle.py, line 681, in _batch_setitems
save(v)
File C:\Python27\lib\pickle.py, line 286, in save
f(self, obj) # Call unbound method with explicit self
File C:\Python27\lib\pickle.py, line 548, in save_tuple
save(element)
File C:\Python27\lib\pickle.py, line 286, in save
f(self, obj) # Call unbound method with explicit self
File C:\Python27\lib\pickle.py, line 725, in save_inst
save(stuff)
File C:\Python27\lib\pickle.py, line 286, in save
f(self, obj) # Call unbound method with explicit self
File C:\Python27\lib\pickle.py, line 649, in save_dict
self._batch_setitems(obj.iteritems())
File C:\Python27\lib\pickle.py, line 681, in _batch_setitems
save(v)
File C:\Python27\lib\pickle.py, line 331, in save
self.save_reduce(obj=obj, *rv)
File C:\Python27\lib\pickle.py, line 419, in save_reduce
save(state)
File C:\Python27\lib\pickle.py, line 286, in save
f(self, obj) # Call unbound method with explicit self
File C:\Python27\lib\pickle.py, line 649, in save_dict
self._batch_setitems(obj.iteritems())
File C:\Python27\lib\pickle.py, line 681, in _batch_setitems
save(v)
File C:\Python27\lib\pickle.py, line 331, in save
self.save_reduce(obj=obj, *rv)
File C:\Python27\lib\pickle.py, line 419, in save_reduce
save(state)
File C:\Python27\lib\pickle.py, line 286, in save
f(self, obj) # Call unbound method with explicit self
File C:\Python27\lib\pickle.py, line 649, in save_dict
self._batch_setitems(obj.iteritems())
File C:\Python27\lib\pickle.py, line 681, in _batch_setitems
save(v)
File C:\Python27\lib\pickle.py, line 331, in save
self.save_reduce(obj=obj, *rv)
File C:\Python27\lib\pickle.py, line 396, in save_reduce
save(cls)
File C:\Python27\lib\pickle.py, line 286, in save
f(self, obj) # Call unbound method with explicit self
File C:\Python27\lib\pickle.py, line 748, in save_global
(obj, module, name))
PicklingError: Can't pickle type 'thread.lock': it's not found as thread.lock
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21204
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com