[mythtv-users] MythArchive 0.24: cannot create DVD with menu

Chris Kapp chris.kapp at gmail.com
Mon Dec 6 12:19:35 UTC 2010


On Mon, Dec 6, 2010 at 6:40 AM, John Pilkington <J.Pilk at tesco.net> wrote:

> 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 'Simple -
> Autoplay' 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.
>
> The error is 'IOError: Cannot open resource' - but I'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?
>
> John P
> --------------
>
>  Using simple_fix_rtl
>> mythburn.py (0.1.20101006-1) starting up...
>> script path:/usr/share/mythtv/mytharchive/scripts
>> myth share path:/usr/share/mythtv
>> passed job file: /store/myth/arctmp/config/mydata.xml
>> passed progress log file: /store/myth/arctmp/logs/progress.log
>> mythburn.py (0.1.20101006-1) starting up...
>> QSqlDatabasePrivate::removeDatabase: connection 'DBManager0' is still in
>> use, all queries will cease to work.
>> Found 2 CPUs
>> Obtaining MythTV settings from MySQL database for hostname mythgate
>> temppath: /store/myth/arctmp/work
>> logpath:  /store/myth/arctmp/logs
>> Setting process priority to -10
>> Processing Mythburn job number 1.
>> Options - mediatype = 0, doburn = 0, createiso = 1, erasedvdrw = 0
>>          savefilename = ''
>> Looking for: /usr/share/mythtv/mytharchive/themes/Black/theme.xml
>> Loading font 0, /usr/share/mythtv/FreeSans.ttf size 22
>> Loading font 1, /usr/share/mythtv/FreeSans.ttf size 16
>> wantIntro: 1, wantMainMenu: 1, wantChapterMenu:0, wantDetailsPage: 0
>> Final DVD Video format will be pal
>> There are 1 files to process
>>
>
> ########### around 430 lines omitted ########
>
>
>  Finished processing file '/mnt/sam1/recb/1071_20101203121600.mpg'
>> *************************************************************
>> Menu items per page 4
>> Background image file is
>> /usr/share/mythtv/mytharchive/themes/Black/Black-Background.png
>> Music is silence.ac3, length is 15 seconds
>> Creating DVD menus
>> Menu page 1
>> Creating Preview Video
>> ------------------------------------------------------------
>> Traceback (most recent call last):
>>  File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 5501, in
>> main
>>    processJob(job)
>>  File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 5220, in
>> processJob
>>    createMenu(format, dpi, files.length)
>>  File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 3848, in
>> createMenu
>>    spumuxdom, spunode, numberofitems, 0,"")
>>  File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 3588, in
>> drawThemeItem
>>    paintText(draw, bgimage, text, node)
>>  File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 1169, in
>> paintText
>>    lines = intelliDraw(draw, text, font, width - (hindent * 2))
>>  File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 998, in
>> intelliDraw
>>    if drawer.textsize(' '.join(thistext),font.getFont())[0] >
>> containerWidth:
>>  File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 205, in
>> getFont
>>    self.font = ImageFont.truetype(self.fontFile, int(self.size))
>>  File "/usr/lib64/python2.6/site-packages/PIL/ImageFont.py", line 218, in
>> truetype
>>    return FreeTypeFont(filename, size, index, encoding)
>>  File "/usr/lib64/python2.6/site-packages/PIL/ImageFont.py", line 134, in
>> __init__
>>    self.font = core.getfont(file, size, index, encoding)
>> IOError: cannot open resource
>> ------------------------------------------------------------
>>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>

John,
I'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.

Chris K.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20101206/09efd43e/attachment.htm>


More information about the mythtv-users mailing list