On Sat, 28 Jun 2003 10:54:09 -0400
Aubin Paul <[EMAIL PROTECTED]> wrote:

> It looks like a font related crash. The Freevo runtime and recent
> versions of SDL (CVS) have patches to fix this, but they're probably
> not in Gentoo.
> 
> To figure out what the problem is, go to the top of the src/osd.py
> file, and change this line:
> 
> DEBUG = config.DEBUG
> 
> to
> 
> DEBUG = 4
> 
> and then watch the logs. There will be a lot of information, but the
> thing you're looking for is stuff like this:
> 
> OSD: Loading font 
> 
> and then the lines that follow could be sent to the list.
> 
> Aubin
> 
> 
Okay, thanks Aubin.  I changed debug to 4 as suggested.  I assume I dont need to 
rebuild since python is interpreted.  Here is the output.
Logging info in /var/log/freevo/internal-main-0.log
-------------------------------------------------------------------------------
Starting src/main.py:stdin at Sun Jun 29 23:10:43 2003
Logging info in /var/log/freevo/internal-main-0.log
-------------------------------------------------------------------------------
Starting src/main.py:stderr at Sun Jun 29 23:10:43 2003
Loading configure settings: /root/freevo.conf
Reading config file /root/freevo.conf
Cfg file data: "chanlist = us-cable"
Cfg file data: "display = mga"
Cfg file data: "geometry = 768x576"
Cfg file data: "jpegtran = /usr/bin/jpegtran"
Cfg file data: "mplayer = /usr/bin/mplayer"
Cfg file data: "tv = pal"
Cfg file data: "version = 1.0"
Cfg file data: ""
Error parsing config file data ""
Loading cfg: ./freevo_config.py
Using MPlayer: /usr/bin/mplayer
Loading cfg overrides: /root/local_conf.py
ROM_DRIVES: Auto-detected and added "('/mnt/cdrom', '/dev/cdroms/cdrom0', 'CD-1')"
ROM_DRIVES: Auto-detected that /dev/hda is the same device as /dev/cdroms/cdrom0, 
skipping
Imported skin skins/main1/skin_main1.py
Skin: Loading XML file blue_round1
OSD: Loading font "skins/fonts/Arial_Bold.TTF"
ERROR: XML file corrupt
Traceback (most recent call last):
  File "skins/main1/xml_skin.py", line 779, in load
    font[f].prepare(self._color)
  File "skins/main1/xml_skin.py", line 558, in prepare
    self.h = osd.stringsize('Ajg', self.name, self.size)[1]
  File "src/util.py", line 492, in __call__
    return self.__method(self.__obj, *args, **kwargs)
  File "src/osd.py", line 1166, in stringsize
    size_w_tmp, size_h_tmp = self.charsize(string[i], font, ptsize)
  File "src/osd.py", line 1153, in charsize
    self.stringsize_cache[font][ptsize][char] = self._stringsize(char,font,ptsize)
  File "src/osd.py", line 1185, in _stringsize
    f = self._getfont(font, ptsize)
  File "src/osd.py", line 1334, in _getfont
    font = pygame.font.Font(filename, ptsize)
IOError: unable to read font filename
skin not found, using fallback skin
OSD: Loading font "skins/fonts/Arial_Bold.TTF"
ERROR: XML file corrupt
Traceback (most recent call last):
  File "skins/main1/xml_skin.py", line 779, in load
    font[f].prepare(self._color)
  File "skins/main1/xml_skin.py", line 558, in prepare
    self.h = osd.stringsize('Ajg', self.name, self.size)[1]
  File "src/util.py", line 492, in __call__
    return self.__method(self.__obj, *args, **kwargs)
  File "src/osd.py", line 1166, in stringsize
    size_w_tmp, size_h_tmp = self.charsize(string[i], font, ptsize)
  File "src/osd.py", line 1149, in charsize
    self.stringsize_cache[font][ptsize][char] = self._stringsize(char,font,ptsize)
  File "src/osd.py", line 1185, in _stringsize
    f = self._getfont(font, ptsize)
  File "src/osd.py", line 1334, in _getfont
    font = pygame.font.Font(filename, ptsize)
IOError: unable to read font filename
Traceback (most recent call last):
  File "src/main.py", line 101, in ?
    menuwidget = menu.get_singleton()
  File "src/menu.py", line 91, in get_singleton
    _singleton = MenuWidget()
  File "src/menu.py", line 199, in __init__
    GUIObject.__init__(self)
  File "src/gui/GUIObject.py", line 116, in __init__
    self.skin_info                 = self.skin.GetPopupBoxStyle(self)
  File "skins/main1/skin_main1.py", line 365, in GetPopupBoxStyle
    layout = settings.popup
AttributeError: XMLSkin instance has no attribute 'popup'



Mark


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to