linux-traipu team mailing list archive
-
linux-traipu team
-
Mailing list archive
-
Message #12470
[Bug 1131280] Re: Missing symlink in fonts causes mytharchive to crash
Marking as Fix Released since we provide newer builds in our PPA and
this has been marked fix committed for awhile now.
** Changed in: mythbuntu
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of UBUNTU -
AL - BR, which is subscribed to Mythbuntu.
https://bugs.launchpad.net/bugs/1131280
Title:
Missing symlink in fonts causes mytharchive to crash
Status in Mythbuntu, Ubuntu derivative focused upon MythTV:
Fix Released
Bug description:
Version : 0.26.0+fixes.20130221.c3fff6e-0ubuntu0mythbuntu1
Reproduction :
1. Choose MythArchive from myth-frontend
2. Record something to DVD
3. Crashes after encoding.
Bug:
Missing font called by mythburn.pl due to missing symlink in /usr/share/mythtv/fonts
- I added more debug info to mythburn.py:getFont() and found out it's
looking for /usr/share/mythtv/fonts/FreeSansBold.ttf and not finding
it.
Fix:
Add symlink :
cd /usr/share/mythtv/fonts
ln -s ../../fonts/truetype/freefont/* .
- Related Required bug : http://www.mythtv.org/pipermail/mythtv-
users/2012-October/341897.html
Symptom: This is the tail of mythburn.log:
Traceback (most recent call last):
File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 5183, in main
processJob(job)
File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 4892, in processJob
createMenu(format, dpi, files.length)
File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 3543, in createMenu
spumuxdom, spunode, numberofitems, 0,"")
File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 3283, in drawThemeItem
paintText(draw, bgimage, text, node)
File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 1151, in paintText
lines = intelliDraw(draw, text, font, width - (hindent * 2))
File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 980, in intelliDraw
if drawer.textsize(' '.join(thistext),font.getFont())[0] > containerWidth:
File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 230, in getFont
self.font = ImageFont.truetype(self.fontFile, int(self.size))
File "/usr/lib/python2.7/dist-packages/PIL/ImageFont.py", line 218, in truetype
return FreeTypeFont(filename, size, index, encoding)
File "/usr/lib/python2.7/dist-packages/PIL/ImageFont.py", line 134, in __init__
self.font = core.getfont(file, size, index, encoding)
IOError: cannot open resource
To manage notifications about this bug go to:
https://bugs.launchpad.net/mythbuntu/+bug/1131280/+subscriptions
References