Opened 11 years ago
Closed 11 years ago
Last modified 11 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)
Changed 11 years ago by
Attachment: | 0001-Fix-for-deprecated-use-of-PIL-modules.patch added |
---|
comment:1 Changed 11 years ago by
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 Changed 11 years ago by
Component: | MythTV - General → Plugin - MythArchive |
---|
comment:3 follow-up: 4 Changed 11 years ago by
Status: | new → infoneeded_new |
---|
Can you be more specific about what the error is you are trying to fix?
comment:4 Changed 11 years ago by
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 Changed 11 years ago by
Owner: | set to Richard Freeman <rich0@…> |
---|---|
Resolution: | → fixed |
Status: | infoneeded_new → closed |
comment:6 Changed 11 years ago by
Milestone: | unknown → 0.27 |
---|---|
Version: | Unspecified → Master Head |
Correction for PIL imports