<br><br><div class="gmail_quote">On Mon, Dec 6, 2010 at 6:40 AM, John Pilkington <span dir="ltr">&lt;<a href="mailto:J.Pilk@tesco.net">J.Pilk@tesco.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi:  I now have 0.24 from ATrpms installed and runnable under both CentOS 5 and Fedora 12.  In both I can create a playable iso when I use the &#39;Simple - Autoplay&#39; theme, but my attempts to use themes with menus have failed.  Here are extracts from the start and end of mythburn.log on the F12 system - the CentOS version is very similar.<br>

<br>
The error is &#39;IOError: Cannot open resource&#39; - but I&#39;m not sure which resource this is.  Is it a font that should perhaps be installed with the other packages from ATrpms, or is it something else?<br>
<br>
John P<br>
--------------<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Using simple_fix_rtl<br>
mythburn.py (0.1.20101006-1) starting up...<br>
script path:/usr/share/mythtv/mytharchive/scripts<br>
myth share path:/usr/share/mythtv<br>
passed job file: /store/myth/arctmp/config/mydata.xml<br>
passed progress log file: /store/myth/arctmp/logs/progress.log<br>
mythburn.py (0.1.20101006-1) starting up...<br>
QSqlDatabasePrivate::removeDatabase: connection &#39;DBManager0&#39; is still in use, all queries will cease to work.<br>
Found 2 CPUs<br>
Obtaining MythTV settings from MySQL database for hostname mythgate<br>
temppath: /store/myth/arctmp/work<br>
logpath:  /store/myth/arctmp/logs<br>
Setting process priority to -10<br>
Processing Mythburn job number 1.<br>
Options - mediatype = 0, doburn = 0, createiso = 1, erasedvdrw = 0<br>
          savefilename = &#39;&#39;<br>
Looking for: /usr/share/mythtv/mytharchive/themes/Black/theme.xml<br>
Loading font 0, /usr/share/mythtv/FreeSans.ttf size 22<br>
Loading font 1, /usr/share/mythtv/FreeSans.ttf size 16<br>
wantIntro: 1, wantMainMenu: 1, wantChapterMenu:0, wantDetailsPage: 0<br>
Final DVD Video format will be pal<br>
There are 1 files to process<br>
</blockquote>
<br>
########### around 430 lines omitted ########<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Finished processing file &#39;/mnt/sam1/recb/1071_20101203121600.mpg&#39;<br>
*************************************************************<br>
Menu items per page 4<br>
Background image file is /usr/share/mythtv/mytharchive/themes/Black/Black-Background.png<br>
Music is silence.ac3, length is 15 seconds<br>
Creating DVD menus<br>
Menu page 1<br>
Creating Preview Video<br>
------------------------------------------------------------<br>
Traceback (most recent call last):<br>
  File &quot;/usr/share/mythtv/mytharchive/scripts/mythburn.py&quot;, line 5501, in main<br>
    processJob(job)<br>
  File &quot;/usr/share/mythtv/mytharchive/scripts/mythburn.py&quot;, line 5220, in processJob<br>
    createMenu(format, dpi, files.length)<br>
  File &quot;/usr/share/mythtv/mytharchive/scripts/mythburn.py&quot;, line 3848, in createMenu<br>
    spumuxdom, spunode, numberofitems, 0,&quot;&quot;)<br>
  File &quot;/usr/share/mythtv/mytharchive/scripts/mythburn.py&quot;, line 3588, in drawThemeItem<br>
    paintText(draw, bgimage, text, node)<br>
  File &quot;/usr/share/mythtv/mytharchive/scripts/mythburn.py&quot;, line 1169, in paintText<br>
    lines = intelliDraw(draw, text, font, width - (hindent * 2))<br>
  File &quot;/usr/share/mythtv/mytharchive/scripts/mythburn.py&quot;, line 998, in intelliDraw<br>
    if drawer.textsize(&#39; &#39;.join(thistext),font.getFont())[0] &gt; containerWidth:<br>
  File &quot;/usr/share/mythtv/mytharchive/scripts/mythburn.py&quot;, line 205, in getFont<br>
    self.font = ImageFont.truetype(self.fontFile, int(self.size))<br>
  File &quot;/usr/lib64/python2.6/site-packages/PIL/ImageFont.py&quot;, line 218, in truetype<br>
    return FreeTypeFont(filename, size, index, encoding)<br>
  File &quot;/usr/lib64/python2.6/site-packages/PIL/ImageFont.py&quot;, line 134, in __init__<br>
    self.font = core.getfont(file, size, index, encoding)<br>
IOError: cannot open resource<br>
------------------------------------------------------------<br>
</blockquote>
<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">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><br>
</blockquote></div><br><div>John,</div><div>I&#39;ve been able to get some of the other themes to work by creating a  symlink FreeSans.ttf from /usr/share/mythtv/fonts/FreeSans.ttf to /usr/share/mythtv.  After doing this, the theme black still had some other problems.</div>
<div><br></div><div>Chris K.</div>