簡體   English   中英

運行bemoss時出錯,我得到AttributeError:'gevent._event.AsyncResult'對象沒有屬性'ident'

[英]Error while running the bemoss, I am getting AttributeError: 'gevent._event.AsyncResult' object has no attribute 'ident'

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

追溯(最近一次通話最后一次):文件“ /home/interview/BEMOSS3.5/volttron/platform/vip/agent/subsystems/heartbeat.py”,行160,在發布self.pubsub()。publish('pubsub' ,主題,標題,消息)文件“ /home/interview/BEMOSS3.5/volttron/platform/vip/agent/subsystems/pubsub.py”,第396行,在發布message = message,bus = bus中)

  File "/home/interview/BEMOSS3.5/volttron/platform/vip/agent/subsystems/rpc.py", line 303, in call
request, result = self._dispatcher.call(method, args, kwargs)
  File "/home/interview/BEMOSS3.5/volttron/platform/vip/agent/subsystems/rpc.py", line 115, in call
   result = next(self._results)
  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:03:00,133 () volttron.platform.vip.agent.core ERROR: unhandled exception in periodic callback
  Traceback (most recent call last):
   File "/home/interview/BEMOSS3.5/volttron/platform/vip/agent/core.py", line 124, in _loop
method(*self.args, **self.kwargs)
     File "/home/interview/BEMOSS3.5/volttron/platform/vip/agent/subsystems/heartbeat.py", line 160, in publish
self.pubsub().publish('pubsub', topic, headers, message)
    File "/home/interview/BEMOSS3.5/volttron/platform/vip/agent/subsystems/pubsub.py", line 396, in publish
message=message, bus=bus)

  File "/home/interview/BEMOSS3.5/volttron/platform/vip/agent/subsystems/rpc.py", line 303, in call
request, result = self._dispatcher.call(method, args, kwargs)
 File "/home/interview/BEMOSS3.5/volttron/platform/vip/agent/subsystems/rpc.py", line 115, in call
   result = next(self._results)
 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'

當我重新安裝BEMOSS3.5時,出現這些錯誤,並且服務器無法啟動。 我已經刪除了所有文件和配置,然后重新安裝,但出現這些錯誤,無法解決這些錯誤。 有人可以幫我解決這個問題。

刪除gevent並嘗試安裝gevent == 1.2.2,這可能解決了該問題。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM