[mythtv-users] Knoppmyth Mytharchive Python issues

Mike Daugird MDaugird at erdman.com
Wed May 6 18:57:26 UTC 2009


Date: Wed, 06 May 2009 18:10:42 +0100
From: Paul Harrison <mythtv at sky.com>
Subject: Re: [mythtv-users] Knoppmyth Mytharchive Python issues

Mike Daugird wrote:
> Hello, I read the following page:
>
http://mythtv.org/wiki/Mytharchive#MythArchive_doesn.27t_work._It_gets_t
> o_the_log_viewer_and_just_sits_there._What.27s_wrong.3F
>
> 	From my mythburn.log file
> 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
>
> 	Now I can find these files on my sytem
> root at mythtvhostname:~# locate ImageDraw.py
> /usr/lib/python2.4/site-packages/PIL/ImageDraw.py
> /usr/lib/python2.4/site-packages/PIL/ImageDraw.pyc
> /usr/share/pyshared/PIL/ImageDraw.py
>
> root at mythtvhostname:~# locate Image.py
> /usr/lib/python2.4/email/MIMEImage.py
> /usr/lib/python2.4/email/MIMEImage.pyc
> /usr/lib/python2.4/site-packages/PIL/Image.py
> /usr/lib/python2.4/site-packages/PIL/Image.pyc
> /usr/lib/python2.5/site-packages/vipsCC/VImage.py
> /usr/share/pyshared/PIL/Image.py
>
>   
<snip>
> 	I have both 2.4 and 2.5 version of python on this system. Can
> someone help me configure python to let mytharchive find the python
> modules it needs?
> thansk
>   

Could it be you are using python 2.5 but only have the PIL modules for
version 2.4 installed?

Paul H.


------------------------------
Very much so,
I did not mean to install both of those version of Python.
I did an apt-get upgrade after the knoppmyth install. After everything
seemed
to be working. It wasn't until I had enough recordings that I tried to
use mytharchive
Why I have two versions is not clear to me.
I did go into mythburn.py and I changed the first line to request
python2.4 specifically.
I found on a different site that adding the version number would call
that specific version
at runtime. That did not change anything.
thanks


More information about the mythtv-users mailing list