Opened 10 years ago
Closed 10 years ago
#5321 closed defect (fixed)
Use of deprecated frombytes when processing videos causes the task to fail
| Reported by: | anongoblin | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | programming | Keywords: | |
| Cc: | Parent Tickets: |
Description
When transcoding a video using a recent version of PIL transcoding a video fails reproducible. The reason for this is an AttributeError: 'module' object has no attribute 'frombytes'gets raised, while a thumbnails is being created. This is because frombytes alias was deprecated in favor of fromstring.
The attached patch fixes this.
Attachments (1)
Change History (2)
by , 10 years ago
| Attachment: | mediagoblin-video.patch added |
|---|
comment:1 by , 10 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |

Thanks for the report and the patch. This has already been fixed in 5b8e0b2a63194d53da2ce434e867fc5eab1b60b4.