<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">On Fri, May 10, 2013 at 7:42 PM, Nick Rout <span dir="ltr">&lt;<a href="mailto:nick.rout@gmail.com" target="_blank">nick.rout@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">On a precise system, I have<br><br>1. installed mkvtoolnix 6.2 from  <a href="http://bunkus.org" target="_blank">bunkus.org</a> repo<br>
2. installed losslesscut 0.2.2 from Doug&#39;s ppa<br><br>mediainfo and everything else are from ubuntu and mythbuntu repos. When I run a test line:<br>
<br>nick@media:~$ sudo -umythtv lossless_cut -f /mnt/recordings1/recordings/2003_20130508175900.mpg --test<br>[sudo] password for nick: <br>Traceback (most recent call last):<br>  File &quot;/usr/share/lossless_cut/lossless_cut.py&quot;, line 1817, in &lt;module&gt;<br>

    sys.stderr.write(errmsg)<br>  File &quot;/usr/share/lossless_cut/lossless_cut.py&quot;, line 339, in write<br>    self.out.write(obj)<br>TypeError: expected a character buffer object<br><br><br>Could this be a python-lxml problem. Doug&#39;s wiki page says:<br>

&quot;lxml v2.7.2 or higher (identical to the MythTV python requirements)&quot;<br>precise installs python-lxml 2.3.2, which seems to match libmyth-python&#39;s requirements, according ubuntu packaging anyway.<br><br>Where to now?<br>

<br>
<br>_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<br></blockquote></div><br></div><div class="gmail_extra"><br></div><div class="gmail_extra" style>What where the results from other test line? </div><div class="gmail_extra" style><br></div><div class="gmail_extra" style>
<br></div><div class="gmail_extra" style>&quot;Otherwise run the following command in a terminal session. </div><div class="gmail_extra">./lossless_cut.py -f &quot;/path to a/recorded.mpg&quot; --test</div><div class="gmail_extra">
<br></div><div class="gmail_extra">This command will verify that your MythTV backend has all the required prerequisites. Running this test will also automatically create the Lossless Cut configuration file &quot;~/.mythtv/lossless_cut.cfg&quot; or added new sections to a pre-existing cfg file.&quot;</div>
<div class="gmail_extra"><br></div><div class="gmail_extra" style>I did not have any problems installing on a stock xbuntu 12.04 / MythTv .26 system. </div><div class="gmail_extra"><br></div></div>