Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 284848

Summary: mytharchive not compatible with python 2.6
Product: Gentoo Linux Reporter: Tom Collins <ltskinol>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tom Collins 2009-09-14 02:29:10 UTC
I'm running media-plugins/mytharchive
      Latest version available: 0.21_p17948
      Latest version installed: 0.21_p17948
      Size of files: 20,422 kB

When it runs, nothing happens and mythburn log says:

Traceback (most recent call last):
  File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 72, in <module>
    import Image, ImageDraw, ImageFont, ImageColor
ImportError: No module named Image

Sure enough, looking at the Python script, it's doing the import referenced in the Traceback.  For reasons that I didn't investigate, Python 2.6 doesn't have those modules.  2.5 does.

myth1 log # python 
Python 2.6.2 (r262:71600, Sep 11 2009, 22:47:39) 
[GCC 4.1.2 (Gentoo 4.1.2 p1.0.1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Image, ImageDraw, ImageFont, ImageColor
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named Image

myth1 log # python2.5
Python 2.5.4 (r254:67916, Sep 11 2009, 23:18:17) 
[GCC 4.1.2 (Gentoo 4.1.2 p1.0.1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Image, ImageDraw, ImageFont, ImageColor
>>> 

Thanks.
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-09-14 05:45:08 UTC
You failed to run python-updater after switching Python version.
Comment 2 Tom Collins 2009-09-17 00:35:20 UTC
(In reply to comment #1)
> You failed to run python-updater after switching Python version.
> 

Thank you.