运行bemoss时出错,我得到AttributeError:'gevent_事件.异步结果'对象没有属性'ident'

2024-06-26 13:50:10 发布

您现在位置:Python中文网/ 问答频道 /正文

File "src/gevent/greenlet.py", line 705, in gevent._greenlet.Greenlet.run
File "/home/interview/BEMOSS3.5/volttron/platform/auth.py", line 147, in zap_loop
time = gevent.core.time
AttributeError: 'module' object has no attribute 'core'
2018-05-16T09:52:00Z <Greenlet "Greenlet-0" at 0x7f37102cd998: <bound 
method AuthService.zap_loop of <volttron.platform.auth.AuthService 
object at 0x7f3718630050>>(<volttron.platform.vip.agent.core.Core object at 0)> failed with AttributeError




 2018-05-16 15:22:06,815 wheel INFO: creating 
'/tmp/tmpPCrbeW/pkg/dist/bacnet_proxyagent-0.1-py2-none-any.whl' and adding '.' to it
2018-05-16 15:22:06,816 wheel INFO: adding 'bacnet_proxy/rough.py'
2018-05-16 15:22:06,816 wheel INFO: adding 'bacnet_proxy/__init__.py'
2018-05-16 15:22:06,817 wheel INFO: adding 'bacnet_proxy/agent.py'
2018-05-16 15:22:06,817 wheel INFO: adding 'bacnet_proxyagent-0.1.dist-info/DESCRIPTION.rst'
2018-05-16 15:22:06,817 wheel INFO: adding 'bacnet_proxyagent-0.1.dist-info/entry_points.txt'
2018-05-16 15:22:06,817 wheel INFO: adding 'bacnet_proxyagent-0.1.dist-info/metadata.json'
2018-05-16 15:22:06,817 wheel INFO: adding 'bacnet_proxyagent-0.1.dist-info/top_level.txt'
2018-05-16 15:22:06,817 wheel INFO: adding 'bacnet_proxyagent-0.1.dist-info/WHEEL'
2018-05-16 15:22:06,818 wheel INFO: adding 'bacnet_proxyagent-0.1.dist-info/METADATA'
2018-05-16 15:22:06,818 wheel INFO: adding 'bacnet_proxyagent-0.1.dist-info/RECORD'
clear: error: 'gevent._event.AsyncResult' object has no attribute 'ident'
Unpacking to: /home/interview/.volttron/agents/cd699ad7-934b-4e78-8ff8-68ab3d54a592/bacnet_proxyagent-0.1
Installed /home/interview/.volttron/packaged/bacnet_proxyagent-0.1-py2-none-any.whl as cd699ad7-934b-4e78-8ff8-68ab3d54a592 bacnet_proxyagent-0.1
VOLTTRON_HOME=/home/interview/.volttron
clear: error: 'gevent._event.AsyncResult' object has no attribute 'ident'
Unpacking to: /home/interview/.volttron/agents/b50a12ee-2602-4622-b943-f78380d450ae/VIPagent-3.0
 Installed /home/interview/.volttron/packaged/VIPagent-3.0-py2-none-any.whl as b50a12ee-2602-4622-b943-f78380d450ae VIPagent-3.0
 VOLTTRON_HOME=/home/interview/.volttron
 clear: error: 'gevent._event.AsyncResult' object has no attribute 'ident'  
 Unpacking to: /home/interview/.volttron/agents/69e82743-344f-4e82-a447-8fc5d26bcbb1/TSDagent-3.0
 Installed /home/interview/.volttron/packaged/TSDagent-3.0-py2-none-any.whl as 69e82743-344f-4e82-a447-8fc5d26bcbb1 TSDagent-3.0
 start: error: 'gevent._event.AsyncResult' object has no attribute 'ident'
 start: error: 'gevent._event.AsyncResult' object has no attribute 'ident'
 start: error: 'gevent._event.AsyncResult' object has no attribute 'ident'
 start: error: 'gevent._event.AsyncResult' object has no attribute 'ident'
 start: error: 'gevent._event.AsyncResult' object has no attribute 'ident'
 start: error: 'gevent._event.AsyncResult' object has no attribute 'ident' 
 start: error: 'gevent._event.AsyncResult' object has no attribute 'ident'



 File "/home/interview/BEMOSS3.5/volttron/platform/vip/agent/results.py", line 85, in next
  result.ident == '%s.%s' % (next(self._counter), hash(result))
  AttributeError: 'gevent._event.AsyncResult' object has no attribute 'ident'
2018-05-16 16:00:00,128 () volttron.platform.vip.agent.core ERROR: unhandled exception in periodic callback

回溯(最近一次通话):File“/home/interview/BEMOSS3.5/voltron/platform/vip/agent/subsystem/心跳.py“,第160行,出版中 self.pubsub().publish('pubsub',主题,标题,消息) File“/home/interview/BEMOSS3.5/voltron/platform/vip/agent/subsystem/pubsub.py“,第396行,出版中 消息=消息,总线=总线)

^{pr2}$

当我重新安装BEMOSS3.5时,我发现这些错误,服务器无法启动。 我已经删除了所有的文件和配置,然后重新安装,但我得到这些错误,无法解决这些错误。 有人能在这个问题上帮助我吗。在


Tags: noinfoeventhomeobjectgeventattributewheel