Menu

#3 penguintv doesn't start correctly

v1.0 (example)
closed-fixed
nobody
5
2006-01-22
2006-01-10
No

When launching PenguinTV, all I see is a box. The
interface never finishes loading. If I launch it from
a cmd prompt, I see the following stack trace:

/usr/lib/python2.4/site-packages/penguintv/penguintv.py:895:
GtkWarning: gtk_window_resize: assertion `width > 0' failed

self.app_window.resize(self.conf.get_int('/apps/penguintv/app_window_size_x'),self.conf.get_int('/apps/penguintv/app_window_size_y'))
Traceback (most recent call last):
File "/usr/bin/PenguinTV", line 35, in ?
penguintv.main()
File
"/usr/lib/python2.4/site-packages/penguintv/penguintv.py",
line 1643, in main
app.Show()
File
"/usr/lib/python2.4/site-packages/penguintv/penguintv.py",
line 851, in Show
self.load_settings()
File
"/usr/lib/python2.4/site-packages/penguintv/penguintv.py",
line 917, in load_settings
self.window_preferences.set_player_cmdline(val)
File
"/usr/lib/python2.4/site-packages/penguintv/PreferencesDialog.py",
line 55, in set_player_cmdline
if player_cmdline.startswith(inlist):
AttributeError: 'NoneType' object has no attribute
'startswith'

This can be fixed by the following patch (against the
1.0.1 .tar.gz):

diff penguintv.py penguintv.py.new
914c914
< if type(val) is None:
---
> if val is None:

If val is None at line 914, then type(val) is NoneType
which is never None, so this never picks up the default
value of "totem --enable".

Hope that helps--
/will

Discussion

  • will guaraldi kahn-greene

    • status: open --> closed-fixed
     
  • will guaraldi kahn-greene

    Logged In: YES
    user_id=6175

    I'm closing this. It looks like this was fixed in PenguinTV
    1.0.2.

    /will

     

Log in to post a comment.