Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Traceback on decorator subscribe.check_types

Đang mở
#1,464 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@om26er đang làm issue này rồi.

Từ ngày 22/2/2021.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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       | 
Ngôn ngữ chính
Python
Star
2.5k
Fork
767
Merge trung bình
12 giờ 40 phút
Pull request đã merge (30 ngày)
20

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của crossbario/autobahn-python

Tất cả issue của crossbario/autobahn-python

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.