实在无解了,怎么办啊???

henryspace 发布于 01/20 09:25
阅读 601
收藏 0

两个进程共享一个manager().list,一个写入,一个不停循环读取,写入没有问题,读出现如下错误:

Traceback (most recent call last):   File "C:\Anaconda3\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job     retval = job.func(*job.args, **job.kwargs)   File "\\Mac\iCloud\Pyto\Tsing\bts_factory.py", line 588, in Scaning     y = len(od_inStore[j]) - 1   File "<string>", line 2, in __getitem__   File "C:\Anaconda3\lib\multiprocessing\managers.py", line 819, in _callmethod     kind, result = conn.recv()   File "C:\Anaconda3\lib\multiprocessing\connection.py", line 251, in recv     return _ForkingPickler.loads(buf.getbuffer())   File "C:\Anaconda3\lib\multiprocessing\managers.py", line 943, in RebuildProxy     return func(token, serializer, incref=incref, **kwds)   File "C:\Anaconda3\lib\multiprocessing\managers.py", line 793, in __init__     self._incref()   File "C:\Anaconda3\lib\multiprocessing\managers.py", line 847, in _incref     conn = self._Client(self._token.address, authkey=self._authkey)   File "C:\Anaconda3\lib\multiprocessing\connection.py", line 498, in Client     answer_challenge(c, authkey)   File "C:\Anaconda3\lib\multiprocessing\connection.py", line 741, in answer_challenge     message = connection.recv_bytes(256)         # reject large message   File "C:\Anaconda3\lib\multiprocessing\connection.py", line 216, in recv_bytes     buf = self._recv_bytes(maxlength)   File "C:\Anaconda3\lib\multiprocessing\connection.py", line 321, in _recv_bytes     raise EOFError EOFError

加载中
0
h
henryspace

补充:

901彩票_[官网首页]Traceback (most recent call last):   File "C:\Anaconda3\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job     retval = job.func(*job.args, **job.kwargs)   File "\\Mac\iCloud\Pyto\Tsing\bts_factory.py", line 589, in Scaning     y = len(od_inStore[j]) - 1   File "<string>", line 2, in __getitem__   File "C:\Anaconda3\lib\multiprocessing\managers.py", line 819, in _callmethod     kind, result = conn.recv()   File "C:\Anaconda3\lib\multiprocessing\connection.py", line 251, in recv     return _ForkingPickler.loads(buf.getbuffer())   File "C:\Anaconda3\lib\multiprocessing\managers.py", line 943, in RebuildProxy     return func(token, serializer, incref=incref, **kwds)   File "C:\Anaconda3\lib\multiprocessing\managers.py", line 793, in __init__     self._incref()   File "C:\Anaconda3\lib\multiprocessing\managers.py", line 847, in _incref     conn = self._Client(self._token.address, authkey=self._authkey)   File "C:\Anaconda3\lib\multiprocessing\connection.py", line 490, in Client     c = PipeClient(address)   File "C:\Anaconda3\lib\multiprocessing\connection.py", line 691, in PipeClient     _winapi.WaitNamedPipe(address, 1000) FileNotFoundError: [WinError 2] 系统找不到指定的文件。

0
博宛枫

这都不换行 怎么看。。

0
k
kingMH

raise EOFError EOFError

系统找不到指定的文件

错误都比较明显a

 

 

0
明月依稀
明月依稀
……这种设计必须得砍掉。。。
0
h
henryspace
解决了,不能嵌套manager.list()
返回顶部
顶部

页面底部区域 foot.htm