Ratko Jagodic wrote:
Well, try/except is not throwing anything... That's the problem.
There really is no code snipped. It's just that one line, for example
im = wx.Image("corrupted_image.jpg")If the image is corrupted all I get is "Abort" and the program quits.
One possibility, if you don't get a better answer, is to run the image reading code in a separate subprocess, monitored by the server process. When the subprocess dies, the server process will start up another. Use some form of IPC to communicate between the two.
ยทยทยท
--
Don Dwiggins
Advanced Publishing Technology