pyspi [Bug 468636] throws corba errors from getChildAtIndex



If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=468636

  pyspi | general | Ver: CVS HEAD




------- Comment #1 from Cole Robinson  2007-08-20 19:53 UTC -------
Created an attachment (id=94016)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=94016&action=view)
Catch the offending exception and continue as though the call failed.

The attached patch is a workaround for the problem: it catches the exception
being thrown and sets the child object to NULL. This essentially causes the
scan to skip this entry. sniff works fine after this patch is applied and
built.

This probably isn't the nicest way to go about it, but it makes things work!


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=468636.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]