Octapi'compute.py'无法正常工作,dispy,asyncoro,'StopIteration'异常

时间:2019-05-20 02:25:09

标签: python python-3.x

我目前正在尝试遵循本教程

https://projects.raspberrypi.org/en/projects/build-an-octapi/

我目前here,但是当我尝试运行compute.py时,出现以下错误

2019-05-20 02:52:52 asyncoro - version 4.5.6 with epoll I/O notifier
2019-05-20 02:52:52 dispy - dispy client version: 4.7.1
2019-05-20 02:52:52 asyncoro - uncaught exception in ~port_bound/1984763400:
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/asyncoro/__init__.py", line 2341, in wait
    raise StopIteration(True)
StopIteration: True

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/asyncoro/__init__.py", line 3750, in _schedule
    retval = coro._generator.throw(*exc)
  File "/usr/local/lib/python3.7/site-packages/dispy/__init__.py", line 734, in port_bound
    yield port_bound_event.wait()
  File "/usr/local/lib/python3.7/site-packages/asyncoro/__init__.py", line 3752, in _schedule
    retval = coro._generator.send(coro._value)
RuntimeError: generator raised StopIteration

2019-05-20 02:52:52 asyncoro - uncaught exception in ~tcp_server/1972775640:
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/asyncoro/__init__.py", line 2341, in wait
    raise StopIteration(True)
StopIteration: True

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/asyncoro/__init__.py", line 3750, in _schedule
    retval = coro._generator.throw(*exc)
  File "/usr/local/lib/python3.7/site-packages/dispy/__init__.py", line 853, in tcp_server
    yield port_bound_event.wait()
  File "/usr/local/lib/python3.7/site-packages/asyncoro/__init__.py", line 3752, in _schedule
    retval = coro._generator.send(coro._value)
RuntimeError: generator raised StopIteration

2019-05-20 02:52:52 dispy - Storing fault recovery information in "_dispy_20190520025252"
2019-05-20 02:52:52 asyncoro - uncaught exception in ~_schedule_jobs/1972831400:
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/asyncoro/__init__.py", line 2356, in wait
    raise StopIteration(True)
StopIteration: True

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/asyncoro/__init__.py", line 3750, in _schedule
    retval = coro._generator.throw(*exc)
  File "/usr/local/lib/python3.7/site-packages/dispy/__init__.py", line 1794, in _schedule_jobs
    yield self._sched_event.wait()
  File "/usr/local/lib/python3.7/site-packages/asyncoro/__init__.py", line 3752, in _schedule
    retval = coro._generator.send(coro._value)
RuntimeError: generator raised StopIteration

我正在Python 3上运行它。如果有人可以帮助我破译这些错误,非常感谢。

0 个答案:

没有答案