[mythtv-users] MythArchive - Under stairs solution

Paul Harrison mythtv at dsl.pipex.com
Thu Feb 21 23:29:18 UTC 2008


Per Jørgensen wrote:
> Chris Isip skrev:
>   
>> Try running mythburn.py from the command line to see what happens.  
>> You need to manually setup a mydata.xml file in 
>> <mytharchive-dir>/config.  Something like:
>> <!DOCTYPE mythburn>
>> <mythburn>
>>     <job theme="MythCenter" >
>>         <media>
>>             <file usecutlist="0" type="recording" 
>> encodingprofile="NONE" filename="2030_20080206170000.mpg" />
>>             <file usecutlist="0" type="recording" 
>> encodingprofile="NONE" filename="2030_20080207160000.mpg" />
>>             <file usecutlist="0" type="recording" 
>> encodingprofile="NONE" filename="1030_20080207170000.mpg" />
>>         </media>
>>         <options dvdrsize="4482" mediatype="0" erasedvdrw="0" 
>> createiso="1" doburn="0" savefilename="STV-2.7.iso" />
>>     </job>
>> </mythburn>
>>
>> And then run the mythburn script this way:
>> python /usr/share/mythtv/mytharchive/scripts/mythburn.py
>>
>> And look for errors.
>>
>> Chris
>>     
> Hey Chris.
> THanks for the responds - After getting the things and setting - running 
> the script gives me this error :
> mythburn.py (0.1.20071115-1.fixes) starting up...
> Process priority 8
> script path:/usr/share/mythtv/mytharchive/scripts
> myth share path:/usr/share/mythtv
> Found 1 CPUs
> Obtaining MythTV settings from MySQL database for hostname stuen
> temppath: /usr/share/mythtv/mytharchive/work
> logpath:  /usr/share/mythtv/mytharchive/logs
> ------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 3636, 
> in <module>
>     jobDOM = xml.dom.minidom.parse(jobfile)
>   File "/usr/lib/python2.5/xml/dom/minidom.py", line 1913, in parse
>     return expatbuilder.parse(file)
>   File "/usr/lib/python2.5/xml/dom/expatbuilder.py", line 922, in parse
>     fp = open(file, 'rb')
> IOError: [Errno 2] No such file or directory: 'mydata.xml'
> ------------------------------------------------------------
> As I can see here - even though mydata.xml are place in 
> /usr/share/mythtv/mytharchive/config/
>
> Are that on any caurses of my setup so this should be done on the 
> backend indstead of one f the frontends???
>
> Thanks
> Per Jørgensen
>
>   

You need to pass the full path to mydata.xml so the script can find it.

Did you mean to use /usr/share/mythtv/mytharchive/ as the work
directory? I'd start by setting up a proper directory to use as the work
directory and make sure the user running mythfrontend has read/write
permissions on it and also make sure there is *lots* of free space
available as creating a DVD can create some big temporary work files.

Paul H.  


More information about the mythtv-users mailing list