Re: Unable to catch Gdk::PixbufError



On Mon, Nov 19, 2007 at 07:59:05PM +0100, J B C Engelen ewi utwente nl wrote:
> > -----Original Message-----
> > From: Murray Cumming [mailto:murrayc murrayc com] 
> > Sent: maandag 19 november 2007 19:55
> > To: Engelen, J.B.C. (Johan)
> > Cc: msameer foolab org; gtkmm-list gnome org
> > Subject: RE: Unable to catch Gdk::PixbufError
> > 
> > > To build Inkscape:
> > > There are quite a lot of dependencies that must be resolved, please 
> > > look on our wiki: 
> > http://wiki.inkscape.org/wiki/index.php/CompilingInkscape.
> > > When you have troubles join in on our channel :) 
> > > http://www.inkscape.org/discussion.php?lang=en
> > > 
> > > Thank you very much for having a look at it.
> > 
> > You'll have to tell us how to trigger that code. For 
> > instance, what menus/buttons to press in the UI.
> 
> Ah ofcourse, sorry. Run Inkscape, and open the "file"->"open..." dialog.
> The code tries to show a preview of the selected file in the file
> dialog. Selecting an invalid file (e.g. a 0 byte .jpg file) will throw
> the exception that is not caught.


The only problem is I couldn't reproduce it!!
I did touch /tmp/foo.jpg

But the exception was caught:
** Message: Gdk::PixbufError in SVGPreview::showImage

I'm using debian lenny (Testing).

-- 
GPG-Key: 0xA3FD0DF7 - 9F73 032E EAC9 F7AD 951F  280E CB66 8E29 A3FD 0DF7
Debian User and Developer.
Homepage: www.foolab.org

Attachment: signature.asc
Description: Digital signature



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