I was geting the following crash on chapter selection on movies:

Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/freevo/eventhandler.py", line 335, in h
andle
    elif not self.applications[-1].eventhandler(event=event):
  File "/usr/lib/python2.3/site-packages/freevo/menu.py", line 539, in eventhand
ler
    actions[0][0](menuw=self)
  File "/usr/lib/python2.3/site-packages/freevo/menu.py", line 109, in select
    self.function(arg=self.arg, menuw=menuw)
  File "/usr/lib/python2.3/site-packages/freevo/video/configure.py", line 170, i
n subitem_selection_menu
    fxd_file=item.skin_fxd)
TypeError: __init__() got an unexpected keyword argument 'fxd_file'


I fixed it with the following patch:

--- /root/freevo/src/video/configure.py 2005-01-01 14:47:53.000000000 -0400
+++ configure.py        2005-01-19 22:07:03.606103616 -0400
@@ -167,7 +167,7 @@
         menu_items += [ menu.MenuItem(_('Play chapter %s') % (pos+1),
                                       subitem_selection, (arg, pos)) ]
     moviemenu = menu.Menu(_('Chapter Menu'), menu_items,
-                          fxd_file=item.skin_fxd)
+                          theme=item.skin_fxd)
     menuw.pushmenu(moviemenu)


Thanks
--Andrew


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to