Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Traceback on decorator subscribe.check_types

オープン
#1,464 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@om26er がすでに取り組んでいます。

2021年2月22日 から。

評価

この issue はまだ評価されていません。

説明

bug needs-investigation PRIO HIGH

the type checking for subscribe handlers when running into a type check error

network       | 2021-02-22T02:06:22+0000 [Router        112] Now processing blockchain block 31 ..
network       | 2021-02-22T02:06:22+0000 [Router        112] _process_Network_MemberRegistered processing block 31 / txn 0x95f8248ede89f7981541d129aef48e3d8d44ac301a4d0c681e56a7823eff2da9 with args AttributeDict({'member': '0x2F070c2f49a59159A0346396f1139203355ACA43', 'registered': 30, 'eula': 'QmUEM5UuSUMeET2Zo8YQtDMK74Fr2SJGEyTokSYzT3uD94', 'profile': 'QmZyJwNjeDe6H7nTgbFEFFYkgefMfdJUJbF47CEiUT33Bd', 'level': 1})
network       | 2021-02-22T02:06:22+0000 [Router        112] <XBRNetwork.MemberCreated>: processing event (tx_hash=0x95f8248ede89f7981541d129aef48e3d8d44ac301a4d0c681e56a7823eff2da9, block_hash=0x33451f69bacbb37e59b257ec0828a3493059ddc19874c28265901ce7784601f2) - XBR member created at address 0x2F070c2f49a59159A0346396f1139203355ACA43)
network       | 2021-02-22T02:06:22+0000 [Router        112] new <MemberCreated>(member_adr=0x2f070c2f49a59159a0346396f1139203355aca43) record stored database!
network       | 2021-02-22T02:06:22+0000 [Router        112] Processed blockchain block 31: processed 1 XBR events.
network       | 2021-02-22T02:06:22+0000 [Router        112] Monitor blockchain iteration 2 completed: new block processed (last_processed=31, thread_id=140419837175552, period=300, cnt_xbr_events=1, cnt_blocks_success=1, cnt_blocks_error=0)
network       | 2021-02-22T02:06:22+0000 [Container     219] Fatal error in component: While firing <function ApplicationSession.type_check.<locals>._type_check at 0x7f59dccd54c0> subscribed under 5863759592726804. - __name__
network       | Traceback (most recent call last):
network       |   File "/extra/site-packages/autobahn/wamp/protocol.py", line 751, in onMessage
network       |     future = txaio.as_future(handler.fn, *invoke_args, **invoke_kwargs)
network       |   File "/usr/local/lib/python3.9/site-packages/txaio/tx.py", line 365, in as_future
network       |     return ensureDeferred(fun(*args, **kwargs))
network       |   File "/extra/site-packages/twisted/internet/defer.py", line 911, in ensureDeferred
network       |     return _cancellableInlineCallbacks(coro)
network       |   File "/extra/site-packages/twisted/internet/defer.py", line 1529, in _cancellableInlineCallbacks
network       |     _inlineCallbacks(None, g, status)
network       | --- <exception caught here> ---
network       |   File "/extra/site-packages/twisted/internet/defer.py", line 1418, in _inlineCallbacks
network       |     result = g.send(result)
network       |   File "/extra/site-packages/autobahn/wamp/protocol.py", line 515, in _type_check
network       |     "'{}' expected type={} got={}".format(name, kind.__name__, type(arguments[name]).__name__))
network       |   File "/usr/local/lib/python3.9/typing.py", line 688, in __getattr__
network       |     raise AttributeError(attr)
network       | builtins.AttributeError: __name__
network       | 
主要言語
Python
スター
2.5k
フォーク
767
平均マージ
12時間 40分
マージ済み PR(30日)
20

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

crossbario/autobahn-python のほかの issue

crossbario/autobahn-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。