RE: Unable to catch Gdk::PixbufError



Sorry for the long wait.

As it turns out, I am the only one with problems on Linux, so I'll leave
it at that.
On windows however, it is reproducable for us. We've found a comment
that might be of use:
http://sourceforge.net/mailarchive/message.php?msg_id=E1IUIrP-0002LO-KC%
40sc8-sf-web21.sourceforge.net
Read the comment by Danny Smith (dannysmith) date: 2007-09-09 13:54.

If you'd like, you could take a look at
https://bugs.launchpad.net/inkscape/+bug/173116 and add your comments,
they are more than welcome.

Thanks,
Johan
 


> -----Original Message-----
> From: Murray Cumming [mailto:murrayc murrayc com] 
> Sent: dinsdag 20 november 2007 19:03
> To: Engelen, J.B.C. (Johan)
> Cc: msameer foolab org; gtkmm-list gnome org
> Subject: RE: Unable to catch Gdk::PixbufError
> 
> 
> On Tue, 2007-11-20 at 18:33 +0100, J B C Engelen ewi utwente nl wrote:
> > Murray Cumming wrote:
> > > On Mon, 2007-11-19 at 23:26 +0200, Mohammed Sameer wrote:
> > > > On Mon, Nov 19, 2007 at 07:59:05PM +0100,
> > > J B C Engelen ewi utwente nl wrote:
> > > > > 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
> > > 
> > > JBC, are you using some strange distro? Gentoo maybe? Are 
> you mixing 
> > > compiler versions?
> > 
> > This is what I also thought. I am using Ubuntu 7.10. I am somewhat 
> > unfamiliar with Ubuntu Linux. Apparantly my g++ version is 4.1.3.
> > 
> > >From the header files I get that I have gtk version 2.12, 
> but I only
> > have /usr/lib/gtk-2.0/2.10.0 ! So something went wrong with 
> installing 
> > gtk?
> 
> No, that should all be fine.
> 
> --
> murrayc murrayc com
> www.murrayc.com
> www.openismus.com
> 
> 


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