[GH-ISSUE #168] Exception when decoding JSON in asciinema play https://...... #743

Closed
opened 2026-03-15 10:09:07 +03:00 by kerem · 0 comments
Owner

Originally created by @ku1ik on GitHub (Jul 12, 2016).
Original GitHub issue: https://github.com/asciinema/asciinema/issues/168

When playing from http and the URL doesn't point to either asciicast json file or html page with proper link tag there's exception thrown in Python 3.4.5:

AttributeError: 'module' object has no attribute 'JSONDecodeError'

It seems a fix like this one should do the trick.

Originally created by @ku1ik on GitHub (Jul 12, 2016). Original GitHub issue: https://github.com/asciinema/asciinema/issues/168 When playing from http and the URL doesn't point to either asciicast json file or html page with proper link tag there's exception thrown in Python 3.4.5: ``` AttributeError: 'module' object has no attribute 'JSONDecodeError' ``` It seems a fix like [this one](https://github.com/getsentry/raven-python/pull/208) should do the trick.
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
starred/asciinema#743
No description provided.