matrix-org/synapse

AttributeError: 'str' object has no attribute 'items'

Open

#10,376 opened on Jul 12, 2021

View on GitHub
 (8 comments) (0 reactions) (0 assignees)Python (11,713 stars) (2,196 forks)batch import
S-MinorT-Defectgood first issue

Description

2021-07-12T11:46:22.104 2587790268211 matrix-synapse.service homeserver[2934508] INFO Failed to handle edu 'm.receipt'
2021-07-12T11:46:22.104 2587790268211 matrix-synapse.service homeserver[2934508] INFO Traceback (most recent call last):                              
2021-07-12T11:46:22.104 2587790268211 matrix-synapse.service homeserver[2934508] INFO   File "/nix/store/08q3wjbab0kqaa3qr0nhamdhzkjcy6pb-matrix-synapse-1.37.1/lib/python3.8/site-packages/synapse/federation/federation_server.py", line 1118, in on_edu                                                                                                                                  
2021-07-12T11:46:22.104 2587790268211 matrix-synapse.service homeserver[2934508] INFO     await handler(origin, content)                                                                 
2021-07-12T11:46:22.104 2587790268211 matrix-synapse.service homeserver[2934508] INFO   File "/nix/store/08q3wjbab0kqaa3qr0nhamdhzkjcy6pb-matrix-synapse-1.37.1/lib/python3.8/site-packages/synapse/handlers/receipts.py", line 62, in _received_remote_receipt                                                                                                                             
2021-07-12T11:46:22.104 2587790268211 matrix-synapse.service homeserver[2934508] INFO     for receipt_type, users in room_values.items():                                                     
2021-07-12T11:46:22.104 2587790268211 matrix-synapse.service homeserver[2934508] INFO AttributeError: 'str' object has no attribute 'items'                                              

Synapse 1.37.1, nixos 21.05, linux x86_64

Contributor guide