Advertisement
Guest User

Untitled

a guest
Jul 29th, 2021
103
33 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import platform
  2. import sys
  3. from multiprocessing import Manager
  4.  
  5. if __name__ == '__main__':
  6. print(sys.version)
  7. print(platform.platform())
  8.  
  9. with Manager() as m:
  10. d = m.dict()
  11. d['IN'] = m.Queue()
  12.  
  13.  
  14.  
  15.  
  16.  
  17. 3.9.6 (tags/v3.9.6:db3ff76, Jun 28 2021, 15:26:21) [MSC v.1929 64 bit (AMD64)]
  18. Windows-10-10.0.19043-SP0
  19. Traceback (most recent call last):
  20. File "C:\scratch_5.py", line 11, in <module>
  21. d['IN'] = m.Queue()
  22. File "<string>", line 2, in __setitem__
  23. File "C:\Python39\lib\multiprocessing\managers.py", line 824, in _callmethod
  24. raise convert_to_error(kind, result)
  25. multiprocessing.managers.RemoteError:
  26. ---------------------------------------------------------------------------
  27. Traceback (most recent call last):
  28. File "C:\Python39\lib\multiprocessing\managers.py", line 244, in serve_client
  29. request = recv()
  30. File "C:\Python39\lib\multiprocessing\connection.py", line 256, in recv
  31. return _ForkingPickler.loads(buf.getbuffer())
  32. File "C:\Python39\lib\multiprocessing\managers.py", line 933, in RebuildProxy
  33. return func(token, serializer, incref=incref, **kwds)
  34. TypeError: AutoProxy() got an unexpected keyword argument 'manager_owned'
  35. ---------------------------------------------------------------------------
Advertisement
RAW Paste Data Copied
Advertisement