<br><br><div class="gmail_quote">On Thu, Feb 21, 2008 at 6:29 PM, Paul Harrison <<a href="mailto:mythtv@dsl.pipex.com">mythtv@dsl.pipex.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">Per Jørgensen wrote:<br>
> Chris Isip skrev:<br>
><br>
>> Try running mythburn.py from the command line to see what happens.<br>
>> You need to manually setup a mydata.xml file in<br>
>> <mytharchive-dir>/config. Something like:<br>
>> <!DOCTYPE mythburn><br>
>> <mythburn><br>
>> <job theme="MythCenter" ><br>
>> <media><br>
>> <file usecutlist="0" type="recording"<br>
>> encodingprofile="NONE" filename="2030_20080206170000.mpg" /><br>
>> <file usecutlist="0" type="recording"<br>
>> encodingprofile="NONE" filename="2030_20080207160000.mpg" /><br>
>> <file usecutlist="0" type="recording"<br>
>> encodingprofile="NONE" filename="1030_20080207170000.mpg" /><br>
>> </media><br>
>> <options dvdrsize="4482" mediatype="0" erasedvdrw="0"<br>
>> createiso="1" doburn="0" savefilename="STV-2.7.iso" /><br>
>> </job><br>
>> </mythburn><br>
>><br>
>> And then run the mythburn script this way:<br>
>> python /usr/share/mythtv/mytharchive/scripts/mythburn.py<br>
>><br>
>> And look for errors.<br>
>><br>
>> Chris<br>
>><br>
> Hey Chris.<br>
> THanks for the responds - After getting the things and setting - running<br>
> the script gives me this error :<br>
> mythburn.py (0.1.20071115-1.fixes) starting up...<br>
> Process priority 8<br>
> script path:/usr/share/mythtv/mytharchive/scripts<br>
> myth share path:/usr/share/mythtv<br>
> Found 1 CPUs<br>
> Obtaining MythTV settings from MySQL database for hostname stuen<br>
> temppath: /usr/share/mythtv/mytharchive/work<br>
> logpath: /usr/share/mythtv/mytharchive/logs<br>
> ------------------------------------------------------------<br>
> Traceback (most recent call last):<br>
> File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 3636,<br>
> in <module><br>
> jobDOM = xml.dom.minidom.parse(jobfile)<br>
> File "/usr/lib/python2.5/xml/dom/minidom.py", line 1913, in parse<br>
> return expatbuilder.parse(file)<br>
> File "/usr/lib/python2.5/xml/dom/expatbuilder.py", line 922, in parse<br>
> fp = open(file, 'rb')<br>
> IOError: [Errno 2] No such file or directory: 'mydata.xml'<br>
> ------------------------------------------------------------<br>
> As I can see here - even though mydata.xml are place in<br>
> /usr/share/mythtv/mytharchive/config/<br>
><br>
> Are that on any caurses of my setup so this should be done on the<br>
> backend indstead of one f the frontends???<br>
><br>
> Thanks<br>
> Per Jørgensen<br>
><br>
><br>
<br>
</div></div>You need to pass the full path to mydata.xml so the script can find it.<br>
<br>
Did you mean to use /usr/share/mythtv/mytharchive/ as the work<br>
directory? I'd start by setting up a proper directory to use as the work<br>
directory and make sure the user running mythfrontend has read/write<br>
permissions on it and also make sure there is *lots* of free space<br>
available as creating a DVD can create some big temporary work files.<br>
<br>
Paul H.<br>
<div><div></div><div class="Wj3C7c">_____________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a></div></div></blockquote><div><br>Mytharchive is supposed to run on a backend machine only. It needs recordfileprefix for the particular hostname where it is run. However you can cheat by running a mysql command: <br>
<br><br></div></div>insert into settings (value, data, hostname) VALUES ('RecordFilePrefix','/mnt/VIDEO', 'mybedroom');<br><pre>and nfs mounting the video directory to your frontend machine<br><br>
<br><br></pre>