Open rtalaricw opened 2 years ago
I don't understand your question clearly, but the problem may be because issue_request.py
needs to receive a request like requests/sample_request.json
.
If this is not your problem, please provide more information and details. Please provide your end-to-end workflow step by step to help us understand your questions, thank you.
i meet the same promblem, by running python3 tools/issue_request.py tools/requests/sample_request_stream.json
Process Process-1: Traceback (most recent call last): File "/data/kongxiangxing/env/miniconda3/envs/python37/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap self.run() File "/data/kongxiangxing/env/miniconda3/envs/python37/lib/python3.7/multiprocessing/process.py", line 99, in run self._target(*self._args, **self._kwargs) File "tools/issue_request.py", line 110, in stream_consumer result = queue.get() File "/data/kongxiangxing/env/miniconda3/envs/python37/lib/python3.7/multiprocessing/queues.py", line 113, in get return _ForkingPickler.loads(res) TypeError: init() missing 1 required positional argument: 'msg'
can anyone give any suggestions?
Description
Reproduced Steps
The streaming example in issue_requests.py throws the following error when passing in a request:
A simple call to a sample request is passed which works with HTTP with output for "She is a good girl":