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

阿梓 发布于 2020-03-12 11:05
阅读 65
收藏 0
分类:Java开发

两个进程共享一个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

最佳答案 2020-03-24 17:11

534
阿梓
阿梓

raise EOFError EOFError,系统找不到指定的文件,错误都比较明显啊。

请先 登录 后评论