Opened 13 years ago
Closed 13 years ago
Last modified 13 years ago
#11561 closed Patch - Bug Fix (fixed)
Incorrect import of PIL in mythplugins/mytharchive/mythburn/scripts/mythburn.py
| Reported by: | Owned by: | ||
|---|---|---|---|
| Priority: | minor | Milestone: | 0.27 |
| Component: | Plugin - MythArchive | Version: | Master Head |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description
mythplugins/mytharchive/mythburn/scripts/mythburn.py imports PIL modules using a deprecated syntax.
Patch attached.
Attachments (1)
Change History (7)
by , 13 years ago
| Attachment: | 0001-Fix-for-deprecated-use-of-PIL-modules.patch added |
|---|
comment:1 by , 13 years ago
Using Fedora17, MythTV Version : 0.26.0-8.fc17 (v0.26.0-149-g5f45c0b) from rpmfusion, MythTV Branch : fixes/0.26, /usr/lib64/python2.7/site-packages/PIL, I've never seen anything that suggested a problem here, but I've applied the patch and it still works.
comment:2 by , 13 years ago
| Component: | MythTV - General → Plugin - MythArchive |
|---|
follow-up: 4 comment:3 by , 13 years ago
| Status: | new → infoneeded_new |
|---|
Can you be more specific about what the error is you are trying to fix?
comment:4 by , 13 years ago
Replying to paulh:
Can you be more specific about what the error is you are trying to fix?
Apparently pillow (a better-maintained somewhat drop-in replacement for PIL) requires the newer syntax. PIL itself is moving towards only supporting the PIL namespace as well: http://mail.python.org/pipermail/image-sig/2011-January/006650.html
Gentoo is moving towards Pillow and is generally trying to get packages remediated. It is correct that on v1.1 of PIL that the current syntax is still supported.
comment:5 by , 13 years ago
| Owner: | set to |
|---|---|
| Resolution: | → fixed |
| Status: | infoneeded_new → closed |
comment:6 by , 13 years ago
| Milestone: | unknown → 0.27 |
|---|---|
| Version: | Unspecified → Master Head |

Correction for PIL imports