Re: [pygtk] where is the control transfered ?

2005-04-13 Thread Christian Reis
On Sun, Apr 03, 2005 at 10:33:22PM +0200, Leeuw van der, Tim wrote: try: # call server except: # Do exception handling Except you don't want to do except: ... ever, but except FooError: ... Always trap specific exceptions, or you will not pass GO

[pygtk] where is the control transfered ?

2005-04-03 Thread Saurabh Wagh
Hey.. I use PyGTK to design a client interface for an application on ZOPE server. I use xmlrpc to get results for queries and display them on screen. However , when theres some error, the zope error is displayed on the shell, and python exits from the callback function which had that xmlrpc