[mythtv-users] Mytharchive - mytharchivehelp error

lists_mythtv_users lists_mythtv_users at bigpizza.co.uk
Fri Jul 4 10:45:17 UTC 2008


lists_mythtv_users wrote:
> lists_mythtv_users wrote:
>   
>> Hello all,
>>
>> Upon trying to create an ISO image of two DVB-T recordings I get the error:
>>
>> I'm selecting the following options:
>>
>> Select Destination
>> 1) Single Layer DVD
>> 2) Make ISO Image
>>
>> Select Archive Items
>> (I select two DVB-T recordings)
>>
>> DVD Menu Theme
>> 3) Compact
>>
>>
>> Items Selected for Archive
>> (The two previously selected recordings appear in the Items Selected for
>> Archive section)
>> I've chosen the Don't re-encode option
>>
>> I then press the finish button and the log view screen appears.  After
>> the mythtranscode --mpeg2 command has completed the following error
>> message appears:
>>
>> ERROR: Failed while running mytharchivehelp to get stream information
>> from "/mythtv/mythtv/mytharchive/temp/work/1/newfile.mpg"
>>
>>   
>>     
> I've since found more info in the mythburn.log file:
>
> Traceback (most recent call last):
>   File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 52, in ?
>     import Image, ImageDraw, ImageFont
> ImportError: No module named Image
>
> I've checked and the python-imaging package is installed and the
> Image.py file exists in:
>
> /usr/lib64/python2.5/site-packages/PIL/Image.py
>
> Line 52 of /usr/share/mythtv/mytharchive/scripts/mythburn.py on the
> frontend is a comment line but line 72 is:
>
> import Image, ImageDraw, ImageFont, ImageColor
>
> I assume it's failing at this line.  Why would it fail to import
> Image.py even though it's installed?
>   
The above was a red herring from a previous configuration of mytharchive
that used a dir called tmp instead of the current dir called *temp*!

The relevant part of the mythburn.og file seems to be this:

*************************************************************
Processing recording 1: '/mythtv/mythtv/recordings/1001_20080621184000.mpg'
*************************************************************
File type is 'mpegts'
Video codec is 'mpeg2video'
Running mythtranscode --mpeg2 to fix any errors
2008-07-04 11:40:12.774 Using runtime prefix = /usr
2008-07-04 11:40:12.775 Empty LocalHostName.
2008-07-04 11:40:12.796 New DB connection, total: 1
2008-07-04 11:40:12.799 Closing DB connection named 'DBManager0'
2008-07-04 11:40:12.799 Enabled verbose msgs: important
2008-07-04 11:40:12.802 New DB connection, total: 2
Mux rate: 15.57 Mbit/s
2008-07-04 11:40:47.613 Opening
/mythtv/mythtv/mytharchive/temp/work/1/newfile.mpg
Input #0, mpeg, from '/mythtv/mythtv/mytharchive/temp/work/1/newfile.mpg':
  Duration: 00:52:25.5, start: 0.360000, bitrate: 4890 kb/s
    Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x576 [PAR 64:45
DAR 16:9], 15000 kb/s, 25.00 tb(r)
    Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, 256 kb/s
    Stream #0.2[0x1c1]: Audio: mp2, 48000 Hz, mono, 64 kb/s
2008-07-04 11:40:47.635 Calculating frame count
2008-07-04 11:40:50.607 frames = 78642
2008-07-04 11:40:50.607 duration = 3145
2008-07-04 11:40:50.607 Extracting details from: newfile.mpg
2008-07-04 11:40:50.610 Cannot find details for newfile.mpg
2008-07-04 11:40:50.610 File is not a Myth recording.
2008-07-04 11:40:50.610 cutframes = 0
2008-07-04 11:40:50.610 cutduration = 0
2008-07-04 11:40:50.610 Failed to open file for writing -
/mythtv/mythtv/mytharchive/temp/work/1/streaminfo.xml
************************************************************
ERROR: Failed while running mytharchivehelper to get stream information
from "/mythtv/mythtv/mytharchive/temp/work/1/newfile.mpg"
************************************************************




More information about the mythtv-users mailing list