KeyError when recieving event from matterbridge? #24

Closed
opened 2018-01-27 20:22:00 +00:00 by thrrgilag · 4 comments
thrrgilag commented 2018-01-27 20:22:00 +00:00 (Migrated from gitlab.com)

created by: thrrgilag

I believe this happened after an image upload came via Slack.

File "/home/nuttybot/pnut-matrix/appservice.py", line 65, in on_receive_events
value["width"] = event['content']['info']['w']
KeyError: 'w'
<em>created by: thrrgilag</em> I believe this happened after an image upload came via Slack. ``` File "/home/nuttybot/pnut-matrix/appservice.py", line 65, in on_receive_events value["width"] = event['content']['info']['w'] KeyError: 'w' ```
thrrgilag commented 2018-01-27 20:30:31 +00:00 (Migrated from gitlab.com)

created by: thrrgilag

Compensate when the image metadata isn't included in the event. Issue #24

By Morgan McMillian on 2018-07-04T03:00:05 (imported from GitLab project)

<em>created by: thrrgilag</em> <a href="/thrrgilag/pnut-matrix/commit/97800146d8a8b7cecd8f1128ca227cb450505ff1">Compensate when the image metadata isn't included in the event. Issue #24</a> *By Morgan McMillian on 2018-07-04T03:00:05 (imported from GitLab project)*
thrrgilag commented 2018-01-27 20:48:11 +00:00 (Migrated from gitlab.com)

created by: thrrgilag

By Morgan McMillian on 2018-07-04T03:00:05 (imported from GitLab project)

<em>created by: thrrgilag</em> *By Morgan McMillian on 2018-07-04T03:00:05 (imported from GitLab project)*
thrrgilag commented 2018-07-04 03:00:06 +00:00 (Migrated from gitlab.com)

closed

By Morgan McMillian on 2018-07-04T03:00:06 (imported from GitLab project)

closed *By Morgan McMillian on 2018-07-04T03:00:06 (imported from GitLab project)*
thrrgilag commented 2018-07-04 03:00:07 +00:00 (Migrated from gitlab.com)

unlocked this issue

By Morgan McMillian on 2018-07-04T03:00:07 (imported from GitLab project)

unlocked this issue *By Morgan McMillian on 2018-07-04T03:00:07 (imported from GitLab project)*
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: spacenerdmo/pnut-matrix#24
No description provided.