0

cannot create weak reference to 'gevent._queue.Queue' object help?

SkyCityCZ 6 years ago 0

26.05.2018 12:22  [master 10319]       plugins.py:358   DEBUG  Initializing plugin "plugins"
26.05.2018 12:22  [master 10319]       plugins.py:345   INFO   Loaded 12 plugins
26.05.2018 12:22  [master 10319]          core.py:121   INFO   Binding to [0.0.0.0]:9052
26.05.2018 12:22  [master 10319]          gipc.py:271   DEBUG  Invoke target `<bound method WorkerGate._target of <aj.gate.gate.WorkerGate object at 0x7f717eab9cd0>>` in child process.
26.05.2018 12:22  [master 10319]          gipc.py:449   DEBUG  SIGCHLD watcher for 10327 started.
26.05.2018 12:22  [master 10319]          gipc.py:289   DEBUG  Invalidate <_GIPCWriter_6b1794 fd: 10> in parent.
26.05.2018 12:22  [master 10319]          gipc.py:583   DEBUG  Invalidating <_GIPCWriter_6b1794 fd: 10> ...
26.05.2018 12:22  [master 10319]          gipc.py:289   DEBUG  Invalidate <_GIPCReader_829cda fd: 11> in parent.
26.05.2018 12:22  [master 10319]          gipc.py:583   DEBUG  Invalidating <_GIPCReader_829cda fd: 11> ...
26.05.2018 12:22  [master 10319]          gate.py:47    DEBUG  Started child process 10327
26.05.2018 12:22  [...    10327]          gipc.py:308   DEBUG    _child start. target: `<bound method WorkerGate._target of <aj.gate.gate.WorkerGate object at 0x7f717eab9cd0>>`
26.05.2018 12:22  [...    10327]          gipc.py:320   DEBUG    Delete current hub's threadpool.
26.05.2018 12:22  [...    10327]          gipc.py:329   DEBUG    Destroy hub and default loop.
26.05.2018 12:22  [...    10327]          gipc.py:334   DEBUG    Created new hub and default event loop.
26.05.2018 12:22  [...    10327]          gipc.py:341   DEBUG    Invalidate <_GIPCReader_6e1075 fd: 7> in child.
26.05.2018 12:22  [...    10327]          gipc.py:594   DEBUG    Legitimate <_GIPCReader_6e1075 fd: 7> for current process.
26.05.2018 12:22  [...    10327]          gipc.py:583   DEBUG    Invalidating <_GIPCReader_6e1075 fd: 7> ...
26.05.2018 12:22  [...    10327]          gipc.py:341   DEBUG    Invalidate <_GIPCWriter_e0d6a6 fd: 12> in child.
26.05.2018 12:22  [...    10327]          gipc.py:594   DEBUG    Legitimate <_GIPCWriter_e0d6a6 fd: 12> for current process.
26.05.2018 12:22  [...    10327]          gipc.py:583   DEBUG    Invalidating <_GIPCWriter_e0d6a6 fd: 12> ...
26.05.2018 12:22  [...    10327]          gipc.py:594   DEBUG    Legitimate <_GIPCWriter_6b1794 fd: 10> for current process.
26.05.2018 12:22  [...    10327]          gipc.py:359   DEBUG    Handle `<_GIPCWriter_6b1794 fd: 10>` is now valid in child.
26.05.2018 12:22  [...    10327]          gipc.py:594   DEBUG    Legitimate <_GIPCReader_829cda fd: 11> for current process.
26.05.2018 12:22  [...    10327]          gipc.py:359   DEBUG    Handle `<_GIPCReader_829cda fd: 11>` is now valid in child.
26.05.2018 12:22  [rstrct 10327]          gate.py:110   INFO     New worker "restricted session" PID 10327, EUID 0, EGID 0
26.05.2018 12:22  [rstrct 10327]          gate.py:110   INFO     Worker 10327 is demoting to UID 65534 / GID 65534...
26.05.2018 12:22  [rstrct 10327]          gate.py:110   INFO     ...done, new EUID 65534 EGID 65534
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/gevent/pywsgi.py", line 963, in handle_one_response
    self.run_application()
  File "/usr/local/lib/python2.7/dist-packages/gevent/pywsgi.py", line 910, in run_application
    self.result = self.application(self.environ, self.start_response)
  File "/usr/local/lib/python2.7/dist-packages/aj/http.py", line 55, in dispatch
    content = self.handler.handle(http_context)
  File "/usr/local/lib/python2.7/dist-packages/aj/http.py", line 80, in handle
    output = middleware.handle(context)
  File "/usr/local/lib/python2.7/dist-packages/aj/gate/middleware.py", line 203, in handle
    q = gate.q_http_replies.register()
  File "/usr/local/lib/python2.7/dist-packages/aj/util/broadcast_queue.py", line 11, in register
    self._queues.append(weakref.ref(q))
TypeError: cannot create weak reference to 'gevent._queue.Queue' object
2018-05-26T12:22:45Z {'REMOTE_PORT': '5031', 'HTTP_HOST': '64.52.23.249:9052', 'REMOTE_ADDR': '54.38.141.198', (hidden keys: 26)} failed with TypeError