[gpodder-devel] new version downloads new episodes, but screen empty

  • From: richardvoigt at gmail.com (richardvoigt at gmail.com)
  • Date: Mon, 6 Aug 2007 19:16:36 -0500

>
>
> Probably less a bug than just non-ideal error handling.  Glad to help
> however I can, but I don't know python (ok, I can probably read it if I try,
> but I'm much more at home with C++, perl, C#, tcl, even Java or VB, in
> approximately that order).
>

There's no time to learn like the present, is there?

Anyway, channelsToModel is throwing an exception, but I haven't any idea how
to find out what (I tried making a finally block calling exc_info()
according to some stuff on the web but I think the finally block threw
another exception instead of printing).  At any rate, the "leaving normally"
part never prints:

===================================================================
--- src/gpodder/libpodcasts.py  (revision 362)
+++ src/gpodder/libpodcasts.py  (working copy)
@@ -677,6 +677,7 @@
     new_model = gtk.ListStore( gobject.TYPE_STRING, gobject.TYPE_STRING,
gobject.TYPE_INT, gobject.TYPE_STRING, gobject.TYPE_INT, gobject.TYPE_STRING,
gobject.TYPE_INT, gobject.TYPE_STRING, gtk.gdk.Pixbuf)
     pos = 0

+    log('in channelsToModel, %d', len(channels));
     for channel in channels:
         new_episodes = channel.get_new_episodes( download_status_manager =
download_status_manager)
         count = len(channel)
@@ -715,7 +716,9 @@
             new_model.set( new_iter, 8,
icon_theme.load_icon('applications-internet', iconsize, 0))

         pos = pos + 1
+

+    log('leaving channelsToModel normally');
     return new_model

 def stripHtml( html):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<https://lists.berlios.de/pipermail/gpodder-devel/attachments/20070806/48f931a5/attachment.html>

Other related posts: