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

John Pilkington J.Pilk at tesco.net
Mon Dec 6 11:40:48 UTC 2010


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
> ------------------------------------------------------------



More information about the mythtv-users mailing list